DEV Community

Ramkumar Jayakumar
Ramkumar Jayakumar

Posted on AI-assisted

The Agents Didn't Need a Group Chat: A GraphQL Blackboard for Multi-Agent Workflows

When I started building multi-agent demos, my first instinct was to connect the agents to one another. If one specialist found something useful, surely it should message the next specialist.

Then I pictured debugging that conversation after an agent summarized the evidence incorrectly.

For two separate hackathon projects—one in AI-platform security and one in fraud and AML—I explored a different idea: give the specialists a shared, typed case board. Let each agent add evidence-backed work to the board. Keep verification and consequential decisions outside the agents.

The pattern is called a blackboard architecture. GraphQL is one way to expose the board as a typed API. The important point is not that GraphQL makes agents intelligent. It gives the application a defined place to store, read, and authorize shared work.

Start with a case, not a conversation

Imagine a security alert that needs identity context, network context, and change history. A conversation-based design might ask one model to call each specialist, pass summaries between them, and decide when enough has been said.

That can be a reasonable design. It also makes the coordinator a central dependency: it chooses the order, carries the context, and can distort a finding as it relays it.

With a blackboard, each specialist receives a bounded task and posts a structured result to shared state. Other components can read the result from the board without relying on a private agent-to-agent conversation.

Blackboard architecture: independent specialists post typed, sourced claims to a shared case board; a verifier checks claims and a human approves consequential actions.

The durable work-delivery path is separate from best-effort notifications to the analyst interface.

What the board actually contains

A useful board is more than a place to paste chat messages. It needs a small vocabulary that the application can validate:

  • the case and its current revision;
  • typed findings and claims;
  • references to the records an agent used;
  • the verifier’s verdict;
  • any proposed action and the human decision history.

For example, a claim might say that a runner is not registered and cite a runner inventory record. The board stores that as data, not as a paragraph that a second model must interpret. The verifier can then check whether the record exists, is in scope for this case, and supports the claimed value.

GraphQL helps express that contract: queries can expose the case and its claims, mutations can constrain how claims are posted, and subscriptions can notify a user interface that the case changed. Those features do not automatically provide authorization or durable work delivery. The server still has to enforce roles and scopes, and the underlying store still has to be the source of truth.

In the NVIDIA prototype, the durable outbox and Redis Streams dispatch specialist work. GraphQL subscriptions are viewer notifications. After reconnecting, the UI refetches the current case from persisted state. Keeping those jobs distinct avoids treating a best-effort notification as a durable queue.

A blackboard is not “no orchestration”

The application still coordinates work. It authenticates the caller, records a case, creates scoped work items, routes those items, retries failures, and enforces who may approve an action.

What it removes is a central model acting as the conversation manager. That can reduce repeated prompt handoffs and make each specialist’s contribution easier to inspect. It also changes where the complexity lives:

Design question What the board makes visible What still needs engineering
What did an agent claim? A typed, persisted claim Schema changes and conflicting claims
What evidence supports it? Explicit source references Source quality, freshness, and access controls
Did the work finish? Case status and work-item state Retries, idempotency, and dead-letter handling
Who can act? A role-scoped approval path Identity integration and separation of duties

The board does not eliminate agent sprawl by itself. A small, justified roster helps. So do narrow work scopes, bounded tools, and a clear rule that specialists cannot create more specialists or delegate without an explicit application decision.

The trust boundary matters more than the diagram

An agent’s statement is a proposal. A deterministic verifier checks supported claim types against records. If a reference is missing, outside the alert’s scope, or inconsistent with the typed value, the claim should remain unverified or be marked contradicted.

That verifier has a limited job. It can check properties encoded in its handlers; it cannot prove that the source systems are complete or decide whether a true fact is persuasive.

The final action boundary should be separate again. The model can suggest an action, but only an authenticated human role can approve it. That restriction belongs in server-side authorization and the data flow—not in a sentence in the model prompt.

In both hackathon prototypes, the data is synthetic and actions are simulated. Those examples show the shape of the boundary; they are not evidence of production readiness.

Two domains, one architectural question

The NVIDIA project applies the pattern to AI-platform security alerts: identity, runner/network, and change/asset specialists contribute to a GraphQL board, while the verifier checks synthetic evidence and a human retains containment approval.

