Skip to main content
Kapso installs a single kapso executable with nine commands.

Global options

On a standard install the five agents are claude_code, codex, gemini, openhands and oss_claude_code; the legacy aider extra registers a sixth.

kapso evolve

Runs an experiment campaign against a goal and returns the best solution.
When a session needs something only you can provide, the campaign pauses: the summary block says WAITING ON YOU instead of COMPLETED, the exit code stays 0, and kapso inbox reply resumes it. See the inbox.

kapso research

Runs deep web research and writes structured findings.

kapso learn

Trajectory learning. Ten subcommands cover importing finished campaigns, mining them, grading a bank, and folding results back in. Every subcommand takes --config to point at a config other than the packaged config.yaml.

kapso learn import

kapso learn mine

kapso learn grade

kapso learn update

kapso learn init-bank

Creates the bank home. Takes only --config.

kapso learn develop

kapso learn codify

kapso learn ingest

kapso learn gauntlet

kapso learn behave

kapso deploy

Turns a solution directory into running software.

kapso index_kg

Indexes a corpus into the knowledge graph and writes a .index file that campaigns load with --kg-index.
Indexing needs Weaviate and Neo4j running. See Optional: knowledge-graph backends.

kapso watch

Renders the status of a running evolve, learn or learn_knowledge operation.

kapso inbox

What a paused campaign is waiting on you for, and the reply that resumes it. Inside a campaign directory both forms act on that campaign; elsewhere, name it first. See the inbox.

kapso bank

The lesson bank is local-only by default. These two subcommands give it a git remote. Credentials stay with git and gh; Kapso never handles them.

kapso bank connect

kapso bank create

Creates the GitHub repository with the gh CLI, then connects it.

kapso doctor

Reports the requirements your active config implies, and exits non-zero when a required item is missing.
See How do I check my setup? for the output format and what each marker means.

Python API

The same operations from Python

Configuration

Every key in config.yaml
Related pages: Python API · Configuration · Python API 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.