Swarrm — signed receipts + transparency log + offline verification for AI agent actions
Project description
Swarrm
Signed receipts, a tamper-evident log, and offline verification for what AI agents do.
Every action an AI agent takes — a model call, a tool run, a refund, a payment — becomes a signed receipt in an append-only, tamper-evident log (RFC 6962 Merkle tree, Ed25519 / DSSE). Any set of receipts exports as a self-contained evidence bundle that anyone you share it with can verify offline — no account, no server, no trust in you or in Swarrm. Payloads stay in your environment; the log holds hashes and operational metadata, never the content.
Ordinary application logs are editable, so they are testimony, not evidence. These records are verifiable: flip a single byte and the bundle fails.
Status
Beta. The evidence log is solid; the higher assurance layer is withdrawn pending rebuild.
What is genuinely proven, offline, today — this part is the product's foundation and it holds up: signed receipts, canonical (RFC 8785) encoding, RFC 6962 Merkle inclusion and consistency, checkpoint and key-log validation, hostile-input limits, and base evidence-bundle verification — all independently implemented twice (Python here, Rust in the open swarrm-verify repo) and pinned by a shared adversarial fixture suite. Flip one byte and the bundle fails.
What is withdrawn (an internal audit on 2026-08-03 found these could be derived from a subject's own declarations rather than from verified proof, so they are disabled rather than shipped weak):
- the
Swarrm Verifiedmark — it read declaration-derived inputs, so a subject could award it to itself; it now rendersUNMARKED_ASSURANCE_WITHDRAWN; - the E2/E3 assurance badges in offline reports — anchor transactions are never checked against a chain and the RFC 3161 certificate chain travels inside the bundle, so neither was independent of the subject. Anchors and timestamps are now shown as claims. E1 is unaffected and real;
- the "qualified" timestamp label — it was an unsigned producer boolean, not derived from an EU trusted-list root;
- B28 counterparty assurance (agent-to-agent handshake) — it had
unauthenticated
PASSroutes and can no longer returnPASSat all.
Claims ≤ mechanism: anchoring runs on a public staging chain (Base Sepolia), timestamps are non-qualified, and no external security audit or paid production deployment has been completed. Use this today as a tamper-evident flight recorder you can verify offline — not as a third-party assurance mark.
Quickstart
pipx install swarrm # Python 3.11+ (or: pip install swarrm)
swarrm demo # synthetic agent traffic → receipts → bundle → VERIFIED
swarrm verify demo_out/bundle.json # the demo flips one byte → NOT VERIFIED
Two minutes, no account, fully local. One config knob — EVD_PROFILE=dev|trial|edge
— sets every default; swarrm doctor prints what's effective and whether it is
actually recording. The CLI is one word: up (dev stack), demo,
verify BUNDLE, wrap -- CMD (capture an MCP tool), node, incident,
status, doctor.
Verify it yourself — offline, and open
swarrm verify <bundle.json> checks a bundle entirely locally. So does the
in-browser verifier at swarrm.ai/verify —
client-side, nothing leaves the page.
The verifier is open source and independent: a second implementation in Rust
(github.com/capxholding/swarrm-verify,
Apache-2.0) that must agree with this package's Python verifier on a shared
adversarial fixture suite. Two implementations, one answer — the verdict does not
depend on trusting a single codebase. The normative wire-format specifications
(evd/*) are published openly in that repository.
The evidence ladder
Each receipt carries the assurance it has actually earned:
- E0 — signed. The receipt exists and is intact, signed by a known key.
- E1 — in the log. Included in an append-only, checkpointed log; it cannot be silently altered or dropped. This is what the offline verifier proves today.
- E2 — anchored. Withdrawn from offline reports pending rebuild. The intent: the checkpoint is committed to a public chain and independently timestamped (RFC 3161). The problem: offline verification never checked the transaction against a chain, and the RFC 3161 certificate chain travels inside the bundle — so both rested on material the subject supplies. Anchors and timestamps still appear, labelled as claims.
- E3 — co-signed. Withdrawn from offline reports pending rebuild — the second signature verifies against keys carried in the same bundle, which does not establish that the co-signer is an independent counterparty.
Re-enabling E2/E3 means verifying against trust roots supplied independently of the bundle (a known chain endpoint, a known TSA/trusted-list root, a known counterparty key). That work is in progress; until then the honest claim is E1.
What's in the package
The cryptographic log and receipts; capture surfaces (proxy, recorder, MCP wrapper, SDK, OpenTelemetry); L2 anchoring + RFC 3161 timestamping; the offline verifier; evidence-report rendering; and an out-of-path Evidence Node for independently reading an authoritative source. The wire-format specifications and the second independent verifier are open source (Apache-2.0) in the swarrm-verify repository.
License
The swarrm package is proprietary — © 2026 Capx Holding, all rights reserved.
The published wire-format specifications and the independent verifier are
Apache-2.0.
Homepage: swarrm.ai
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarrm-1.0.2.tar.gz.
File metadata
- Download URL: swarrm-1.0.2.tar.gz
- Upload date:
- Size: 246.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4102530a1480268b6d56fb040d636defad12773d09901b5984cb4532f82a7fad
|
|
| MD5 |
be5f0739105993bacd412f539c5a021d
|
|
| BLAKE2b-256 |
38b919f296f0bd2f332b591b446487be999dea1e337d28384861422873ee7321
|
File details
Details for the file swarrm-1.0.2-py3-none-any.whl.
File metadata
- Download URL: swarrm-1.0.2-py3-none-any.whl
- Upload date:
- Size: 280.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91cdd058e3ef31443f59f284b0adc4cce1e6e40343fcb4c2e263957d4f84cdf8
|
|
| MD5 |
ec1717a1a70988d9b89821b749dadc98
|
|
| BLAKE2b-256 |
8fab0bd7a6d8e9b84f5e7b1ce9e596e128638491909b95c4ff926b60ed387cd1
|