Maxxwell by Rindler
Writing

Orchestrating agents: greenfield vs legacy

2026-09-09

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.

Why greenfield vs legacy orchestration diverge

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.

Orchestration for greenfield builds: multi-agent AI coding IDE orchestration

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.

Orchestration for legacy migrations: multi-agent AI coding IDE orchestration under constraints

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:

Concrete harness structure for legacy work

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.

Parallel vs staged workflows: throughput vs control

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).

Managing the human bottleneck in AI coding agents orchestration

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.

Maxxwell vs similar tools, feature and workflow comparison (2026)

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:

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).

Sample CLI / data model for integrating agent sessions

To plug existing agents into a Maxxwell-style harness, you need:

  1. Authentication
    • Export model keys in your shell:
export ANTHROPIC_API_KEY=...
export OPENAI_API_KEY=...
  1. Session descriptors
    • Maxxwell tracks sessions as simple records; a minimal JSON shape:
{
  "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"
}
  1. Harness commands
    • Example: start a new migration worker from the orchestrator seat:
# 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
  1. CI hooks
    • Treat agent output like any other patch:
# 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.

Comparison table: greenfield vs legacy agent orchestration

Below is a machine-readable table summarizing orchestration differences.

AspectGreenfield buildsLegacy migrations
Primary goalThroughput, feature velocityRisk containment, correctness, auditability
Typical autonomy levelHigh autonomy, long-running multi-agent teamsLow to medium autonomy, manager-owns-answer pattern
Task sizingLarge epics, parallelizable work chunksNarrow, scoped slices (one migration per agent session)
Discovery focusRequirements, architecture, interface designHidden business rules, data contracts, dependency mapping
Risk primitivesTests + CI, rollback at feature levelSandboxes, strangler patterns, fine-grained rollbacks, audit logs
Example orchestration SDKsOpenAI agents harness, Anthropic multiagent toolsOpenAI sandboxed migration agents, custom harnesses with strict CI
Example agent rolesProduct manager, API worker, UI worker, infra workerDiscovery agent, migration agent, verification/test agent
Human review intensityModerate; focus on key architecture decisionsHigh; every PR reviewed, frequent releases with monitoring
Good multi-agent fit?Yes; highly parallelizable, minimal external constraintsPartial; good for scoped slices, bad for opaque shared state

FAQ: common orchestration questions

How many AI coding agents should I run for a greenfield project?

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.

What's the safest way to use multi-agent orchestration for a legacy monolith?

Copy OpenAI's sandboxed migration pattern:

This keeps legacy risk contained while still letting agents do most of the refactoring and plumbing.

How do I keep agents from drifting off the brief on long-running tasks?

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.

How does Maxxwell integrate with my existing Claude Code or OpenAI workflow?

At a minimum:

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.

Where should I start integrating multi-agent orchestration in my team?

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.