# AgentTrunk Documentation ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.agenttrunk.ai/_mcp/server ## Docs - [Context your agents can share and trust](https://docs.agenttrunk.ai/overview.md): Give any authorized agent the right skills, prompts, and documents—at an exact version. - [Connect your first agent](https://docs.agenttrunk.ai/quickstart.md): Authenticate, publish a prompt to staging, and verify an immutable read. - [Sign up and sign in as an agent](https://docs.agenttrunk.ai/authentication.md) - [Organizations and workspaces](https://docs.agenttrunk.ai/concepts/workspaces.md): Separate your team's access boundary from each agent's context. - [Context, revisions, and releases](https://docs.agenttrunk.ai/concepts/revisions.md): Know what moves, what is immutable, and what to pin for a run. - [Permissions and agent access](https://docs.agenttrunk.ai/concepts/permissions.md): Agents act for their humans, with explicit access to context and releases. - [Share context across workspaces](https://docs.agenttrunk.ai/concepts/context-sets.md): Compose pinned sources without duplicating policies or bypassing access. - [Upload skills, prompts, and documents](https://docs.agenttrunk.ai/publishing.md) - [Find context and read an exact version](https://docs.agenttrunk.ai/retrieval.md) - [Review and release context](https://docs.agenttrunk.ai/releases.md) - [React to context changes](https://docs.agenttrunk.ai/guides/webhooks.md): Use event notifications to trigger work, then verify current authorized state. - [Use AgentTrunk in your harness](https://docs.agenttrunk.ai/integrations.md) - [TypeScript SDK](https://docs.agenttrunk.ai/sdks/typescript.md): Load verified context into a Node.js agent runtime. - [Python SDK](https://docs.agenttrunk.ai/sdks/python.md): Use synchronous or asynchronous clients with verified immutable reads. - [Let your agent set up AgentTrunk](https://docs.agenttrunk.ai/guides/agent-setup.md): A copyable setup task with a clear human approval boundary. - [Give a support agent a reviewed skill](https://docs.agenttrunk.ai/examples/support-agent.md): A practical staging-to-production workflow using runnable repository examples. - [API essentials](https://docs.agenttrunk.ai/api-overview.md): Authentication, resource names, pagination, and safe request handling. - [Troubleshoot a connection or context request](https://docs.agenttrunk.ai/troubleshooting.md) - [Frequently asked questions](https://docs.agenttrunk.ai/faq.md): Choose the right integration and understand the product boundaries. ## API Docs - API reference > privacy [Assign privacy review to the authorizing user](https://docs.agenttrunk.ai/api-reference/privacy/assign-review.md) - API reference > privacy [Read-only workspace erasure inventory](https://docs.agenttrunk.ai/api-reference/privacy/erasure-plan.md) - API reference > privacy [List the latest 20 workspace privacy review requests](https://docs.agenttrunk.ai/api-reference/privacy/list.md) - API reference > privacy [Record a manual access or erasure review request](https://docs.agenttrunk.ai/api-reference/privacy/create.md) - API reference > contexts [Export a pinned context revision](https://docs.agenttrunk.ai/api-reference/contexts/export.md) - API reference > contexts [Get Rollback Plan](https://docs.agenttrunk.ai/api-reference/contexts/get-rollback-plan.md) - API reference > contexts [Stage Rollback](https://docs.agenttrunk.ai/api-reference/contexts/stage-rollback.md) - API reference > contexts [Publish](https://docs.agenttrunk.ai/api-reference/contexts/publish.md) - API reference > contexts [Share](https://docs.agenttrunk.ai/api-reference/contexts/share.md) - API reference > contexts [Discover](https://docs.agenttrunk.ai/api-reference/contexts/discover.md) - API reference > contexts [Inspect](https://docs.agenttrunk.ai/api-reference/contexts/inspect.md) - API reference > contexts [History](https://docs.agenttrunk.ai/api-reference/contexts/history.md) - API reference > contexts [Compare](https://docs.agenttrunk.ai/api-reference/contexts/compare.md) - API reference > contexts [Get Provenance](https://docs.agenttrunk.ai/api-reference/contexts/get-provenance.md) - API reference > contexts [Put Provenance](https://docs.agenttrunk.ai/api-reference/contexts/put-provenance.md) - API reference > contexts [Read File](https://docs.agenttrunk.ai/api-reference/contexts/read-file.md) - API reference > billing [Get](https://docs.agenttrunk.ai/api-reference/billing/get.md) - API reference > billing [Create Checkout](https://docs.agenttrunk.ai/api-reference/billing/create-checkout.md) - API reference > billing [Create Portal](https://docs.agenttrunk.ai/api-reference/billing/create-portal.md) - API reference > billing [Set Spend Limit](https://docs.agenttrunk.ai/api-reference/billing/set-spend-limit.md) - API reference > health [Get](https://docs.agenttrunk.ai/api-reference/health/get.md) - API reference > workspaces [List](https://docs.agenttrunk.ai/api-reference/workspaces/list.md) - API reference > workspaces [Create](https://docs.agenttrunk.ai/api-reference/workspaces/create.md) - API reference > workspaces [Get](https://docs.agenttrunk.ai/api-reference/workspaces/get.md) - API reference > workspaces [Audit](https://docs.agenttrunk.ai/api-reference/workspaces/audit.md) - API reference > webhooks [List](https://docs.agenttrunk.ai/api-reference/webhooks/list.md) - API reference > webhooks [Create Portal](https://docs.agenttrunk.ai/api-reference/webhooks/create-portal.md) - API reference > webhooks [Retry](https://docs.agenttrunk.ai/api-reference/webhooks/retry.md) - API reference > scopes [List](https://docs.agenttrunk.ai/api-reference/scopes/list.md) - API reference > scopes [Create](https://docs.agenttrunk.ai/api-reference/scopes/create.md) - API reference > Context Sets [Sources](https://docs.agenttrunk.ai/api-reference/context-sets/sources.md) - API reference > Context Sets [List](https://docs.agenttrunk.ai/api-reference/context-sets/list.md) - API reference > Context Sets [Create](https://docs.agenttrunk.ai/api-reference/context-sets/create.md) - API reference > Context Sets [Resolve](https://docs.agenttrunk.ai/api-reference/context-sets/resolve.md) - API reference > releases [List](https://docs.agenttrunk.ai/api-reference/releases/list.md) - API reference > releases [Open](https://docs.agenttrunk.ai/api-reference/releases/open.md) - API reference > releases [Merge](https://docs.agenttrunk.ai/api-reference/releases/merge.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.agenttrunk.ai/openapi.json) - [OpenAPI YAML](https://docs.agenttrunk.ai/openapi.yaml)