Maxxwell by Rindler
Writing

Run agents across repos with one orchestrator

2026-11-28

By the end of this guide you’ll have a concrete Maxxwell workflow where multiple coding agents work across several repos, all aligned to one feature goal.


By the end of this guide you’ll have a concrete Maxxwell workflow where multiple coding agents work across several repos, all aligned to one feature goal instead of dragging your attention in twelve directions.

You’ll set up:

If you want a deeper argument for why herded workflows beat unmanaged “herds of agents”, see the companion piece: Herd vs herded coding agent workflows: impact on developer attention.


Prerequisites

You’ll get the most value if all of these are true:

Tooling prerequisites:

git clone [email protected]:your-org/web-app.git
git clone [email protected]:your-org/payments-api.git
git clone [email protected]:your-org/events-service.git

1. Define one feature brief as the source of truth

If you skip this, you get exactly the failure you already know: three agents all doing slightly different interpretations of “add refunds”. Herded means one feature goal, spelled out.

Create a feature-brief.md in a small control repo or a notes/ directory:

Feature: Billing portal refund flow

Goal:
- Add refund initiation UI in web-app
- Add refund endpoint in payments-api
- Add audit event emission in events-service

Success criteria:
- UI can request refund for eligible charges
- API validates permissions and idempotency
- Audit event appears in logs for successful and failed attempts
- All repos pass tests and CI is green

In-scope repos:
- web-app
- payments-api
- events-service

Out of scope:
- No new payment processor integration
- No historic backfill
- No changes to existing settlement logic

Owner for final integration:
- @you (Tech lead)

Why this matters

Common failure here

Make the brief concrete enough that a senior dev could implement the feature without a meeting.


2. Map each repo to a clear lane before starting agents

Multi-repo Maxxwell workflows work best when each worker owns one lane, not “help wherever”.

Create a lane map in the same brief file or a separate lanes.md:

Lane map for: Billing portal refund flow

Lane A (UI):
- Repo: web-app
- Responsibility: UI changes for refund initiation
- Depends on: API contract from payments-api

Lane B (API):
- Repo: payments-api
- Responsibility: Refund endpoint, validation, idempotency
- Defines: API contract for web-app and events-service

Lane C (Audit):
- Repo: events-service
- Responsibility: Consume refund events and emit audit logs
- Depends on: Event schema from payments-api

Lane D (Integration):
- Repo: web-app + payments-api + events-service
- Responsibility: End-to-end tests, wiring, sanity checks
- Depends on: Lanes A-C being green

Why this matters

When every lane has one repo and one responsibility, you avoid:

Common failure here


3. Start one orchestrator session in Maxxwell from the brief

Now you create a single orchestrator seat in Maxxwell. This is a real coding-agent session whose output you read and answer, instead of juggling all workers directly.

In Maxxwell:

  1. Create a new session, name it something like orchestrator: refund-flow.
  2. Point it at a small coordination repo (or any workspace where you keep feature-brief.md).
  3. Paste in a prompt like this as the first message:
You are the orchestrator for the "Billing portal refund flow" feature.

Your job:
- Keep one worker per lane as defined in lanes.md.
- Maintain scope according to feature-brief.md.
- Ask me only for:
  - Cross-repo contract decisions
  - Risky changes (data model, security, money movement)
  - Merge or rollout decisions

How to work:
- When you want to start a worker, draft the exact instruction I should send to that worker session.
- Never run git commands, shell commands, or agent controls yourself. Draft them instead.
- Summarize each lane frequently in this format:
  - Lane A (web-app): [state] - one-line summary
  - Lane B (payments-api): [state] - one-line summary

Valid states:
- working
- idle
- waiting on you
- needs sign-in
- blocked (name the dependency)
- done
- dead (explain why)
- not heard from

If you think a lane is stalled, say "possibly stalled" in the summary, but do not guess the reason.

Maxxwell will run this orchestrator with whatever model you configure (Claude, Codex, etc.) as a normal coding agent.

You now talk to this session, not directly to each worker, for most coordination.

Common failure here

Keep the orchestrator focused on planning, assignment, and reporting, not implementation.


4. Spawn one worker session per lane and repo

Next, you create actual worker sessions. In Maxxwell, each worker is just your usual agent (Claude, Codex, Cursor agent, etc.) running in a real terminal session. Maxxwell does not wrap or replace them; it manages them.

Create one session per lane, for example:

For each worker, start from a concrete, copyable prompt.

Lane A (web-app UI) worker brief:

You are the UI worker for the "Billing portal refund flow" feature.

Repo: web-app

Scope:
- Implement a refund initiation UI in the billing portal.
- Use the refund API contract that payments-api defines.
- Add tests for the new UI behavior.

Out of scope:
- No changes to non-billing sections.
- No design system overhaul.

When the refund API contract is unclear, stop and ask for clarification instead of guessing.

When you finish a coherent chunk of work, summarize what changed and the tests you added.

Mirror this pattern for the API and audit workers, adjusting repo and scope to match lanes.md.

How to link orchestrator and workers

In the orchestrator session, tell it the worker names and roles:

Workers available:
- "worker: lane-a web-app" - UI
- "worker: lane-b payments-api" - API
- "worker: lane-c events-service" - Audit
- "worker: lane-d integration" - End-to-end

