Prasoon Soni

All writing

What building multi-agent release automation taught me

· 7 min read · Gen AI, Agents, Automation

Releasing software in a regulated environment is mostly paperwork with a compile step in the middle. Change requests, approvals, evidence, audit trails. We set out to automate that with a system of cooperating agents — and the biggest lesson was that the agents were the easy part.

Why more than one agent

A single prompt trying to do everything becomes a tangled mess of instructions that contradict each other. Splitting the work into focused agents — one that gathers release evidence, one that drafts the change request, one that checks compliance gates — kept each agent small enough to reason about and to test in isolation.

  • Give each agent one job and a narrow set of tools. Breadth is where hallucination lives.
  • Make tools do the dangerous work. The agent decides; a deterministic tool executes and validates.
  • Treat the orchestration between agents as real software — versioned, tested, observable — not as prompt glue.
Orchestration
  • OrchestratorVersioned, tested, observable
Agents
  • Evidence agentGathers release evidence
  • Change-request agentDrafts the change request
  • Compliance agentChecks the compliance gates
narrow tool sets
Tools
  • Deterministic toolsDo the dangerous work, validate every step
Oversight
  • Audit trailEvery action recorded
  • Human in the loopJudgment calls about risk
Agents decide; deterministic tools execute and validate, and every action lands in the audit trail.

Governance was the product

The value was never "an AI did the release." It was that every action left an audit-ready trail, every compliance gate was checked the same way every time, and a human could see exactly what happened and why. Automation without that governance would have been faster and useless.

An agent you cannot audit is not an assistant — it is a liability with good manners.

Where autonomy earned its keep

Agents shone at the tedious aggregation work: reconciling evidence across systems, drafting the boilerplate of a change request, flagging drift between what was requested and what was deployed. They struggled — correctly — at anything requiring judgment about risk, which is exactly where we kept a human in the loop.

The takeaway

Design for the boring, high-volume, well-defined steps first. Wrap every autonomous decision in a deterministic check. And measure success not by how much the agents did, but by how much manual effort disappeared while trust went up. That balance — less toil, more confidence — is the whole game.