The Fourth Step Every Team Skips Is the Real Key to AI Engineering

Every runs 5 products with essentially solo teams. The core is one extra step after finishing each feature: save the solution into the system so the AI avoids the same pitfall automatically next time.
By Every06-28 · 8 min read⚑ Company PR · read with that in mind
Deep Dive · XiaoHu Explains
TL;DR
  • Every uses a methodology called "Compound Engineering" to maintain 5 products with essentially solo engineering teams. The core is a four-step loop: Plan → Work → Review → Compound.
  • Traditional engineering stops at Review. The fourth step, Compound, turns every solved problem into system knowledge so the AI automatically avoids the same mistake next time — that's where the efficiency gap comes from.
  • The method holds that engineers should spend 80% of their time on Plan and Review, and only 20% actually writing code.
  • The companion plugin is open-source and supports Claude Code / OpenCode / Codex, with 26 specialized agents, 23 workflow commands, and 13 skills — works with zero configuration.
  • /workflows:review runs 14 specialized agents concurrently to review code in a single call; /workflows:plan in ultrathink mode can dispatch 40+ research agents concurrently.
⚑Stance note: This piece is Every's own account of its "Compound Engineering" methodology and its own open-source plugin practice. The concurrency scale, time allocation, and product counts here are all the company's own figures. What follows just explains how it works and what each number means.
1Background

How One Person Holds Up Five Products

Every recently published a methodology called "Compound Engineering," along with a companion open-source plugin, explaining how they maintain five products at once with engineering teams that are essentially one person each.

The five products — Cora, Monologue, Sparkle, Spiral — plus the Every.to site itself, each run on an engineering team of basically one person. What holds up that scale isn't longer hours; it's the last step of a four-step loop that most teams skip.

◆
Why it's worth reading: Every open-sourced something that usually only runs internally — including 14 AIs reviewing one piece of code at the same time, 40+ research agents running concurrently during planning, plus 26 specialized agents. This is one of the most concrete open-source references currently public for multi-agent parallel engineering practice.
2Problem

Why Code Gets Harder to Touch Over Time

Most codebases get harder to maintain over time for a simple reason: every feature you add injects a new dose of complexity, and the new feature has to "negotiate" with every old feature. Ten years in, teams spend more time wrestling with legacy code than building new things — the code becomes harder to understand, harder to change, harder to trust.

Compound Engineering flips that curve. A feature is no longer a burden added to the system — it's a new skill the system learns. Fix a bug, and you knock out a whole future class of the same bug along the way. Once a solution is compounded into the system, it becomes a tool you can reuse directly next time. The more you iterate, the better the system gets.

Traditional: harder each time Compound Engineering: gets smoother More features / iterations → Effort per change →
Same x-axis (more features / iterations), two trajectories: a traditional codebase gets harder to touch with each change, while compound engineering makes every iteration a little easier than the last.
3Main Loop

The Four-Step Loop: 80% of the Time Isn't Spent Writing Code at All

What holds up this scale is a four-step loop: Plan, Work, Review, Compound — then repeat. Whether you're fixing a five-minute bug or building a feature that takes days, you walk through the same four steps; only the time spent on each step changes.

The first three steps are familiar to any developer. The fourth step, Compound, is what actually separates compound engineering from ordinary engineering. Skip it, and what you're doing is just "traditional engineering with an AI assistant."

Plan plan Work build Review review Compound compound Traditional engineering stops here ✕ Compound engineering goes one step further Repeat: each round carries the last round's compounded knowledge ↻
The four steps flow along the dark green track. Traditional engineering stops at Review; compound engineering adds one more step, Compound, carrying what it learned this round into the next.

The Counterintuitive Part: Writing Code Is Only 20% of the Time

Plan and Review together take up 80% of an engineer's time; actually writing code (Work) plus compounding (Compound) is only 20%. Most of the thinking happens before and after the code gets written.

Plan + Review
80%
Work + Compound
20%
What each of the four steps actually does / a few old assumptions Every says to drop
Plan: Turn the idea into a blueprint. Nail down requirements and constraints, look at how similar features are implemented elsewhere in the codebase, check framework docs and best practices, design the approach, then stress-test whether the approach actually holds up.
Work: Spin up an isolated environment first with git worktree (an isolated sandbox copy of your repo — multiple tasks can each run in their own copy in parallel without interfering with each other), then the agent implements step by step per the plan, running tests, linting (automated code checks), and type checking after every change.
Review: Multiple specialized agents review in parallel, tagging issues as P1 (must fix) / P2 (should fix) / P3 (nice to fix), verifying after fixes, and recording what went wrong this round.
Compound: Distill the solution into reusable knowledge and write it back into the system — covered in detail in the next section.
Every also lists a few old assumptions worth dropping: "code must be hand-written" (your job is to produce maintainable code that solves the right problem — who types it doesn't matter); "the first version has to be good" (in their experience the first version is 95% garbage, the second still 50% — that's just the process; the goal is to iterate fast enough that the third version lands cheaper than the first); "you can't learn without typing it yourself" (understanding matters more than muscle memory today — reviewing 10 AI implementations teaches you more patterns than hand-typing 2); "code is self-expression" (code was never yours personally — it belongs to the team, the product, and the users).
4Step Four · The Core