When you want work done in a lane, draft a message I can paste into that worker's session.

Common failure here


5. Use Maxxwell’s session states as your attention dashboard

Maxxwell’s main value is attention management: many sessions, one window, each marked with a state. You use that to decide where to look next.

Every session carries a readable state, e.g.:

These states show in the fleet view. Maxxwell never lies: if it hasn’t heard from a session it says not heard from, not “working”.

Practical pattern:

For the orchestrator, ask it to keep a text-based mirror of these states in each summary:

Every 15-20 minutes, summarize lanes like this:

- Lane A (web-app): working - refining refund modal interactions.
- Lane B (payments-api): waiting on you - needs contract decision for POST /refunds route.
- Lane C (events-service): blocked on Lane B - needs final event schema.
- Lane D (integration): not started.

Now your attention loop is trivial:

  1. Look for any needs sign-in or waiting on you flags.
  2. Make a decision / sign in.
  3. Check blocked lanes and clear dependencies in priority order.
  4. Only then read working outputs for deeper review.

Common failure here

Stay disciplined: act on states, not on which tab you last touched.


6. Let fleet controls draft, then you press enter

One of Maxxwell’s distinctive properties: fleet controls draft rather than act.

Anything that would change the fleet (e.g. stop a worker, spawn a new one, send a cross-session command) writes a fully formed, unsent sentence into the composer. Nothing happens until you hit Enter.

Use this deliberately:

Example decision cycle:

You (to orchestrator):
We’ll require "reason" and "amount" fields for refunds. Draft updates for:
- Lane B: API contract change + validation.
- Lane A: UI to collect these fields.
- Lane C: audit event payload including reason and amount.

Orchestrator (reply):
Here’s what to send to Lane B...

Here’s what to send to Lane A...

Here’s what to send to Lane C...

You review each, then send them to the respective workers.

Why this matters

This matches Maxxwell’s stance: it conducts, it doesn’t fly the plane.

Common failure here


7. Run integration and handoff without losing work

As workers finish their lanes, you need to integrate and shut things down without killing useful context.

Integration lane setup

In worker: lane-d integration, use a prompt like:

You are the integration worker for the "Billing portal refund flow" feature.

Your job:
- Pull changes from web-app, payments-api, and events-service branches for this feature.
- Run tests and basic end-to-end flows.
- Report:
  - What passes
  - What fails
  - The minimal steps to reproduce failures

Do NOT merge to main or push to production. Draft the commands and steps; I will run them.

You run the actual git and CI commands.

Sessions outlive the app

Maxxwell’s sessions outlive the app: quitting the desktop app detaches, it never kills workers.

That means:

At the end:

Common failure here

Use Maxxwell’s dead or done states when you genuinely intend to end a lane. Don’t rely on closing windows.


8. Example: end-to-end Maxxwell workflow in 10 lines

Here’s a compressed checklist you can tape next to your monitor:

  1. Write feature-brief.md with scope, success, out-of-scope.
  2. Write lanes.md with one repo per lane.
  3. Start Maxxwell and open orchestrator: <feature> session on the brief repo.
  4. Paste the orchestrator prompt with lane states.
  5. Create one worker session per lane (web, API, audit, integration).
  6. Seed each worker with a lane-specific brief.
  7. Ask orchestrator to keep lane summaries with states: working/idle/waiting/blocked/done.
  8. Answer sessions in this order: needs sign-in → waiting on you → blocked → working.
  9. Use fleet controls as drafts; you press Enter on all cross-repo actions.
  10. When merged and tested, mark lanes done, leave sessions alive until you’re confident you’re finished.

This is a herded Maxxwell workflow: explicit goals, explicit lanes, explicit states, and one orchestrator seat that lets you run multiple coding agents without becoming the bottleneck.


FAQ / Troubleshooting

1. How many worker sessions should I run per feature?

Start with one worker per repo involved in the feature. For the example above, that’s 3-4 workers plus the orchestrator.

If you go beyond that, your attention becomes the constraint again. Some teams find 4-6 total sessions (including the orchestrator) is the sweet spot before they need stricter rules.

2. What if a worker session goes quiet or seems stalled?

Maxxwell will show that session as not heard from or overlay possibly stalled.

When that happens:

  1. Skim the last few turns in that worker.
  2. If it’s waiting on external info, either provide it or explicitly mark the lane as blocked with a named dependency.
  3. If it’s just spinning, attach to that session yourself and restart the work with a narrower brief.

Maxxwell does not automatically restart or compact bloated sessions, so you do this manually.

3. How do I stop agents from drifting off the feature goal?

Use three guardrails:

If you see drift, update the briefs and tell the orchestrator to restate scope to the affected lane. Maxxwell won’t auto-correct drift for you.

4. Can I attach to a worker and take over manually?

Yes. Workers in Maxxwell are your own unmodified tools running in real terminal sessions.

You can:

This is deliberate: your tools stay yours, and Maxxwell does not hide the real terminal behind a wrapper UI.

5. How does this compare to running agents in tmux or DIY scripts?

Your tmux scripts probably give you parallel sessions already. Maxxwell adds:

If your pain is “I have eight tmux panes and I am the slowest part of this”, Maxxwell addresses that attention bottleneck directly.