Quickstart
From nothing to a verified AITP handshake in three commands, then on to your own peer.
Hello world
Install the CLI, enroll a key with the public interop peer, and complete a real handshake with it. aitp echo hands back the Trust Context Token the peer issued, with proof of possession.
cargo install aitp-cliaitp enroll https://interop.agentidentitytrustprotocol.ioaitp echo https://interop.agentidentitytrustprotocol.ioThis block is copied from the aitp-rs README, whose readme-smoke workflow runs it daily against the public peer. The CLI guide covers the other commands.
Run your own peer
Add AITP to your agent in the language it is written in:
cargo add aitp # Rust library (crates.io)npm install @agentidentitytrustprotocol/aitp # Node SDK (npm)pip install aitp-sdk # Python SDK (PyPI)The aitp crate is the protocol surface, with the HTTP client on by default. aitp serve --interop runs a copy of the interop peer itself (the CLI's serve feature), and the two-agent demo in the repository runs a full handshake locally. Start at the reference implementation and the interop peer guide.
Verify in the browser
aitp-verifier-ts is an independent verifier written from the RFCs. It has no runtime dependencies: all cryptography is WebCrypto, so it runs in browsers, Node, Deno and Bun.
npm i @agentidentitytrustprotocol/verifierimport { parseJson, systemNow, verifyEnvelope } from "@agentidentitytrustprotocol/verifier";// parseJson rejects duplicate keys, which JSON.parse silently accepts.const envelope = await verifyEnvelope(parseJson(message), { now: systemNow() });Every verifier takes the current time and its trust inputs as arguments, and every failure throws an error carrying a registry error code.
Get a conformance badge
Run the spec's conformance fixtures against your implementation and publish the report from your CI. The conformance matrix shows a claim, and a badge, only when the report's gate for it passed. The report format and the rules are in Conformance reports and badges.