How Step Four Actually Works: Turning Solutions Into System Memory

The first three steps (Plan, Work, Review) produce "a feature." The fourth step, Compound, produces "a system that gets better at building features every time." In practice it's four concrete moves.

① Log the SolutionWhat worked, what didn't, what's reusable
→
② Add MetadataTag it with YAML frontmatter so it's searchable later
→
③ Update CLAUDE.mdWrite the new pattern into the file the agent reads on every startup
→
④ Verify It LearnedCan it automatically catch the same kind of problem next time?

The YAML frontmatter in step two is a block of metadata tags at the top of the document (title, category, keywords) that lets this solution be searched and retrieved precisely later, instead of getting buried in a pile of docs where nobody can find it again.

Where the Compounding Comes From

Traditional development stops at step three, Review; compound engineering takes one more step: writing the problem you just solved back into the system. This step doesn't produce code — it produces the ability for the system to automatically avoid the same kind of problem next time. That's exactly where the efficiency gap comes from.

An Analogy

CLAUDE.md is the "AI operating manual" sitting at the root of the project — the agent reads it first every time it starts up. Think of it as the SOP manual every new hire has to read: whenever someone solves a problem no one's hit before, a rule gets added; the next person who shows up already knows it, without having to fall into the same hole again.

The toggle below makes the difference — once that rule has accumulated — easy to see directly:

No history — pure on-the-spot debugging

The agent doesn't know about this pitfall; you and it debug, diagnose, and fix it together. Once it's fixed, the Compound step writes "why it happened, how to avoid it" into CLAUDE.md, and saves a tagged document into docs/solutions/. This round took a bit of extra time to record.

The system already remembers

The agent reads that rule the moment it starts up, and the old solution is searchable in docs/solutions/ too. So during the Plan step, it proactively steers around the same kind of problem — it never even gets to the point of causing a bug. The time spent recording it earlier gets paid back here, with interest.

Every time a Compound step completes, CLAUDE.md gains one more piece of knowledge — the system gets smarter the more it's used:

CLAUDE.md · Iteration 1
1 entry
CLAUDE.md · Iteration 3
3 entries
CLAUDE.md · Iteration 5
8 entries
How docs/solutions/ Grows Into an Institutional Knowledge Base
Every solved problem gets saved as a markdown file with YAML frontmatter, automatically categorized and tagged. Every runs this step with the /workflows:compound command, which dispatches six sub-agents concurrently: one to understand the problem, one to extract the solution, one to find and cross-link related old docs, one to write up "how to prevent recurrence," one to categorize and tag, and one to format the final document. From then on, any session can automatically dig up past solutions from this pile of docs, instead of relying on some senior engineer's memory.
5Concurrent Review

14 AIs Reviewing Your Code at Once

When a PR (a code change submission) comes in, the /workflows:review command dispatches 14 specialized agents all at once, running concurrently, each watching exactly one dimension: security, performance, architecture, data, code quality, framework conventions, and so on. Each does its own check, and the results get merged into one priority-ranked list of P1 (must fix) / P2 (should fix) / P3 (nice to fix).

