Lesson 08.05 · Phase 08 · Multi-Agent Systems

Shared blackboards

Instead of a manager telling agents what to do, every agent watches a shared board and acts when it sees something it can use. The order of work emerges from the data. That makes it easy to add a new specialist and harder to predict what will happen, so the board needs structure, provenance and a control loop.

Learning objectives

  • Build a blackboard with typed entries, authors and provenance links (basedon).
  • Write agents as trigger + action pairs, and a control loop that picks which agent acts each cycle and stops cleanly.
  • Add a new agent without changing the others and see the conclusion improve.
  • Prevent lost updates when two agents edit the same entry, using versioned (optimistic) writes.

An orchestrator (Lesson 2) has to know the plan up front: who does what, in which order. That's fine for "research these three vendors". It's awkward for an investigation, where nobody knows in advance what will turn up. Logs show pool exhaustion, which suggests a hypothesis, which needs a test, whose result might call for a deploy check that wasn't on anyone's plan.

Loading the full lesson…