Docs

AI and agents

What an AI agent can do with Capa today, which key it needs, and where to connect it.

View as Markdown

Agents work with Capa the same way your code does: over the API, with a key you choose. A read-only key lets an agent answer questions about your content and write the code that reads it. A key made for agents lets it build models and entries.

Pick a way in

What an agent can do

TaskHowKey
Read entries and explain an errorthe MCP server's read tools, or GET /api/entriesany key that reads the project
Write a GraphQL query that fits the limitsthe MCP server's GraphQL tools, against your project's schemaa key that reads the models it queries
Build models and entriesthe Agent APIa legacy key with the agent permission. cap_ keys are refused there

/api/ reads only today: no key can write through it yet. The keys page explains what each key can do, and how to give an agent one that reads a single model.

Docs for agents

Every docs page has a Markdown copy at the same address plus .md, such as /docs/api/entries.md. /llms.txt lists every page, and /llms-full.txt is the whole reference in one file.