One PR 14 specialized agents running at once 1 2 3 4 5 6 7 8 9 10 11 12 13 14
One PR radiates out to 14 agents at once; colors correspond to the dimension groups below. They run concurrently, not in a queue.
01security-sentinel · Security
Scans for OWASP Top 10 (the ten most commonly exploited web security vulnerability categories), injection attacks, authentication and authorization issues.
02performance-oracle · Performance
Hunts down N+1 queries, missing indexes, cacheable spots, and algorithmic bottlenecks.
03architecture-strategist · Architecture
Evaluates system design, component boundaries, and dependency direction.
04pattern-recognition-specialist · Architecture
Identifies design patterns, anti-patterns, and code smells.
05data-integrity-guardian · Data
Validates database migrations, transaction boundaries, and referential integrity.
06data-migration-expert · Data
Checks ID mapping, rollback safety, and production data validation.
07code-simplicity-reviewer · Quality
Enforces YAGNI (don't write code for features you might need someday), hunts down unnecessary complexity.
08kieran-rails-reviewer · Quality
Rails conventions, Turbo Streams, model/controller responsibility boundaries.
09kieran-python-reviewer · Quality
PEP 8 conventions, type annotations, Pythonic style.
10kieran-typescript-reviewer · Quality
Type safety, modern ES style, clean architecture.
11dhh-rails-reviewer · Quality
37signals style: simplicity over abstraction.
12deployment-verification-agent · Deployment
Generates pre-launch checklists, post-launch verification steps, and rollback plans.
13julik-frontend-races-reviewer · Frontend
Hunts down race conditions in JavaScript and Stimulus controllers.
14agent-native-reviewer · Agent-native
Makes sure features work not just for humans but for agents too.
What's an N+1 Query

The N+1 query that agent 02 specifically watches for is a common database performance trap: query a list of 100 records, and if it's written wrong, each one triggers a separate follow-up query — 101 requests total. It's like going to the supermarket for 10 items but making 11 trips: one trip to see what's there, then one separate trip for each item.

The 14 concurrent results get merged and deduplicated into one priority-ranked list, roughly like this:

P1 · Must Fix
☐ Search query has a SQL injection vulnerability security-sentinel
☐ User creation is missing a transaction wrapper data-integrity-guardian
P2 · Should Fix
☐ Comment loading has an N+1 query performance-oracle
☐ Business logic leaked into the controller kieran-rails-reviewer
P3 · Nice to Fix
☐ There's an unused variable code-simplicity-reviewer
What happens after the list comes out
/resolve_pr_parallel handles every issue automatically — P1 first, then P2 — with each fix running in its own isolated environment so they don't step on each other, and you review the generated changes by hand at the end. If you'd rather triage before fixing, use /triage: go through each item and decide to approve (into the backlog), skip (delete it), or change its priority; approved items get marked status: ready and get handed to /resolve_todo_parallel.
6Plugin

What's in the Plugin, and How to Use It

The entire workflow is packaged as a plugin — install it and it works, zero configuration. Supports Claude Code, with experimental support for OpenCode and Codex too.

26
Specialized Agents
Each masters exactly one thing: 14 review specialists, plus research, design, automation, and documentation types.
23
Workflow Commands
Main-loop commands (plan / work / review / compound) plus a batch of utility commands.
13
Skills
Ready-to-use domain knowledge — like an agent-native architecture skill, a style-guide skill.

What Each File Is For

CLAUDE.mdThe handbook the agent has to read on every startup: preferences, conventions, past pitfalls.
docs/solutions/Every solved problem, saved as a searchable doc that the next session finds automatically.
docs/plans/ · brainstorms/Output from /plan and /brainstorm.
todos/Issues found by review, with priority and status.

Two Lines to Install (Claude Code)

claude /plugin marketplace add https://github.com/EveryInc/every-marketplace claude /plugin install compound-engineering
OpenCode / Codex install commands, plus one command to run the entire pipeline
bunx @every-env/compound-plugin install compound-engineering --to opencode
bunx @every-env/compound-plugin install compound-engineering --to codex
/lfg: You just describe the feature, and it chains the entire pipeline together automatically — plan → refine the plan → work → review → fix issues → browser testing → record a feature demo → compound — dispatching 50+ agents along the way, and hands you back a PR ready to merge. It only pauses once, at plan approval.
7Numbers

The Key Numbers: Just How Big Is the Concurrent Agent Scale

Putting the scale of this system into a few concrete numbers.

5
Products Every maintains with this method, each with an essentially solo engineering team.
80% / 20%
Plan + Review takes 80% of an engineer's time; Work + Compound only 20%.
14
Specialized review agents running at once from a single /workflows:review call.
40+
Research agents dispatched once /workflows:plan switches into ultrathink mode.
26 / 23 / 13
Specialized agents / workflow commands / skills included in the plugin.
Every piece of engineering work should make the work that follows easier, not harder.Every, "Compound Engineering"
This piece is Every's own account of its "Compound Engineering" methodology and open-source plugin practice; the concurrency scale, time allocation, and product counts are all the company's own figures. Original: Every, "Compound Engineering," every.to/guides/compound-engineering. Plugin repository: github.com/EveryInc/compound-engineering-plugin.
Source
EveryEvery·Read the source
↑ End of article
✓ This article is free to read in full

Members can copy or download the full Markdown, and let their AI subscribe and ask.

Read the original ↗
📮 New explainers, straight to your inbox

Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.