Contents

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:

A question goes to a supervisor that must pick one of four helpers; it sends a temperature question to the observation-log agent, which does not hold that data.Questionnoise vs temperatureSupervisorroutes every sub-questionmust know who holds whatrelays every resultObservation logsasked about temperatureInstrument telemetryCalibration notesWeb search
Scroll to see all of it.
The supervisor is the only path between the question and the data, so its guess about who holds what decides whether the right helper is ever asked.

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:

  1. 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.
  2. Post requests. An analyst agent writes two requests without naming a recipient: “noise per 2019 observation” and “temperature time series for 2019”.
  3. 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.
  4. 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.
  5. 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.
  6. 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

A blackboard with sections sits in the middle; specialist agents on both sides read and write it; a control unit above reads the board and activates agents; a decider below writes the solution.board stateactivatesactivatesControl unitreads board, picks agentsBlackboardtask + decisionsrequestsevidencehypothesescritiquessolutionFile agentlogs clusterFile agenttelemetry clusterWeb searchpublic sourcesAnalystwrites hypothesesCriticflags weak entriesHousekeepingcleanup, conflictsDeciderenough? write solution12345
Scroll to see all of it.

Hover over a number, or tap it, to read what it is.

Two-headed lines: an agent reads the part of the board it needs and writes entries back. The dashed line is the board state the control unit reads; accent lines are its activations. No line joins two agents.
  1. 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.
  2. 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.
  3. 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.
  4. Housekeeping. Removes redundant and superseded entries from what agents see, and gets contradictory entries reconciled. Without it the board grows every round.
  5. 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

Avoid it when

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

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.

Further reading