← Thu, Nov 5 digest

Building a Multi-Agent System from Scratch: Architecture Patterns

read article ↗ hn thread ↗

An engineer outlines three multi-agent architecture patterns—orchestrator-worker, blackboard, and pipeline—along with production failure modes and hard-code guardrails.

summary is enough The article outlines useful multi-agent architecture patterns and failure modes, but can be quickly skimmed since its core frameworks are concise.

summary

The author details three core multi-agent architecture patterns—orchestrator-worker, blackboard, and pipeline—alongside production failure modes like infinite delegation loops and error propagation. To mitigate these issues, the piece recommends implementing hard engineering limits such as delegation depth caps and strict token budgets. Commenters heavily discussed the AI-generated writing style of the post while debating the practical merits of concurrent multi-agent systems versus nested sub-agents.

key points

  1. Orchestrator-worker fits known task decomposition, pipeline fits fixed sequences, and blackboard suits dynamic, exploratory problem paths.
  2. Production failure modes include infinite delegation loops, runaway API costs, conflicting concurrent state writes, and compounding hallucinations.
  3. Guardrails must be enforced via hard code limits like delegation depth caps and strict token budgets rather than relying on prompt instructions.

who should read it

Software engineers and architects designing production-grade AI agent workflows.

discussion skeptical

consensus

Commenters quickly identified the post as AI-generated due to its formatting and phrasing, leading to a strong meta-discussion about AI slop versus utility.

pushback

A minority argued that nested sub-agents called via standard tool loops are vastly superior and simpler than concurrent multi-agent systems for real-world tasks.

best comment by bob1029 ↗

Sub agents are significantly more useful than multi agents.

Wrap a nested prompt with a tool call that is invoked by the caller prompt. That is the answer to all your suffering. You can repeat this for as many layers of invocation as you desire. You can layer determinism and non-determinism as much as you like in whatever orders you see fit with additional alignment, retry policies, logging, etc.

Agents running concurrently will not go any faster than one well-designed hierarchical agent system.

Imagine the simple task of incrementing a global counter. That would be my #1 benchmark. If you …

It challenges the premise of multi-agent concurrency entirely, arguing that nested sub-agents are cleaner and proposing a concrete benchmark.

Generated by an LLM from the article and thread. Check the sources before relying on it.