WhoBuilt

Why We Killed Our Multi-Agent Pipeline

Jul 23, 2026· 15 min· 33K views·Watch on YouTube

Speakers

Subbiah Sethuraman, who leads AI engineering, and Abhilash Asokan, director of AI engineering at ZS Associates, explain how they redesigned a pharma commercial analytics pipeline during an AI Engineer talk.

How analysts investigate a sales drop

Sethuraman outlines four steps in pharma commercial analytics: detect a signal, find its cause, choose an action, and estimate the outlook. For example, analysts might investigate whether falling prescriptions stem from reduced payer coverage or ineffective rep engagement.

Why the multi-agent pipeline failed

ZS built agents for signal detection, source localization, driver attribution, and synthesis, connected by an orchestrator. In one example, the system correctly traced an 18% prescription drop to a payer moving the drug to a lower coverage tier, but recommended sending more reps instead of addressing coverage. Sethuraman says context was lost between agents, and they lacked shared understanding of pharma metrics and their relationships.

Separate detection from investigation

Asokan says the team first considered redesigning the agents and their handoffs, then observed Claude Code investigating a real signal using Bash and database access. They moved signal detection into a deterministic pipeline with statistical methods, thresholds, guardrails, and prioritization. Agents now investigate signals placed in a queue instead of deciding whether a signal exists.

Keep reasoning together and guide it with a graph

ZS consolidated distributed reasoning into one agent, while retaining subagents for focused investigations whose results return to the main agent. Domain experts helped build a knowledge graph of entities, KPIs, and their relationships. The graph acts as a control plane: its edges define hypotheses the agent can test against data as it searches for a root cause.

What the team learned

Sethuraman says an investigation that could take an analyst three or four weeks ran in about 20 or 30 minutes, after more than 50 turns. Asokan's closing points are to derive architecture from the workflow, separate deterministic work, keep end-to-end reasoning under one agent, and use the graph to guide decisions.

Takeaways

  • Use statistical methods and fixed rules to detect signals; reserve agents for investigation.
  • Keep one agent responsible for the chain of reasoning, and delegate focused tasks when useful.
  • Give agents structured business context instead of asking them to infer relationships from tables.
  • Treat knowledge graph relationships as bounded hypotheses the agent can test against data.
  • Check that recommended actions follow from the identified cause before presenting an outlook.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks