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 We Killed Our Multi-Agent Pipeline
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.
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.
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.
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.
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
- works atAbhilash Asokan works at
ZS Associates
Director of AI Engineering“I'm director of AI engineering at ZS.”
YouTube Verified2 sources· Talk, Web· archived
- role atSubbiah Sethuraman is AI engineering lead at
ZS Associates
“I lead AI engineering at ZS.”
YouTube Unverified1 source· Talk
- uses
ZS Associates uses
Claude Code
“All of us went back to Claude Code.”
YouTube Unverified1 source· Talk
- featuredeterministic signal detection workflow: Scans KPI data for anomalies and broken trends, then queues identified signals for agent investigation
“We identify a signal and put it in a queue.”
YouTube Unverified1 source· Talk
- feature
Claude Code: Repeatedly writes functions and queries a database; can launch subagents for focused tasks
“It repeatedly writes a function and queries the database.”
YouTube Unverified1 source· Talk
- featuresingle-agent investigation: Delegates focused investigations to subagents while retaining reasoning and judgment in the main agent
“Those remain under the main agent's control, but we delegate the investigation.”
YouTube Unverified1 source· Talk
- featureKnowledge graph: Guides permitted investigation paths and hypotheses as a control plane for the agent
“The knowledge graph is not just something the agent looks up for data. It is a control plane for the agent.”
YouTube Unverified1 source· Talk
- metricKnowledge graph: An analyst-style analysis taking three or four weeks can be produced in about 20 or 30 minutes after 50-plus turns
“After maybe 50-plus turns... three or four weeks in maybe 20 or 30 minutes.”
YouTube Unverified1 source· Talk












