Protocol-zero-0

Evolution Kernel — Git skill for Claude Code

Git community

Self-improving code for any git repo: give it a measurable goal, a coding agent (Claude Code or Aider) proposes changes, the kernel scores them, keeps winners and rolls back failures.

How to install Evolution Kernel

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Protocol-zero-0/evolution-kernel and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Evolution Kernel does

Self-improving code for any git repo: give it a measurable goal, a coding agent (Claude Code or Aider) proposes changes, the kernel scores them, keeps winners and rolls back failures. Open-source AlphaEvolve / FunSearch-style evolution loop, sandboxed, with an auditable ledger.

Alternatives in Git

  • GitHub Review Failures — Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu 1.5k ★
  • PR Fixup — Run the Kandev PR fixup loop for CI failures and automated review threads 697 ★
  • PR Shepherd — Monitor a PR through to merge - handles CI failures, reviews, and thread resolution 402 ★

README

Evolution Kernel

A soul plugin for any code.
Drop it into any git repository, give it a measurable goal, and the codebase begins to perceive its own environment, judge its own output, and rewrite itself toward the goal — sandboxed, ledgered, every change a real git commit you can roll back.

Code on disk does not evolve. But once a codebase can read its own outputs, hold a conversation with its own past, and shed failed experiments without leaving scars — it stops being a body of text and becomes a process.

中文 · Protocol

tests v1.1 Python ≥ 3.10 MIT Single dependency


▶ Try in 10 minutes

pip install -e . && pip install ruff
bash examples/quickstart/setup.sh
evolution-kernel \
  --config examples/quickstart/evolution.yml \
  --repo /tmp/ek-quickstart-target \
  --ledger /tmp/ek-quickstart-ledger \
  --loop

Closes the full loop in **~1 second**, **\$0**, **no API key**. See [examples/quickstart/](examples/quickstart/) for what just happened. For the LLM-driven version on a real OSS target, see [examples/oss_fix_demo/](examples/oss_fix_demo/).

Measured, with a null-model control

A self-improving loop will happily optimize the metric instead of the goal. So before any number counts, we rerun the evolved harness with t