YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
AGENTOS
SOVEREIGN COMPUTE ORCHESTRATION HOST β THE SUBSTRATE THAT HOLDS THE SWARM TOGETHER.
agentos is the production repository for the SnapKitty Agent OS: the packaging, runtime,
policy, and CI fabric that wraps the constellation of sovereign-compute repos. It hosts the
Sovereign Daemon (Go), the agentos-frontend (Next.js operator console), Nix
reproducible build modules, Prolog trust/policy gates, SBOM + WORM verification scripts,
and the GitHub Actions pipelines that gate every merge. The AGENTS.md in this repo is the
canonical articulation of the Agent OS philosophy β inverted skills memory, the P/NP swarm,
and the Bifrost WORM trust root.
OVERVIEW
| Aspect | Value |
|---|---|
| Operator | Ahmad Ali Parr Β· SnapKitty Collective |
| Trust Root | Bifrost WORM Chain (audit 4b565498-9afc-4782-af4a-c6b11a5d0058) |
| Logic Layer | TypeScript / WASM (deterministic, verifiable) |
| Solving Model | P/NP Swarm β claim β solve β submit β verify β converge |
| License | Apache-2.0 |
WHAT IT IS
agentos is not an agent framework β it is the repo-as-substrate. Every other SnapKitty
repo (resonance-math, qec-discovery, math-skills, prism-skills, axiom-proof, β¦) is a solver
node that plugs into this constellation. This repo supplies the shared infrastructure:
- Sovereign Daemon (
src/sovereign-daemon, Go) β a lightweight service exposing/v1/env/validate,/v1/pipeline/execute,/v1/artifact/sign,/v1/daemon/status, and model-catalog endpoints (/v1/ollama/models,/v1/vllm/models) over a Unix socket and localhost:8080. It is the runtime spine that validates environments and signs artifacts. - agentos-frontend (Next.js 14 + React 18 + Tailwind) β the operator console that renders the sovereign state, memory buckets, and swarm status to humans.
- Nix modules (
nix/) β reproducible packaging:bifrost.nix,daemon.nix,prolog.nix,gitbash-meta.nix, thesovereign-overlay.nix, and thesnapkitty-daemon/snapkitty-installerpackages. - Prolog policies (
policies/) β executable trust + supply-chain gates:trust_deed.pl(who is trusted),snapkitty_bom.pl(the Bill of Materials module that emits JSON for the MSYS2/MinGW/swi-prolog runtime), andpipeline_policy.pl. - Scripts (
scripts/) βbuild-all.sh,generate-sbom.sh,verify-worm.sh. - Workflows (
workflows/) βverify.yml,extract.yml,pnp_verify.yml,audit.yml.
ARCHITECTURE / COMPONENTS
agentos/
βββ src/sovereign-daemon/ # Go daemon: env validate, pipeline execute, artifact sign, model catalogs
β βββ main.go # HTTP + unix-socket server, /v1/* endpoints
β βββ go.mod
βββ agentos-frontend/ # Next.js 14 operator console (React 18, Tailwind 3, TS 5)
β βββ pages/index.html
β βββ app/ css/ js/ data/ # UI source, metadata.json
β βββ package.json
βββ nix/ # Reproducible Nix packaging
β βββ lib/bom.nix
β βββ modules/{bifrost,daemon,prolog,gitbash-meta}.nix
β βββ overlays/sovereign-overlay.nix
β βββ packages/{snapkitty-daemon,snapkitty-installer}/default.nix
βββ policies/ # Prolog trust + supply-chain gates
β βββ trust_deed.pl # deed_trusted/1 facts
β βββ snapkitty_bom.pl # SWI-Prolog BoM module β JSON
β βββ pipeline_policy.pl
β βββ metadata.json
βββ scripts/ # build-all.sh, generate-sbom.sh, verify-worm.sh
βββ docs/ # Generated static docs (html/js/css)
βββ dotfiles/ # .bashrc.d + home dotfiles for sovereign env
βββ tests/agentos.test.mjs # Node test suite (plasma gate, skills, pnp verifier)
βββ workflows/ # verify / extract / pnp_verify / audit CI
βββ AGENTS.md # Canonical Agent OS spec (P/NP swarm, inverted skills)
βββ package.json # npm scripts: verify:all, context:bootstrap, pnp:*
βββ LICENSE # Apache-2.0
HOW IT FITS THE CONSTELLATION
agentos is the trust + delivery core of the sovereign-compute constellation:
- Bifrost WORM Chain β the audit anchor (
4b565498β¦) that every sealed artifact, memory bucket, and theorem references.scripts/verify-worm.shexpresses the WORM verification contract this repo enforces across sibling repos. - Plasma Gate / Ed25519 β
verify:plasmaand the test suite assert the Ed25519-enforced gate before any artifact is trusted;metadata.jsonfiles across the org carry"plasma_gate": "Ed25519_Enforced". - P/NP Swarm β
pnp_verify.ymlruns the P-time verifier over anysolution_poolpush. Agents claim problems, compute NP-hard witnesses, and the repo verifies in deterministic P-time before a problem converges and the universe-sum advances. - Inverted Skills Memory β the
AGENTS.mddefines skills as sealed GitBucket memories with averifyFn, not code; the test suite (tests/agentos.test.mjs) exercisesloadSkill,verifySkills, and the ledger/borrow skills. - 3-witness verification β trust is established by Plasma Gate (Ed25519) + P/NP
verifier + skill seal.
Ξ© β TRUST β§ CODE: a node is trustworthy only when the cryptographic gate and the verified code agree.
BUILD / USAGE / INSTALL
# Node tooling (verification gates, context, swarm client)
npm ci
npm test # agentos.test.mjs β plasma gate, skills, pnp verifier
npm run verify:all # plasma + pnp + skills + apl/fortran source checks
npm run context:bootstrap # load GitBucket memories into local index
# Sovereign Daemon (Go)
cd src/sovereign-daemon && go run . serve --socket /run/user/1000/snapkitty.sock
# β listens on unix socket + http://localhost:8080 (env validate, pipeline, sign, status)
# Frontend console (Next.js 14)
cd agentos-frontend && npm install && npm run dev # http://localhost:3000
# Reproducible Nix build
nix build .#snapkitty-daemon
nix build .#snapkitty-installer
# Supply chain + WORM
bash scripts/generate-sbom.sh
bash scripts/verify-worm.sh
KEY FILES REFERENCE
| File | Purpose |
|---|---|
src/sovereign-daemon/main.go |
Sovereign Daemon: /v1/* endpoints, env/pipeline/sign/status + model catalogs |
agentos-frontend/package.json |
Next.js 14 operator console dependency set |
nix/modules/bifrost.nix |
Bifrost WORM trust-root Nix module |
nix/modules/daemon.nix |
Daemon packaging module |
policies/snapkitty_bom.pl |
SWI-Prolog Bill-of-Materials module β JSON |
policies/trust_deed.pl |
Trusted-operator/deed facts for the pipeline gate |
scripts/verify-worm.sh |
WORM chain append-only verification contract |
workflows/verify.yml |
CI: npm ci β test β verify:all on push/PR |
workflows/pnp_verify.yml |
CI: P-time verification of P/NP solution pool pushes |
workflows/audit.yml |
Scheduled full audit (build + verify:all + bootstrap) |
AGENTS.md |
Canonical SnapKitty Agent OS spec (P/NP swarm, inverted skills) |
package.json |
npm scripts: verify:all, context:*, pnp:*, swarm |
LICENSE
Apache-2.0. Authored by Ahmad Ali Parr Β· SnapKitty Collective Β· the-49th-call SNAPKITTYWEST Β· 2026.