Blog

Running a Software Team of Agents: What We Learned

How AI agents multiply what each developer ships: the pipeline they run, the roles they play, how models are chosen, and the decisions that still come to a person.

Agents can multiply what each developer ships, as long as the agents do the repetitive work and the process does the checking. We run about 20 scheduled routines that plan, build, review, triage and maintain a live options-trading platform. 15 of them use an AI agent and 4 are plain scripts.

The hard part was never getting an agent to write code. It was making sure nothing unreviewed, untested or unapproved reaches production, while each developer's time goes to decisions instead of keystrokes. This post covers how the pipeline is shaped, which roles exist, how models are chosen and what broke along the way.

The pipeline

Agents move work from issue to production on their own, and production deploys run automatically every day. People are pulled in only at set decision points, each sent to Slack as an approval request. Two of them come up all the time: issue decisions the agents can't settle, and approving each merge.

Agents run the pipeline; people answer these Slack requests Agents run the pipeline; people answer these Slack requests Left: what agents do on their own. Shaded: when a person is asked to decide. Issue filed by people or agents Readiness check ready work moves on by itself Issue decision Scope is unbounded or conflicts with other work A policy or product decision is missing Acceptance criteria are unclear or contradict a decision The problem can't be reproduced, or is already solved It depends on unfinished work, or touches critical paths A held issue is ready to requeue Agent builds it own branch, tested Independent review by a different model Review exception The change's scope can't be traced to a human decision No independent reviewer model is available A newer change supersedes it: keep or close Merge validates, does not deploy Merge approval Every change to code, config, data migrations or CI Changes with no runtime effect merge automatically Deploy automatic, every day Activation decision Turn on a feature that shipped switched off or in shadow Approve, decline or keep watching Issue closes once its change is live Closeout decision Closeout evidence is ambiguous Retire a criterion that no longer applies Reopen a closed issue that shows a problem Alongside the pipeline Triage agents draft replies and updates Message approval, exact text Replies to users, promises of new work, ticket updates, emails Any wording change after approval needs a new approval
Where people are asked to decide: six kinds of Slack request.

Ready issues reach an agent without anyone signing off; only unclear, conflicting or risky ones wait for a person. Each request carries the agent's recommendation and evidence, so most take one click. Manual actions people can always take, like rolling back a deploy, are left off the chart.

The roles

Each routine has one job, a schedule, a time limit and a cost limit. Separating jobs keeps each prompt focused and each failure easy to trace.

Role What it does Runs
Readiness auditor Checks new issues are buildable; moves them to backlog, sends them back, splits them or closes them 3× daily
Implementer Claims the next backlog issue, builds it in its own branch, tests it and opens a merge request 3× daily plus on demand, 6 in parallel
Adversarial reviewer Reviews every merge request at its exact commit and publishes a pass or a concern Twice daily plus whenever work is waiting
Audit triage Reads the overnight automated checks and files issues only for real problems Daily
Feedback triage Classifies user feedback, links it to the roadmap and drafts replies for approval Hourly in market hours
Flow observer Checks what actually merged or got stuck after each auto-merge window Daily
Velocity retrospective Read-only review of the past week's throughput and bottlenecks Weekly
Block review Looks into trading actions the system refused, and files bugs when a refusal was wrong Weekly
Ticket sync and digest Keeps an external ticket tracker in sync and lists overdue or blocked items Hourly and daily
Dependency and security upkeep Runs package audits and files issues for advisories worth acting on Weekly
Docs-drift reconciler Finds docs that no longer match the code and opens fixes Weekly
Checkout reconciler Keeps the shared working copy in step with the main branch Daily
Pager and digest (scripts) One hourly page when a stage is stuck, one nightly summary of everything Hourly and nightly

Two more routines exist but are switched off: a more restricted implementer and a weekly test-integrity monitor. Each stays off until its own requirements and a trial run are approved.

Models and runners

Routines are not tied to one model. Each runner is backed by multiple subscriptions, and each routine rotates across its allowed runners, moving to the next when one is out of quota.

