agentharnesses.dev

A field guide to agentic coding harnesses, for teams that have been told to adopt one.


Harnesses > Workflow methodologies

Compound Engineering

Draft. This entry has not been checked against its sources yet.

Every's plugin for a six-step loop (brainstorm, plan, work, simplify, review, compound) that puts most of the effort into planning and review and writes each lesson to docs/solutions/, where later runs look it up.

MaintainerEvery (Kieran Klaassen and Trevin Chow)
CategoryWorkflow methodologies
HostsClaude Code, Cursor, Codex, Kimi Code CLI, Grok Build CLI, Devin CLI, oh-my-pi, OpenCode, Pi, Antigravity, Cline, GitHub Copilot, Factory Droid, Qwen Code
Components36 skills
LicenseMIT
Version3.29.0
Source codehttps://github.com/EveryInc/compound-engineering-plugin
Websitehttps://every.to/compound-engineering/
Docshttps://github.com/EveryInc/compound-engineering-plugin/tree/main/docs/guides
DeepWikihttps://deepwiki.com/EveryInc/compound-engineering-plugin
Last researched2026-09-28, at commit 8a6e0a2

Features

Definitions are on the compare page.

FeatureSupportedNotes
Stages of work it covers
Brainstormingyesce-brainstorm asks one question per turn and checks the requirements are complete before planning. Optional.
Written plansyesce-plan writes to docs/plans/. Small work can end with a brief in the chat instead of a file.
Test firstpartialTest-first is the default for behavior changes, with exceptions allowed if the reason is recorded. ce-debug requires a failing regression test first.
Debugging processyesce-debug: triage, investigate, root cause, fix, hand off, testing one hypothesis at a time.
Code reviewyesce-code-review sizes itself and picks from 16 reviewer personas. The adversarial pass can go to another vendor's model.
Verificationyesce-work requires recorded evidence and passing checks; shipping needs a completed code-review receipt. Browser testing via ce-test-browser.
Learning captureyesce-compound writes one structured lesson per run to docs/solutions/; planning and review subagents search it.
Branch to PRyesce-commit-push-pr opens the PR with gh; ce-babysit-pr follows CI and review comments. GitHub only.
How it runs
Single entry pointpartiallfg sends a single request through the whole loop without stopping. There is no always-on router.
Automatic activationyes27 of 36 skills can load from their descriptions; 9 are manual-only.
Session-start hooknoNo hooks. ce-setup can add a standing instruction to AGENTS.md if you approve.
Subagentsyes
Parallel agentsyesce-work runs independent units in parallel, about 3 to 5 workers at a time; reviewers run in one parallel batch.
Git worktreesyesce-worktree is opt-in. Parallel workers use the host's worktree isolation where it exists.
Adopting it
Multiple hostsyes
Per-project setupyesSettings live in .compound-engineering/config.yaml in the repository. Cline and OpenCode also support per-project installs.
Team extensionspartialCompound Packs (experimental) add team rules that planning cites and review enforces. No documented way to add your own skills or reviewers.
No extra servicesyesNeeds Python 3. Review can send the diff to another model provider's CLI by default; set cross_model_review_mode to off to stop it.

How it works

The workflow

After install you run /ce-setup once per project. It checks your tools, creates .compound-engineering/config.yaml, and offers additions to AGENTS.md. The README describes the loop as six steps, with "80% ... in planning and review, 20% ... in execution":

  1. Brainstorm (ce-brainstorm, what to build). One question per turn, a set of possible approaches, and a readiness check that the requirements are complete, consistent, focused, and usable. It writes a requirements document to docs/plans/.
  2. Plan (ce-plan, how to build it). Adds the approach to the same document, using research subagents in parallel. Plans that are kept go through ce-doc-review, which always checks coherence and feasibility and adds up to five more reviewers depending on the plan. The skill never implements.
  3. Work (ce-work). Creates a feature branch, then implements the plan's units inline or with parallel subagents. Tests come first by default, commits are small, and each unit records its verification evidence.
  4. Simplify (ce-simplify-code). Three reviewers in parallel look at code quality, reuse, and efficiency. ce-work triggers it when 30 or more lines of code have changed.
  5. Review (ce-code-review). Sizes itself as lite, focused, or full. A full review always runs a correctness reviewer, adds a project-standards reviewer if the repository has standards files, and picks others from a pool of 16 personas, such as security, performance, data migration, and API contracts. By default the adversarial pass goes to a different vendor's model if its CLI is available. By default reviews only report findings, and they never push.
  6. Compound (ce-compound). Writes one lesson from the work to docs/solutions/<category>/, with structured frontmatter (module, date, problem type) and fixed sections: problem, symptoms, what didn't work, solution, why it works, prevention. The bar: would a future engineer repeat the mistake if this document did not exist?

Shipping is ce-commit-push-pr, which opens the pull request with gh, then ce-babysit-pr, which follows CI and review comments. lfg runs the whole sequence without stopping and ends at an open, babysat pull request. It merges only if you allowed it for that run.

Other skills cover strategy (ce-strategy), ideation (ce-ideate), debugging (ce-debug), explaining code (ce-explain), optimizing against a metric (ce-optimize), prototypes, browser and Xcode testing, handoffs, and resolving PR feedback.

Components

How it steers the agent

There are no hooks, so steering is written into the skills:

Files it writes

docs_root in the config moves the docs/ directory. To gather its inputs, ce-compound also reads local session transcripts from Claude Code, Codex, Cursor, Pi, and oh-my-pi.

Install

On Claude Code:

/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering

Then run /ce-setup in the project. Claude Code is the source format and the only host validated in CI. Ten other hosts load native manifests from the repository, for example /add-plugin compound-engineering in Cursor, codex plugin marketplace add EveryInc/compound-engineering-plugin in Codex, and pi install git:github.com/EveryInc/compound-engineering-plugin in Pi (which also needs pi-subagents). Copilot, Factory Droid, and Qwen Code convert the Claude format themselves. Gemini CLI is replaced by Antigravity.

Needs git, bash, and Python 3. The PR skills need gh and only work with GitHub. Bun is needed only to develop the plugin.

When to choose it

When not to

It has no telemetry: "No telemetry, ever." (STRATEGY.md)

Sources