ATP CORE · EXAMPLES

Start small. Build across systems.

ATP complements agent interaction protocols and frameworks by adding portable identity and trust evidence around them. These examples point to the canonical implementation.

WORKING ENTRY POINTS

Use Node.js 24 LTS and Git for the repository examples. Copy a card’s commands, open your terminal, and run them in a fresh directory. Your browser does not execute local shell commands.

POLICY · RUN A REAL EXAMPLE

See an allowed and blocked action

A permitted fixture read runs; approval-required and denied callbacks stay blocked. Uses the published profile evaluator, with no account or model API key. Session completion is not mandate revocation.

Run the action-boundary demo →
git clone https://github.com/agent-trust-protocol/atp-core.git
cd atp-core/examples/action-boundary
npm ci
npm start
Runs locally in your terminal.

SDK · START HERE

Create standalone agent identity material

Install atp-sdk and create local, ephemeral identity material without an ATP account. This does not make the DID publicly resolvable.

SDK quickstart →
mkdir my-atp-sdk
cd my-atp-sdk
npm init -y
npm install atp-sdk@2.2.1
node --input-type=module -e "import { Agent } from 'atp-sdk'; const agent = await Agent.quickstart('MyBot'); console.log(agent.getDID()); console.log('Standalone:', agent.isStandalone());"
Runs locally in your terminal.

CLI · STARTER

Scaffold an agent project

Generate a starter and open its local configuration screen. The screen saves settings; it does not mint keys or enforce policy. Stop it with Ctrl+C, then run npm start inside the generated project.

CLI guide →
npx create-atp-agent@1.3.3 my-agent
Runs locally in your terminal.

TESTING · AVAILABLE COVERAGE

Inspect conformance behavior

Run the available suites from a repository checkout after installing dependencies. Passing does not certify every draft capability.

Conformance runner →
git clone https://github.com/agent-trust-protocol/atp-core.git
cd atp-core
npm ci
npm run conformance
Runs locally in your terminal.

INTEGRATE ANYWHERE

Bring your own protocol.

Use ATP with MCP, A2A, ANP, ADK, and agent frameworks. An integration example describes a possible binding; check its repository status before relying on it in production.

Explore integrations →

LEGACY / OPTIONAL

OpenClaw adapter

OpenClaw remains a legacy optional adapter example. It is not a required ATP Core dependency or the starting point for new integrations.

View adapter context →

Community Group drafts are not W3C Standards. Examples and implementation coverage may differ from the evolving specifications.