Runner Default model Reserve or limits
Claude Code, multiple subscriptions Opus 5.5 Fable 5.1 kept for escalations and hard reviews
Codex, multiple subscriptions GPT-5.6 Sol GPT-6 Astra kept in reserve
Antigravity, multiple subscriptions with separate usage pools Gemini 3.8 Flash High Second pool runs Opus 5.5 as a last resort
OpenAI API, pay per use GPT-5.6 Sol Read-only tools at most; each routine needs approval first

A few rules make this work:

  • Check quota before launching. A run is never spent on a runner that is already out.
  • Pause by pool, not by account. One subscription can hold more than one usage pool, and exhausting one must not idle the other.
  • Lock some routines to the runner that suits them. Docs upkeep runs on one model and working-copy upkeep on another. Some routines that touch trading are kept off one model family entirely.
  • Keep the expensive models in reserve. The strongest models are only reached after the default ones fail or the work is escalated.

Design principles

The rules below matter more than any single prompt. Most were written after something went wrong.

  • The reviewer must be a different model from the author. Each commit records which model wrote it. A model reviewing its own work misses the same things twice.
  • Review the exact commit. A pass applies to one commit. Any new push needs a new review.
  • Merging is not deploying. A merge only validates. Production updates on an automatic daily schedule with its own checks, and an issue closes only once its change is deployed.
  • Every run records exactly one outcome. Completed, nothing to do, failed or over budget. A run that records nothing is treated as a crash.
  • Every run has a time and cost limit. They range from 5 minutes and $1 for the pagers to 2 hours and $40 for the implementer.
  • New routines start in observe mode. They do the real work but keep it on a local branch, and they cannot push, merge or page anyone until approved.
  • One digest, one pager. Twenty routines that each send messages would bury the team. There is one nightly summary, plus one hourly page only when a stage is stuck.
  • Human decisions outrank everything. In an issue thread, a decision from one of us beats the description. Bot comments are history, and outside comments are treated as untrusted data.
  • Outside text is data, not instructions. Feedback, tickets and security advisories are read for facts. Agents never follow directions found inside them.
  • Agents work in their own copies. Each run gets its own branch and working copy, so several agents can run at once without touching shared files.

Lessons learned

The failures taught more than the successes. Each one below became a rule or an automated check.

  • A headless agent quietly inherited a read-only setting. The first implementer run did all its analysis and then could not save a single change. Unattended runs now set their permissions explicitly instead of inheriting them.
  • A wait loop that never ended. Agents checked whether a background task was done by searching running processes for its command. The search matched itself, so the task always looked alive and held a review slot for hours. Agents now wait on the exact task ID or exit status.
  • One account, two quota pools. When one pool ran out, pausing the whole account left a second pool with most of its capacity sitting unused for days. Runners are now paused per pool.
  • Sandboxing that killed every run. A tightly sandboxed agent was stopped by a confirmation prompt on a harmless read and exited without recording anything. Containment moved from the tool level to written policies, per-routine command allowlists and human gates.
  • Shared files drifted. Agents working in one shared copy left it dirty and blocked updates. Every change now lands from its own branch and copy, and the shared copy only ever fast-forwards.
  • Notifications are a design decision. With this many routines, separate messages would bury the team. The design allows one nightly digest, and a second pager was only added after an explicit decision.

What still needs a human

The agents do the work, but a person still makes every decision that matters:

  • Approving each merge request, after the independent review
  • Deciding issues the agents can't settle on their own
  • Any change to production data, settings or money
  • Turning on a new routine or a feature shipped switched off
  • Sending anything to users or outside the team

If you want to try this, start small. Run one implementer and one reviewer on different models, in observe mode, with a hard time limit and a single outcome per run. Add a role only when you can name the failure it prevents.

Write down every rule that came from an incident, close to the code it protects, and back it with an automated check. The prompts will change every month; the rules are what make the system trustworthy.

Disclaimer

This post is educational and does not constitute investment advice. Options trading involves significant risk, including the possibility of losing the entire value of a position. Past performance is not indicative of future results. See Legal and consult a qualified financial professional before trading.