Skip to main content

What is Kapso?

Kapso combines iterative experimentation with a knowledge base of best practices, domain knowledge, and implementation patterns to discover and validate ML/AI code improvements. It automates the cycle of designing, running, evaluating, and refining solutions, eventually adapting the optimized solution for deployment on your chosen infrastructure.
Kapso Framework Architecture

Leeroopedia MCP Integration

Connect Kapso to Leeroopedia — a curated knowledge base of 1000+ ML/AI frameworks. Kapso agents use it during ideation and implementation to search docs, build plans, diagnose failures, and look up hyperparameter defaults.
Sign up at leeroopedia.com for an API key ($20 free credit on sign-up). See the Leeroopedia MCP docs for setup details.

Core Workflow

The Four Pillars

Evolve

.evolve() : Run iterative evaluation grounded experiments to build the optimum solution for a goal. Uses tree search, coding agents, and KG context to generate ideas and refine solutions.

Learn

.learn() : Ingest knowledge from repositories, past solutions, or written knowledge. Extracts patterns and best practices into the Knowledge Graph.

Research

.research() : Run deep web research to gather ideas, implementation references and releveant repositories. Returns structured findings you can pass to learning or use as context for evolving solutions.

Deploy

.deploy() : Turn a solution into running app. Supports local execution, Docker containers, or cloud platforms like Modal.

Core Components

Supported Benchmarks

MLE-Bench

Solve Kaggle ML competitions with automated experimentation. Supports tabular, image, text, and audio problems.

ALE-Bench

Tackle AtCoder algorithmic optimization problems. Generates C++ solutions using optimization algorithms.

Quickstart

Get running in 5 minutes

Architecture

System design overview

Configuration

YAML config reference

Why Kapso?

  • Knowledge-Grounded: Solutions are informed by domain knowledge, not just LLM priors
  • Iterative Refinement: Tree search explores multiple approaches, learns from failures
  • Pluggable Components: Swap coding agents, evaluators, and search strategies
  • Full Lifecycle: From research to deployment in a single framework