Everything K-culture — comebacks to K-beauty, straight to your inboxGet it in your inbox

METAL MEDIA

i3T4AN/KADATH

52PythonApache-2.0

An open-source runtime that evolves AI agents across generations by having them compete for a goal

KADATH takes a user-defined goal and spins up a population of AI agents that are graded against the same locked benchmark each round, keeping the strong performers and replacing the weak ones to breed progressively better agents. What evolves is not just a prompt but the agent's entire framework, including its Python code, tools, and dependencies, while a separate kernel handles execution, grading, and selection without evolving itself. In a published ten-epoch run, the top-five median fitness rose from 8 to 77 and the best score rose from 18 to 91.

What it does

  1. The user provides a goal, epoch duration, population size, and number of epochs, then a dedicated Architect model designs a scoring benchmark that must be approved before the run starts
  2. Each agent runs inside its own isolated Docker container with its code mounted read-only, logs its activity, and must produce a result within a fixed deadline
  3. After each epoch, a Grader scores agents from frozen evidence; the top 30% are preserved unchanged, the middle group decides for itself whether to mutate, and the lowest performers are culled and replaced
  4. A Tweaker analyzes what made elite agents effective and sets a reproduction brief, which a Birther uses to create new child agents (genomes) that fill out the next generation's population
  5. Across a published ten-epoch run, the top-five agents' best score rose from 18 to 91, median rose from 8 to 77, and lowest score rose from 1 to 71

Why it matters

It offers a concrete way to improve AI agent quality through repeated competition and selection rather than betting everything on a single prompt or agent design. Its detailed grading, isolation, lineage, and recovery machinery makes it a useful reference for anyone wanting a reproducible framework for agent experimentation.

Terms in this repo

  • genome · the complete evolvable bundle of an agent's system prompt, code, tools, and dependencies
  • epoch · one generation cycle in which the agent population attempts the goal and gets graded
  • Architect/Grader/Tweaker/Birther · specialist model roles responsible for designing the benchmark, scoring, analyzing elites, and producing new agents
  • fitness · an agent's performance score under the locked benchmark

Repository description (English)

Evolutionary multi-agent runtime that breeds, evaluates, and improves autonomous agents across reproducible epochs to converge on optimization of a goal.

Open on GitHub

Trending repos

All repos →

Latest from METAL MEDIA