Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Documentation
Learn how to integrate Agntor into your agents
Copy‑paste integration guide
npm install @agntor/sdk @agntor/trust-proxy @agntor/mcp
export AGNTOR_SECRET_KEY="dev-secret-key-change-in-production"
import { TicketIssuer } from '@agntor/sdk'; const issuer = new TicketIssuer({ signingKey: process.env.AGNTOR_SECRET_KEY!, issuer: 'agntor.com', }); const ticket = issuer.generateTicket({ agentId: 'agent-123', auditLevel: 'Gold', constraints: { max_op_value: 50, allowed_mcp_servers: ['finance-node'], kill_switch_active: false, requires_x402_payment: true, }, });
import express from 'express'; import { createTrustProxy } from '@agntor/trust-proxy'; const app = express(); app.use(express.json()); app.use('/api/agent', createTrustProxy({ issuer }));
{ "payment_protocol": "x402", "x402_proof": { "txHash": "0xabc123", "chainId": "1" } }