Claude Code plugin

Harness Evolver

Automated harness evolution for AI agents. A Claude Code plugin that iteratively optimizes system prompts, routing, retrieval, and orchestration code using full-trace counterfactual diagnosis. Based on Meta-Harness (Lee et al., 2026).

57 stars 5 forksPlugins & marketplaces Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add raphaelchristi/harness-evolver-marketplace

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/raphaelchristi/harness-evolver.git

From the README

Harness Evolver

Point at any LLM agent codebase. Harness Evolver will autonomously improve it — prompts, routing, tools, architecture — using multi-agent evolution with LangSmith as the evaluation backend.

Install

Claude Code Plugin (recommended)

npx (first-time setup or non-Claude Code runtimes)

Works with Claude Code, Cursor, Codex, and Windsurf.

Quick Start

What It Looks Like

Tested on a RAG agent (Agno framework, Gemini 3.1 Flash Lite, light mode):

The line shows best score (only goes up — regressions aren't merged). The bars show each candidate's raw score. 4 merged, 3 rejected by gate checks. Not every iteration improves — that's the point.

How It Works

Full feature list

Evolution Loop

Detailed loop with all sub-steps

Agents

Requirements

- LangSmith account + LANGSMITH_API_KEY
- Python 3.10+ · Git · Claude Code (or Cursor/Codex/Windsurf)

Dependencies installed automatically by the plugin hook or npx installer.

LangSmith traces any AI framework: LangChain/LangGraph (auto), OpenAI/Anthropic SDK (wrap_*, 2 lines), CrewAI/AutoGen (OpenTelemetry), any Python (@traceable).

Companion: LangSmith Tracing

For full observability into what each proposer does during evolution (every file read, edit, and commit), install the LangSmith tracing plugin:

With both plugins installed, the evolution loop traces to LangSmith as a hierarchy: iteration → proposers → tool calls.

References

- Meta-Harness: End-to-End Optimization of Model Harnesses — Lee et al., 2026
- Self-Organizing LLM Agents Outperform Designed Structures — Dochkina, 2026
- Hermes Agent Self-Evolution — NousResearch
- Agent Skills for Context Engineering — Koylan
- A-Evolve: Automated Agent Evolution — Amazon (5-stage evolution loop, git-tagged mutations)
- Meta Context Engineering via Agentic…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add raphaelchristi/harness-evolver, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Language
Python
License
MIT
Last updated
18 April 2026
Topics
agent-evolutionclaude-code-plugincodex-skillsharness-engineeringmeta-harness

FAQ

What is Harness Evolver?

Automated harness evolution for AI agents. A Claude Code plugin that iteratively optimizes system prompts, routing, retrieval, and orchestration code using full-trace counterfactual diagnosis. Based on Meta-Harness (Lee et al., 2026). It is a plugin for Claude Code, from raphaelchristi/harness-evolver on GitHub.

How do I install Harness Evolver?

Run /plugin marketplace add raphaelchristi/harness-evolver-marketplace inside Claude Code, then follow the setup in the README.

Is Harness Evolver popular?

raphaelchristi/harness-evolver has 57 GitHub stars and 5 forks, and is included in 1 curated Claude Code list. It was last updated on 18 April 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.