Blackboard
Also known as: blackboard architecture, shared workspace, task board
- Who decides
- Peers
- Shape
- Shared space
Intent
Let specialist agents work on one problem without ever messaging each other: each reads a shared, structured workspace and writes a partial result when it sees something it can improve. The next step is chosen from what the workspace holds at that moment, not from a plan written in advance or a conversation.
About the name. Some frameworks and articles call any shared state a blackboard. On this page the word means the full pattern: a shared store whose contents decide who acts next.
Problem
A data team builds an assistant over an observatory’s data lake of about 1,500 files: observation logs, instrument telemetry and calibration notes. An analyst asks: “Which 2019 observations had the highest noise, and how does noise relate to instrument temperature?” No single agent can read every file, so the team gives each group of files to its own helper agent, and adds one for web search.
The first version puts a supervisor in front of the four helpers. It splits the question, decides which helper answers each part, and relays every result. It breaks in three ways:
- The supervisor must know what every helper holds. It sends the temperature question to the observation-log helper, because nothing told it that temperature lives in the telemetry files. The right helper is never asked.
- The useful order is not known in advance. The telemetry helper finds that its timestamps are local time, not UTC. That should change the next request, but the supervisor has already decided what comes next.
- Everything goes through one context. Every partial result passes through the supervisor, filling its context window, and the noise table it got twenty turns ago is hard to find again.
Solution
Put the state of the problem in a shared, structured store: the blackboard. It has sections (decisions, requests, evidence, hypotheses, critiques, solution) and entries with an id, an author, a status and links to the entries that support them. A request names what is needed, not who should answer it. Each helper reads the part of the board it cares about and writes when it has something to add.
On the observatory question, a run looks like this:
- Seed. The harness writes the analyst’s question to the board, with two decisions every writer must respect: times in UTC, noise measured as background RMS.
- Post requests. An analyst agent writes two requests without naming a recipient: “noise per 2019 observation” and “temperature time series for 2019”.
- Volunteer. Each file helper checks whether its files are relevant. The observation-log helper answers the noise request, the telemetry helper the temperature one, and each writes evidence entries with file paths and a sample. Nobody needed a map of who holds what.
- React to what appeared. The telemetry evidence notes that its times are local. The analyst converts them, joins the two sets and writes a hypothesis, “noise peaks in March 2019 runs on instrument B”, linked to the evidence ids.
- Review. A critic sees an unreviewed hypothesis and writes a critique naming it: two runs are missing from the join. The analyst writes a new version that supersedes the old one.
- Stop. A decider finds an accepted hypothesis with no open critique, writes the solution section, and the run ends.
Unlike a Supervisor, nothing in the middle needs to know every helper’s competence or relay results: the board is the hub, and the contents of the board, not a manager, decide who acts next.
Structure
Hover over a number, or tap it, to read what it is.
- Blackboard. The shared store, split into sections. Every entry has an id, a type, an author, a status (proposed, accepted, rejected, superseded) and links to what supports it. Its schema is the contract all agents depend on.
- Control unit. Reads the board each round and activates the agents whose kind of entry is waiting. It never relays results. It can be a model, rules on entry types, or absent, when agents claim work themselves.
- Specialists. Agents with a narrow expertise, a condition for when they are relevant, and an entry type they write. They read only their part of the board and never call each other.
- Housekeeping. Removes redundant and superseded entries from what agents see, and gets contradictory entries reconciled. Without it the board grows every round.
- Decider. Judges whether the board holds a good enough answer and writes the solution. Round and token caps in code back it up.
Use it when / Avoid it when
Use it when
- The order of useful contributions cannot be fixed in advance. Whoever can make progress now acts, based on what has just appeared.
- The requester cannot know who can help. A request posted to the board reaches every specialist, and adding one changes no other agent.
- The data is large and split among agents. On data-discovery tasks, Salemi et al. report a 13 to 57% relative gain in end-to-end success over a master–slave design, and the gap grows with the data lake.
- Partial results must stay findable. Typed, attributed entries are easier to inspect than a transcript, and they outlive any one context window.
Avoid it when
- The task is short and the steps are known. Use a prompt chain, which is simpler and cheaper.
- A few workers have clear, known skills. Use a Supervisor, which is easier to debug when one manager can route everything.
- Agents would all write to the same artifact. Keep one agent as the only writer, because parallel writers produce conflicting edits and decisions that do not fit together.
- Each answer must come back fast. Use a single agent, because every round of selecting, writing and cleaning adds a serial step.
How it fails
- Board bloat
-
Prompts grow every round because the whole board is pasted into each one; cost rises and agents lose focus.
Mitigation: give each agent a view with only the sections and statuses it needs, and remove superseded entries from it.
- Lost updates
-
Two agents update the same entry at once and one change silently disappears.
Mitigation: give each entry a version and refuse a write based on an older one.
- Duplicate work
-
Several agents pick the same open problem and overwrite each other’s fixes.
Mitigation: make agents claim work with an owner and an expiry, and split the work so claims do not overlap.
- No termination
-
Agents keep adding marginal entries and the run never ends on its own.
Mitigation: stop when the decider accepts, when a round adds no new accepted entry, or at a round cap.
Related patterns
- Group Chat: the closest neighbour; agents share a transcript ordered by time and read all of it, where a blackboard is organised by content and each agent reads only its part.
- Supervisor: a manager that must know every worker and relays every result; on a blackboard the store is the hub.
- Orchestrator–Workers: workers report to the orchestrator; when they write to a shared store and pass back references instead, it starts to become a blackboard.
- Swarm / Handoffs: often confused because of the word “swarm”; there agents pass control with handoff tools instead of coordinating through shared state.
Try it
Describe the task, the board’s sections and what each specialist reads and writes. The generator gives you an entry format, a control prompt, a specialist prompt to fill in for each agent, and a decider prompt.
Open the generator on this pattern
Further reading
- LLM-based Multi-Agent Blackboard System for Information Discovery in Data Science (Salemi et al., 2025): requests without a recipient and volunteer helpers, compared with a master–slave design.
- Exploring Advanced LLM Multi-Agent Systems Based on Blackboard Architecture (Han and Zhang, 2025): a model as control unit, with tests of what control and cleanup change.
- Building a C compiler with a team of parallel Claudes (Anthropic, 2026): 16 agents coordinating through a git repository and lock files, and the problems they hit.