Penguin Harness
Unified and Stable RSI Platform
Works with Claude Code · 3,205 GitHub stars
Install
docker run -d --name penguin -p 127.0.0.1:7364:7364 -v penguin-data:/data hiyouga/penguinharness:0.2.16Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →PenguinHarness
Unified and Stable RSI FrameworkAutomatically improve model × agent harness
= 24" />
English | 简体中文
Why PenguinHarness
PenguinHarness is an open-source framework for agent self-evolution (recursive self-improvement, RSI). The model stays fixed; the harness evolves: prompts, Skills, tools and hooks. It runs on your computer or server as a desktop app, a Web App, a CLI and an SDK.
- Every RSI algorithm in one framework. Default, OPRO, APE, ACE and AWM ship as plugins and run on the same built-in Benchmarks, scoreboard and snapshots.
- One sentence builds an agent app. Describe what you need, and an agent writes the app, its page and its run instructions.
- Cheap to run. A deliberately small toolset, tuned for open models: on our data-analysis suite, the best accuracy at 1/70 of Claude Code's cost.
Self-evolution
Pick an algorithm, pick a Benchmark, and an agent improves another agent round by round. Every candidate is a new version, snapshotted before it changes, and every score lands in the Evaluation Center.
| Toolkit | Algorithm |
|---|---|
default-rsi-toolkit |
Trial, reflect, improve: one hypothesis and one change per round |
opro-rsi-toolkit |
OPRO: new instructions from the history of scored ones |
ape-rsi-toolkit |
APE: candidate instructions induced from examples |
ace-rsi-toolkit |
ACE: lessons from Traces curated into a playbook |
awm-rsi-toolkit |
AWM: workflows induced from successful runs |
Every new Project includes seven Benchmarks, run as Harbor tasks in Docker: PenguinHarness Benchmark Sec A to Sec E (from rag-bench-essential, DeepSWE, AutomationBench, Terminal-Bench-Science and Terminal-Bench) and GDPevo Train and Test. More are in penguin-harness-benchmark.
Demo: a decision agent is evaluated, revises its working method once, and is retested on the same model. Its score goes from 84 to 100, and the cost of every run is on screen.
https://github.com/user-attachments/assets/7925b4b5-db78-4e00-b209-89deca394e34
One sentence, one app
Build a legal review agent with a simple workspace where users upload contracts, track the review, and download a report with risky clauses, explanations, and suggested revisions.
The result: a legal review app. Users upload contracts, follow each file's review, and download a report of risky clauses with explanations and suggested revisions. Five sample reviews cost $0.0423 in model calls.
https://github.com/user-attachments/assets/28c0ef95-1dfa-47be-bad0-7326ccdf4e7c
What agents can do
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…