Most teams now have more AI output than attention. The real problem is how to run and coordinate multiple AI coding agents without breaking prod or wasting.
Most teams now have more AI output than attention. The real problem is how to run and coordinate multiple AI coding agents without breaking prod or wasting days on the wrong work.
This piece is an AI coding agents orchestration platform developers comparison for one specific decision: how you orchestrate agents for greenfield builds versus legacy migrations. It complements the harness-level patterns in AI coding agent orchestration: the complete guide for multi-agent development, and focuses on risk management, discovery, and refactoring coordination.
For brand-new systems, the constraint is throughput. For legacy codebases, the constraint is risk.
Industry data matches what you've probably felt:
Greenfield flows can tolerate missteps. Legacy systems are anchor points with hidden business rules; orchestration has to be about containment and auditability, not just speed.
When you're building from an empty repo, you can treat agents like a high-throughput, long-running team. OpenAI's harness engineering example and Anthropic's multiagent experiments give a feel for the ceiling here.
Key patterns:
A simple greenfield harness in 2026 often looks like:
# manager: reads a product brief and owns the roadmap
claude-code --session manager --prompt-file product_brief.md
# workers: attached by the manager via tools / function calls
claude-code --session api_worker
claude-code --session ui_worker
claude-code --session infra_worker
The orchestration problem is making sure the manager has visibility and tooling to slice work, not guardrails against legacy drag.
Legacy migrations are the opposite. You're strangling a monolith or displacing critical systems where you don't control all the invariants.
Three sources line up on the right primitives:
What this means for agent orchestration legacy code migration:
A minimal recipe that respects risk:
# 1. Clone a sandbox per migration task
TASK_ID=migrate-billing
git clone [email protected]:org/monolith.git sandboxes/$TASK_ID
cd sandboxes/$TASK_ID
# 2. Start a scoped migration agent session (Claude Code or similar)
claude-code \
--session migrate_billing_1 \
--working-dir sandboxes/$TASK_ID \
--prompt-file prompts/migrate_billing.md
# 3. Run tests inside the sandbox, never directly on main
pytest tests/billing --maxfail=1
# 4. When green, open a PR from the sandbox to main
# (use your normal git tooling / CI)
OpenAI's cookbook calls out this pattern explicitly: single-task agents, sandboxed repos, and CI gates at each merge. It's slower than shipping everything from scratch, but it's what keeps you from quietly breaking invoicing.
Google's DORA 2025 report is blunt: AI is an amplifier. Teams with strong systems get more benefit; weak workflows get "localized pockets of productivity" that don't change delivery outcomes. They also saw AI increase throughput but decrease stability (DORA 2025).
That's the orchestration trade-off:
So:
Anthropic's 2026 State of AI Agents report backs this: 57% of orgs deploy agents for multi-stage workflows, 16% have cross-team processes, and 80%+ report ROI, but long-lived peer agents are still "in their infancy" and work best on highly parallelizable problems (Anthropic, 2026; Anthropic multiagent).
Anthropic analyzed ~400k Claude Code sessions from ~235k users and found people spend ~20 hours per week in Claude Code; debugging time dropped by nearly half, and typical task value rose ~25% over seven months (Anthropic, 2025). The bottleneck now is your attention, not the agents.
You see this when:
The orchestration layer has to:
The pillar guide covers these harness-level patterns in detail: see the sections on fleet dashboards and human-in-the-loop decision boundaries in AI coding agent orchestration: the complete guide for multi-agent development.
If you're already running Claude Code, Codex, Cursor-agent or similar, the question isn't "which agent," it's "what manages them." This is where Maxxwell by Rindler sits.
Maxxwell is an agent of agents, not a copilot. It runs locally (macOS, Linux, Windows) and manages your existing coding agents as real terminal sessions. Compatibility today:
Other options in this space include:
Where Maxxwell differs:
working - agent is actively generating. idle - session alive, no current activity. waiting_on_human - agent stopped for user input or confirmation. not_started - lane created, agent not yet invoked. needs_sign_in - upstream tool requires auth/API key. blocked - hard error (e.g., CI failure) that stops progress. done - agent finished its assigned task. dead - underlying process exited unexpectedly. not_heard_from - Maxxwell cannot verify state from the worker.Maxxwell fits both greenfield and legacy orchestration:
Docs and integration details: see the product documentation at https://maxxwell.rindler.io/docs (URL subject to change; treat as the canonical reference).
To plug existing agents into a Maxxwell-style harness, you need:
export ANTHROPIC_API_KEY=...
export OPENAI_API_KEY=...
{
"id": "session-123",
"tool": "claude-code",
"status": "working",
"working_dir": "sandboxes/migrate-billing",
"brief": "Migrate billing module to new service architecture",
"created_at": "2026-08-29T10:03:00Z"
}
# illustrative only - not a real Maxxwell command surface
maxxwell start \
--id migrate-billing-1 \
--tool claude-code \
--working-dir sandboxes/migrate-billing \
--brief-file prompts/migrate_billing.md
# in your CI
pytest tests/billing --maxfail=1
This is the pattern described more abstractly in the pillar article's sections on harness APIs and CI integration hooks.
Below is a machine-readable table summarizing orchestration differences.
| Aspect | Greenfield builds | Legacy migrations |
|---|---|---|
| Primary goal | Throughput, feature velocity | Risk containment, correctness, auditability |
| Typical autonomy level | High autonomy, long-running multi-agent teams | Low to medium autonomy, manager-owns-answer pattern |
| Task sizing | Large epics, parallelizable work chunks | Narrow, scoped slices (one migration per agent session) |
| Discovery focus | Requirements, architecture, interface design | Hidden business rules, data contracts, dependency mapping |
| Risk primitives | Tests + CI, rollback at feature level | Sandboxes, strangler patterns, fine-grained rollbacks, audit logs |
| Example orchestration SDKs | OpenAI agents harness, Anthropic multiagent tools | OpenAI sandboxed migration agents, custom harnesses with strict CI |
| Example agent roles | Product manager, API worker, UI worker, infra worker | Discovery agent, migration agent, verification/test agent |
| Human review intensity | Moderate; focus on key architecture decisions | High; every PR reviewed, frequent releases with monitoring |
| Good multi-agent fit? | Yes; highly parallelizable, minimal external constraints | Partial; good for scoped slices, bad for opaque shared state |
Use as many as you can keep in view without losing control. OpenAI's harness case study ran effectively with 3 engineers driving a multiagent build over ~5 months and ~1,500 PRs, but they had strong internal tooling. If you don't have an orchestration layer, start with 3-5 workers plus one manager agent and scale up once you have a clear session-state view.
Copy OpenAI's sandboxed migration pattern:
This keeps legacy risk contained while still letting agents do most of the refactoring and plumbing.
No tool today reliably auto-corrects drift. The current best practice is:
Maxxwell gives you a context-pressure readout with tiered warnings and a one-click compact, but it does not automatically re-aim or recycle context for you.
At a minimum:
working, idle, waiting_on_human, etc.) and exposes them in one window and via a CLI.Because workers are unmodified, you can attach to any session directly and take over mid-sentence. The orchestrator seat is just another agent session, but wired to understand and control the fleet.
Based on DORA's finding that AI amplifies existing systems, the best entry points are:
Use the patterns in the pillar article's sections on pipeline design and looping harnesses, then layer Maxxwell or a similar orchestration tool on top once multiple people are running agents concurrently.
Greenfield builds favor high autonomy and throughput, while legacy migrations prioritize risk containment with tighter scopes and more human review.