SuperAPIAI Directory

kapso vs mastra

Metrics & specs comparison

kapso

Kapso is an open-source Python framework launched by Leeroo for building long-running AI agent teams that automatically optimize AI and data systems. Users only need to provide a goal, and Kapso will launch a "campaign": designing candidate solutions, having coding agents implement them, measuring the gap between them and the goal, and continuously improving the closest solution until the goal is achieved, with the final result deployable to the user's own infrastructure. Kapso learns from every experience, saving effective and ineffective ideas along with evidence as "lessons learned," and continuously verifies their validity; it can also read external code repositories and papers, channeling findings into the same knowledge base, so that new campaigns start from existing knowledge. The project ranks first among open-source systems on benchmarks such as MLE-Bench, ALE-Bench, and RelBench, and won the Grand Master Trophy in the IOAI² autonomous AI track at IOAI 2026. Kapso is released on PyPI as leeroo-kapso, requires Node.js and a logged-in coding agent CLI (such as Claude Code, Codex), and optionally connects to the Leeroopedia knowledge base and knowledge graph backend.

mastra

Mastra is an opinionated TypeScript framework that helps you build AI applications and features quickly. It gives you the set of primitives you need: workflows, agents, RAG, integrations and evals

Dimensionkapsomastra
CategoryAI agentsAI agents
Pricing开源项目(可免费自部署)GitHub 开源项目 · 29,983 Stars
PlatformsLinuxLinux · API
GitHub stars— 29,983
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools