Skip to main content
Everything in these docs is available to agents as well as people. Point your coding agent at the sources below, or paste one of the prompts into it, and it can integrate Ledger the same way this site teaches you to.

Sources for agents

Every page also has a menu at the top, next to the title, to copy it as Markdown, open it in Claude or ChatGPT, or connect the MCP server to Cursor or VS Code.

Connect the docs MCP server

The server answers questions from these docs. It can’t see your workspace or call the Ledger API.

Integrate Ledger with a prompt

Paste this into your coding agent in your app’s repository. It plans first, then builds the integration in Sandbox.
Prompt

Ledger skills

Three agent skills take your agent through onboarding. Start one in your app’s repository with:
Prompt
The CLI writes ledger-catalog and ledger-integrate to .agents/skills/ in your repository (ledger init does too), so they match the CLI version that runs their commands. Codex, Cursor and other agents read that folder. For Claude Code, link them with npx skills add ./.agents/skills --agent claude-code --skill '*' -y. Run ledger skills again after upgrading the CLI. The skills work only in Sandbox: they refuse Live keys, never print your key, and publish nothing until you approve the diff.

Next steps

Setup

The same integration, step by step.

API reference

Every endpoint, with requests and responses.