Tamper-evident, offline-verifiable receipts for AI-assisted decisions.
pip install aetos-verify Copy PIP instructions
Before adding benchmark or accuracy claims, read docs/S0-reproduction-report-*.md and docs/coordination/AGENTS.md first. Rule-layer anchors, re-measured on main at 2d680f6 (2026-11-19): heldout-1 = 27/39 = 69.2% | heldout-2 = 30/61 = 49.2% | dev = 124/133 = 93.2% | corpus 3 = 20/158 = 12.7%. Of heldout-2, 6 checks come from D28; without D28 the result is 24/61 = 39.3%. The previous branch-only warning is obsolete: these values are present on main. Re-measure with benchmarks/check_anchor_drift.py.
Apache-2.0 · Self-hosted first · No cloud account required
git clone https://github.com/bitak258/aetos cd aetos make bootstrap # ~2.5 min on a cold venv Distribution name. The import package is aetos; the installable distribution is aetos-verify. You can now install it directly from PyPI:
pip install aetos-verify Note: The name aetos on PyPI belongs to OpenStack's Prometheus reverse proxy, so pip install aetos installs a different project. Always use aetos-verify.
✓ bootstrap complete. Next: make verify, make test, or open docs/. PASS: seed pack verified offline. You now have an Ed25519-signed, hash-chained decision pack at seed/pack_valid.json. To see the verifier reject a one-bit tampering, run the in-process probe:
import json from aetos.interfaces.verifier.verify_pack import verify_pack for issue in verify_pack(json.load(open("seed/extras/pack_tampered.json"))).issues: print(issue.code, "—", issue.message) # IssueCode.HASH_MISMATCH — event 1 stored hash does not match the canonical chain_hash … That's the entire pitch.
A small, focused library that records what your agent decided, under whose authority, and signs the line. When the auditor, the customer's compliance officer, or your future self asks "did this happen, and who approved it?", you hand them a single JSON file. They verify it on their own machine in five minutes, without contacting any AETOS server.
from aetos.guard import guard @guard(policy=my_policy) def run_agent(prompt): return crew.kickoff(prompt) result, signed_receipt = run_agent("deploy to staging") # signed_receipt.signature is an Ed25519 sig The gate decides: ALLOW → EXECUTED receipt · DENY → blocked · NEED_HUMAN → real human must sign off. See demo_guard.py.
make verify # exit 0 = PASS, exit 1 = FAIL with named issue The verifier needs only the pack JSON and a copy of the actor's public Ed25519 key (both shipped inside the pack). No HTTP. No trust in the operator's infrastructure. Run it on an air-gapped machine; it still works.
from aetos.interfaces.verifier.build_pack import build_pack pack = build_pack( decision, events, actor_keys, exported_by="my-team", exported_at="2026-09-02T00:00:00Z", ) open("audit.json", "w").write(json.dumps(pack, indent=2)) Hand audit.json to your auditor. They run aetos-verify. Done.
What the seal covers, and what it does not. The seal is over the audit chain, the decision body, the export identity and the producer block — not over the file. Covered: every audit_chain event (its payload, actor, occurred_at, hash, signature and signing_key_id), decision in full, including title, facts, evidence and recommendation, the export identity (metadata.exported_at and metadata.exported_by, each compared against the value sealed by the signed attestation event), and the producer block (provider.provider, provider.model and provider.model_revision, compared field by field against the sealed copy). Not covered: version, metadata.aetos_version, keys. .key_id and keys. .algorithm. All four can be edited without the verifier noticing, so read them as provenance claims by whoever exported the pack, not as evidence. The boundary is measured field by field, and the measurement is the source of docs/sales-assets/WARRANTY-SCOPE.md.
What the verifier does not check (admitted honestly in SECURITY.md): trusted OS clock, quantum-safe primitives, whether the operator had authorisation in the first place. The verifier certifies that what the operator said happened, happened; not that it was a good idea for it to have happened.
Numbers above are the live state on main, and each one is re-derived from the gate it names by tests/unit/test_readme_numbers_are_measured.py — so a stale figure fails the commit instead of waiting for someone to notice it.
ollama-model.lock.json records the manifest digest of the model the demos and the timings were produced against, and scripts/check_ollama_pin.py compares it with what the local daemon actually serves:
python3 scripts/check_ollama_pin.py # exit 0 only on an exact match A tag can be re-pushed, so qwen2.5:3b is not an identity: two machines can hold that name over different weights and both look correct. The pin is what makes a timing comparison a comparison of one thing. It is a preflight for the runs whose numbers are meant to be comparable -- demos, benchmarks, a release measurement -- and deliberately not a startup gate, because a service that refuses to boot because a model server is down turns an unavailable dependency into an outage.
One full pass of the pipeline over the 30-case corpus, runs=3 (the product default), against the pinned digest ac705925abde, measured 2026-10-18:
99.98% of the time is the model call. Everything AETOS runs after the model answers -- JSON parsing, agreement validation, evidence detection -- totals 0.43 s across all 30 cases, about 14 ms per case. An optimisation effort aimed at this pipeline would be optimising the wrong 0.02%.
python3 benchmarks/bench_pipeline_timing.py --out baseline.json The run refuses to start unless the daemon serves the pinned digest, so a second run is the same instrument pointed at the same thing. The script prints medians and a nearest-rank p95, and applies no significance test: n=30 on one machine can see a doubling and cannot resolve ten percent.
Two limits on the claim, stated rather than hidden. First, benchmarks/ does not ship in the kit, so this is a figure you are taking on trust, not one you can re-run from the artefact -- the pin fixed what was measured, not who may measure it again. Second, this is one machine (bita, 12 cpus, Python 3.12.3) and one model; the p95 sits at 2.3x the median, so the tail is the thing to watch, not the middle. What it does say firmly: per-decision latency here is the model's, and it is local -- no API call, no queue, no egress.
interfaces/ ← CLI · HTTP API · @aetos.guard · verifier · exporter infrastructure/ ← Ollama · OpenAI · Anthropic · SQLite · Ed25519 application/ ← services · ActionPolicy · ActionGate · AgentService domain/ ← Decision · Facts · Values · Ports (zero I/O) Clean Architecture is enforced by import-linter, not by honour. Domain has zero I/O. The six contracts in pyproject.toml [tool.importlinter.contracts] will break the build if violated.
The full long-form roadmap and the five Golden Pillars are ratified in VISION.md.
Apache-2.0. The verifier will not become a paid feature. See the core trust layer free, operational convenience paid commitment in VISION.md.
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




