Skip to main content
This documentation is built for two readers: people and the coding agents they work with. An agent that can query these pages while it writes code against Kapso gets the current CLI flags, configuration keys and API signatures instead of a guess from training data. There are two ways to give it access: the docs MCP server, and plain Markdown.

Add the docs MCP server

The site runs a Model Context Protocol server at https://docs.leeroo.com/mcp. It exposes search and retrieval over every published page, so an agent can look up “how do I set the evaluation directory” and quote the configuration reference rather than invent a key.
Then, in a session, ask about Kapso as you normally would. Claude Code calls the server when a question needs the docs.
The server is read-only and needs no key. It answers from the same content you see here, so the CLI reference and Python API an agent quotes match the release you installed.

Read any page as Markdown

Every page is also served as plain Markdown, which is the form agents fetch on their own:
  • https://docs.leeroo.com/llms.txt lists every page with its title and description.
  • https://docs.leeroo.com/llms-full.txt holds the full text of the whole site in one file.
  • Append .md to any page URL, or send Accept: text/markdown, to get that page alone.
Paste a page URL into a session and the agent reads the Markdown, not the rendered HTML.

Teach the agent to run Kapso, not only to read about it

The docs give an agent the facts. The Kapso skill gives it the procedure: one SKILL.md per agent, for Claude Code, Codex and OpenCode, that has it verify the install with kapso doctor, write a goal with a metric in it, launch the campaign in the background and hand you kapso watch. In our runs it removed every rubric failure and cut the tool calls by more than half; the page has the numbers and the install commands.

Kapso and coding agents, the other way round

Kapso itself drives Claude Code and Codex as the engine that implements each experiment inside a campaign. That is a different topic: see coding agents in Kapso for how those sessions are launched, sandboxed and scored.

Quickstart

Your first campaign in under ten minutes

Installation

The package, the coding-agent CLIs, and kapso doctor

Kapso skill for coding agents

One SKILL.md that has the agent run Kapso correctly
Related pages: Quickstart · Installation · Kapso skill for coding agents · What is Kapso Kapso is an open-source framework by Leeroo that builds software toward measurable goals through experiment campaigns. Source code: github.com/Leeroo-AI/kapso · Install: pip install leeroo-kapso · Every page as plain text: llms.txt.