<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Multi-Agent on David Lang</title>
    <link>https://www.davidlang.tech/tags/multi-agent/</link>
    <description>Recent content in Multi-Agent on David Lang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 20 May 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.davidlang.tech/tags/multi-agent/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building Multi-Agent AI Systems</title>
      <link>https://www.davidlang.tech/posts/building-multi-agent-ai-systems/</link>
      <pubDate>Tue, 20 May 2025 00:00:00 +0000</pubDate>
      <guid>https://www.davidlang.tech/posts/building-multi-agent-ai-systems/</guid>
      <description>&lt;p&gt;Multi-agent systems divide work among specialized agents-a researcher, coder, critic-coordinated by a supervisor or message bus.&lt;/p&gt;&#xA;&lt;h2 id=&#34;patterns&#34;&gt;Patterns&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Supervisor&lt;/strong&gt; - One model delegates subtasks and aggregates results.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Peer-to-peer&lt;/strong&gt; - Agents message each other until consensus or max rounds.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline&lt;/strong&gt; - Fixed stages (plan → implement → test).&lt;/p&gt;&#xA;&lt;h2 id=&#34;implementation-tips&#34;&gt;Implementation Tips&lt;/h2&gt;&#xA;&lt;p&gt;Give each agent a narrow system prompt and tool set. Pass structured state (JSON) between agents, not raw chat logs.&lt;/p&gt;&#xA;&lt;h2 id=&#34;failure-modes&#34;&gt;Failure Modes&lt;/h2&gt;&#xA;&lt;p&gt;Infinite loops, duplicated work, conflicting edits. Enforce step limits, idempotent tools, and single-writer rules for shared files.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
