attest is a trust layer for AI agents, primarily addressing the problem that after an agent calls an external tool or another agent, the foreign artifact it receives goes directly into context without anyone verifying it: whether the artifact conforms to the declared schema, whether it carries hidden instructions, whether it is a base64 wrapper of hidden instructions, and whether it was altered after inspection.
The main capabilities are divided into four layers, each answering only its own question:
- Form and emptiness (emptiness.py): checks whether the artifact actually says anything, identifying seven measurable signals, such as identical list items, placeholder values, output truncated at the token limit, only whitespace strings and empty collections, low-diversity repetition, required fields left at schema defaults, and enum fields stuck at the first value. It returns VALID_BUT_EMPTY, THIN_CONTENT, or CONTENT_PRESENT, and explains where and why each signal appears.
- Generation conditions (generation.py): binds the model, version, prompt, parameters, timestamp, and executor into a chain_hash, and places it inside the signature; it distinguishes four states: unconditional, claims binding but cannot provide conditions, provides conditions but there is no binding in the signature, and conditions do not match.
- Verification without trusting a service provider (signing.py): uses Ed25519, with the public key passed along with the proof, and the verifier checks it itself, with no network, no package from this project, and no key required.
- Authority (authority.py): determines whether an action is permitted, with rules consistent with drift.check, covering amount, payee, audience, currency, time window, and intent; absence of authorization is treated as denial, not consent.
Usage: the project is an MCP server that exposes tools over Streamable HTTP (JSON-RPC 2.0), including verify_artifact (verifies a single artifact and returns a verdict, trust score, and findings), verify_artifact_batch (batch verification with a summary), and bridge_check (settles paid work between two agents through a hosted bridge, optional, listed only on nodes configured with a hosted bridge). MCP resources and prompts are not yet provided, and the list returns empty. The free tier allows 5 checks per client per day; beyond that, it returns HTTP 402 with x402 payment terms; pay-per-use with PAYMENT-SIGNATURE or prepaid with X-ATTEST-ENTITLEMENT is available.Key continuation. The repository also provides a GitHub Action and a local command-line check; exit code 0 means all accepted, 1 means rejected or error, and 2 means no match.
Proof of Place (pop/1): generates a signed report for a single physical site; the JSON is canonicalized using RFC 8785 (JCS) and signed with Ed25519, and verifiers need no network, account, or server. The report includes matched items, mismatched items, and items that could not be checked; coordinate tolerance is 500 meters and time tolerance is 2 hours; when there is no independent source, the independent layer is written as not_available, and a photo-only report is at most partial.
Use cases: artifact verification in agent tool-call chains, batch scan report verification, settlement of paid work between agents, and physical site verification reports. Limitations: the free quota is limited; some capabilities depend on hosted nodes; pop/1 does not prove GPS authenticity or ownership; no signal from the vacuity check does not mean the content is meaningful. The project is open source under the Apache-2.0 license, and the hosted node is the production environment.