Skip to content
Docs Overview

Agent Passport Documentation

Source-backed documentation for the v1.0 OSS release. Start with a task path, then use the reference documents for implementation and operations detail.

Just want to run it? Skip to the root Start with the project overview, then follow the quickstart.

Start here

GoalRead
Run locallyRoot quick start
Five-minute setupQuickstart
Call the APIAPI reference, OpenAPI contract
Install an SDKSDK guide, TypeScript package, Python package
Understand decisionsConcepts, Known limitations
Deploy and operateOperations, Architecture
Self-host itSelf-hosting
Review securitySecurity, Known limitations
Contribute or releaseContributing, Support policy, Release checklist

Documentation map

GuideWhat's in itRead when…
Architecture guideSystem design, middleware stack, request lifecycle, smart contracts, caching, data flow, scalingOnboarding a new contributor; reviewing the system before deploying
API referenceHTTP endpoint reference, error codes, health/readiness, x402 pricingIntegrating via curl, Postman, or an SDK
OpenAPI contractOpenAPI 3.0 spec — every route, request body, and response schemaGenerating a typed client (openapi-generator, openapi-typescript)
Algorithm and scoring referenceTrust scoring, delegation graph, Sybil detection, reputation, credit/underwriting, passport documentReviewing the algorithms; debugging a wrong score; understanding the math
Security guideThreat model, defence-in-depth layers, attack surface, mitigationsReviewing for a production deployment; threat-modelling a new feature
Operations guideEnvironment variables, deployment, observability (metrics/SLOs/alerts), rate limiting, idempotency, system exposure cap, graceful shutdown, load testingOperating the service in any environment
Known limitationsPublic decision, runtime, and hosted-service boundariesEvaluating the system for production use
Support policyCommunity support and compatibility expectationsAdopting the project or opening an issue
Release checklistThe v1.0 release gateCutting a release
QuickstartFive-minute local setup and first requestRunning the project for the first time
SDK guideTypeScript and Python installation and integration guidanceAdding Agent Passport to an application
Self-hosting guideProduction environment, Docker, probes, and replica boundariesDeploying the service

Root-level files

These are at the repo root for GitHub-UI reasons (badges, security advisories, contribution flow). The docs directory stays focused on the canonical reference.

Source-of-truth principle

Every number, threshold, and default in these docs is verified against the code on every PR. The CI gate fails if:

  • A new environment variable in .env.example is missing from the operations guide
  • A new endpoint in src/app.ts is missing from the API reference
  • A new metric in src/lib/metrics.ts is missing from the observability guide
  • A new test file in src/__tests__/ is missing from the algorithm reference

This keeps the docs honest. A wrong doc is worse than no doc.