The Microsoft Case Board applies a related pattern to fraud and AML: transaction, KYC/watchlist, and link-analysis specialists contribute claims; a deterministic verifier re-runs assertions against synthetic systems of record; a human decides whether to hold, file, or clear. Its evidence pack and SAR draft have AML-specific rules and risks.

These projects do not share a codebase, model stack, evaluation set, or benchmark. They are two separate applications of the same design question: how can agents collaborate without making a model the authority for evidence or action?

What I would reuse—and what I would not

I would reuse the separation between typed shared work, independent verification, and human authority. I would also keep the work queue distinct from UI notifications, make worker writes idempotent, and record enough provenance to reconstruct why a case reached its current state.

I would not assume that GraphQL is always the right interface, that a blackboard always beats a supervisor, or that fewer model handoffs automatically mean a faster or cheaper production system. Those are questions for a workload-specific comparison that measures the whole deployed path.

That is the main lesson I took from building these prototypes: make collaboration inspectable, make verification deterministic where possible, and make authority explicit.

The two builds behind this architecture

Both articles explain the synthetic data and prototype limits in detail.

Top comments (7)

Collapse
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

The line that landed for me is that the coordinator becomes the single point of distortion — it chooses the order, carries the context, and can quietly mangle a finding in transit. A typed board with a verifier checking claims against records is a much more honest shape than agents chatting at each other. Do you find the board pattern holds up once the specialists disagree, or does the verifier end up becoming the new coordinator?

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar •

The board makes disagreement inspectable, but it does not resolve it by itself. I keep the roles separate: specialists post claims, the verifier checks supported assertion types against records, and application policy produces an advisory recommendation for a human. The verifier does not choose which specialist runs next or rewrite their findings.

Two specialists can have corroborated facts and still disagree about the recommendation. That is a policy or judgment question; a successful fact check does not settle it. If a claim cannot be checked, it stays unsupported rather than being resolved by another model’s opinion.

For a production version I’d also pin the evidence revision and query scope, so apparent disagreement is not just two reads taken at different times. These prototypes used synthetic records; I haven’t demonstrated general conflict resolution under concurrent changes. The verifier would become another coordinator if I let it choose the narrative or final action, so keeping that authority explicit matters.

Collapse
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

The roles separation is the load-bearing part — a verifier that only checks supported assertions against records can't quietly become a coordinator, and 'unsupported rather than resolved by another model's opinion' is exactly the right default. The honest caveat about synthetic records and concurrent changes is good too. When two specialists have corroborated facts pointing at opposite recommendations, does the advisory recommendation still go to a human, or is there a policy rule that breaks the tie before it gets there?

Thread Thread
 
rkj180220 profile image
Ramkumar Jayakumar •

Yes, it still goes to a human, but a deterministic policy shapes the recommendation first. I should have made that step clearer.

In the Microsoft Case Board, a specialist needs corroborated claims that match the alert’s support rules before its HOLD or ESCALATE recommendation counts. With the default settings, one qualifying specialist leads to ESCALATE; a combined support weight of two reaches HOLD, provided the analysis is complete. Contradicted claims reduce that specialist’s weight.

So if one specialist says CLEAR and another has qualifying evidence for HOLD, they don’t simply cancel each other out. In the simple one-versus-one case, the advisory result is ESCALATE, and the human reviews the findings and evidence. Even a HOLD recommendation still needs explicit human approval before the simulated action can happen.

That policy is a deliberate choice in the prototype, and it has trade-offs. It gives the reviewer a consistent starting point; it doesn’t establish which interpretation is ultimately right.

Thread Thread
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

That clarifies it well — the policy shapes the recommendation but the human still owns the decision, and the one-versus-one case defaulting to ESCALATE is a defensible bias toward caution. The trade-off I'd watch is anchoring: a consistent starting point is useful right up until reviewers start rubber-stamping it. Have you seen that in practice, or does the evidence review keep people genuinely engaged?

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

a shared blackboard beats a group chat. every agent reading the same state is the part that makes it work.

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar •

Thanks, Odinaka. A shared, persisted case is what made the work easier for me to inspect: each finding keeps its source references instead of depending on the next agent’s summary. The important caveat is that shared state can still be stale. For a production version, I’d tie each finding to the case and evidence revision it actually read, then require a fresh check when those change.