Engineering Blog

5 min read

One Entry, Many Experts: How DataBuff Orchestrates Parallel Ops AI

Not four chat tabs. How DataBuff uses triage-desk + specialist consults for on-call: why multi-expert, async dispatch, four guardrails, and a live two-expert demo.

It's 2 a.m. The alert channel blows up.

Someone needs error rates. Someone else wants traces. Another person suspects a full disk on a container. You open one AI chat — it either hand-waves, or mixes metrics, logs, and SSH into one muddy answer. The more you ask, the messier it gets.

Open more windows? Worse. Each bot talks past the others. You still don't have one incident-ready summary you can paste into the war room.

This post covers two things: ① why on-call needs multiple experts, not one mega-prompt; ② how to dispatch, parallelize, and merge without chaos. Framework only — no source dump.
· · ·
Why one bigger prompt is not enough

The instinct is: one stronger model, one longer prompt, done. On a real incident, that breaks — same reason a hospital does not send one doctor to run the ECG, draw blood, read the CT, and operate at once.

Chest pain in the ER: you do not expect a single generalist with every machine and permission. Wrong tools, shallow on everything. Lab values and surgical plans get mixed up.

On-call is the same. Ask “anything wrong with the cluster?” and you may need:

  • Data Query — latency, error rates, slow traces in Doris (labs)
  • Inspection — JVM/GC sweeps across dozens of services (screening)
  • Ops Expert — SSH, logs, disk, processes (surgery)
  • Product Q&A — OTLP ports, alert menus (admin desk)

Four toolchains, permissions, and report formats. One mega-prompt balloons context — metrics bleed into shell commands. Models cross-contaminate, overreach, hallucinate.

Single agent · one generalist

One window for metrics, inspection, SSH, and docs — all in one prompt.

Complex incidents queue serially; blurry tool boundaries; long context drifts.

Multi-expert · consult model

Triage desk routes; each expert uses its own tools and data.

Data Query and Inspection run together; conclusions carry evidence; one merged report.

More chat tabs? Still no triage desk — you stitch the story at 2 a.m.

Multi-expert is not hype. Ops problems are cross-domain, parallel, and evidence-heavy — same shape as triage → specialty work → attending synthesis.
· · ·
One front door, specialists in the back
  • You talk only to the triage desk (AI Brain)
  • The desk does not run labs — it pages the right specialty
  • Experts query real telemetry and return evidence-backed reports
  • The desk merges into something you can act on
Triage desk plus specialist consults
Fig 1: One entry for you; complex coordination happens backstage

This is not sidebar ChatGPT. Classic APM + chat often cannot see live metrics and traces. DataBuff is AI-native APM on OpenTelemetry — experts must call tools; guessing is not the design.

AI-native minimal stack
Fig 2: Telemetry → tools → experts → Brain → you
· · ·
Three layers, not one giant prompt
  • Tools — instruments: service lists, traces, inspections, controlled commands
  • Experts — roles with the right playbooks and permissions
  • Playbooks — how each role investigates; routing rules for the Brain

A new “department” ≈ tools + playbook + expert registration. Your observability pipeline stays put. You still talk to one desk.

· · ·
How the Brain dispatches

The Brain loads routing rules, reads expert charters, and semantically matches your request — then dispatches: which expert + task brief. Two hard rules: faithful to your intent, and the Brain does not do the work (no metrics, no inspection, no shell). Triage and synthesis only.

Pain point 1: what dispatch looks like
1You message AI Brain; it picks experts from routing rules.
2Brain issues one dispatch: target expert + task brief (your words preserved).
3System replies “accepted, please wait” — ticket created, expert still running.
4Expert runs in the background: tools, traces, inspection, controlled commands.
5Expert returns a delivery artifact and wakes Brain for another turn.
Pain point 2: why not wait synchronously?
  • Expert jobs are slow — inspections and trace hunts take tens of seconds.
  • Long SSE connections time out if Brain blocks waiting.
  • Parallelism dies — serial wait = sum of latencies; async = max of parallel legs.
  • Experts are multi-step tool loops — binding that synchronously bloats Brain context.
Dispatch is async by design: Brain ends its turn; experts run; callbacks wake Brain when done.
Sync vs async dispatch
Fig 3: Left — sync serial blocks; right — accept, parallel experts, merge when pending = 0
Pain point 3: four guardrails
1Same expert, serial only — duplicate dispatch while busy is rejected.
2Different experts may parallelize — Inspection + Data Query together.
3Session pending counter — dispatch +1, delivery −1.
4Final answer when pending = 0 — Brain rewrites a complete reply, not “as above.”
· · ·
Live demo: one sentence, two experts

On demo.databuff.ai, open AI Brain. Do not pick an expert manually. Paste:

“Any cluster anomalies in the last hour? Run a joint diagnosis with Data Query and Intelligent Inspection: Data Query checks latency, error rate, and slow traces; Inspection runs tiered health checks; summarize into an incident report I can forward.”

Brain dispatches twice in parallel — Data Query and Inspection.

AI Brain parallel dispatch
Fig 4: AI Brain → Data Query + Inspection in parallel

Inspection returns S/A/B tiers: most of 34 services in S/A; service-b at B with InsufficientStockException on SKU DEMO-10001. Brain merges HTML with P0/P1 actions — ready for the incident channel:

Combined incident report
Fig 5: Tiered conclusions + evidence chain — forwardable report
Most products still make you pick an expert first

Many UIs show four tiles — Data Query, Inspection, Ops, Q&A. You guess which door to knock on. One conversation, one expert. Switch experts, new window. Ask for error rates and a JVM sweep? You play dispatcher across tabs.

Single-expert · you pick the door

Four entries, four single-chat rooms. Joint diagnosis = you relay between windows.

DataBuff · triage then parallel

One AI Brain entry; Brain dispatches; demo above — one sentence, two experts, one report.

The gap is not four avatars vs one. It is who routes work: you picking experts, vs Brain dispatching, parallelizing, and merging with an evidence chain.

Remember: good systems don't make you guess the specialty — hand off like shift change; triage and consults happen backstage.

Try DataBuff

Open source · multi-expert orchestration · one entry, parallel dispatch

Online Demo: https://demo.databuff.ai

GitHub: https://github.com/databufflabs/databuff