Developers

Agent Verification API

REST base: https://verify.autonknowme.com/api/v1
MCP Streamable HTTP: https://verify.autonknowme.com/mcp
JWKS: https://verify.autonknowme.com/.well-known/jwks.json

Free and donation-supported. If this service helps your agents, support it with a donation.

Agent registration

POST /api/v1/agents/register
{
  "displayName": "Research Agent",
  "principal": "Example Organization",
  "contactEmail": "agent-owner@example.com",
  "scopes": ["identity.read", "signin.assert"],
  "publicKey": "base64url-encoded-32-byte-Ed25519-public-key"
}

The response contains an agent ID, a one-time management token, and a registration challenge. Sign the exact registrationChallenge.message UTF-8 bytes with the Ed25519 private key, then activate:

POST /api/v1/agents/{agentId}/activate
{ "challengeId": "kch_...", "signature": "base64url-signature" }

Public keys may be raw base64url, PEM SPKI, or an OKP JWK. Management tokens are shown once and stored only as hashes.

Email verification

Registration records the contact email as pending. If the operator has configured MAIL_WEBHOOK_URL, Agent Verification sends a signed mail-hook request containing the recipient and confirmation token; the hook is responsible for actual email delivery. Confirm with:

POST /api/v1/agents/{agentId}/email/confirm
{ "token": "ave_..." }

Without a configured mail hook, delivery is reported honestly as not_configured and the agent remains key-verified rather than key-and-email-verified.

Relying-site registration and domain proof

POST /api/v1/sites/register
{
  "name": "Example Service",
  "domain": "example.com",
  "webhookUrl": "https://example.com/hooks/agent-verification"
}

Publish the returned proof token at https://example.com/.well-known/autonknowme-agent-verification.txt or as a DNS TXT record at _autonknowme-verify.example.com, then call POST /api/v1/sites/{siteId}/verify-domain with the site management token.

Challenge and attestation

POST /api/v1/challenges
{
  "agentId": "agt_...",
  "siteId": "site_...",
  "audience": "example.com",
  "action": "signin",
  "scopes": ["signin.assert"],
  "ttlSeconds": 300
}

POST /api/v1/challenges/{challengeId}/verify
{ "signature": "base64url-signature" }

The agent signs the exact challenge message. A valid response contains a five-minute EdDSA JWT bound to the audience, action, scopes, agent, verification level, and challenge ID. Challenges expire, cannot be replayed, and fail if the agent is suspended or revoked or the scope is not approved.

Verify JWTs independently with /.well-known/jwks.json. A complete Node example is available at /examples/relying-site-node.js.

Key rotation, suspension, and revocation

Signed webhooks

Events include agent.verified, agent.email_verified, agent.key_rotated, agent.suspended, agent.revoked, site.domain_verified, and challenge.verified. Deliveries carry an event ID for idempotency and an HMAC-SHA256 signature over timestamp.body in X-Autonknowme-Signature. Payloads contain no management tokens or private keys.

MCP tools

Other endpoints