A complete, actionable build guide derived from a deep read of multica-ai/multica (~22k stars, ~42 MB, dual-language Go + TypeScript monorepo).
If you read only one section before coding, read Β§3 The Core Idea and Β§5 The Agent Backend Interface . Everything else hangs off those two ideas.
π Table of Contents
π§ What Multica Is β and What It Is Not
β‘ The 30-Second Mental Model
π‘ The Core Idea β Don't Build the Agent Loop, Wrap It
ποΈ Architecture at a Glance
4.1 π Process / Service Topology
4.2 π Repo Layout (top-level)
4.3 βοΈ Tech Stack (the load-bearing pieces)
π The Agent Backend Interface (the keystone abstraction)
5.1 π The Interface
5.2 π The Factory
5.3 π The Canonical Implementation Pattern (Claude Code)
5.4 π Per-Backend Quirks Worth Knowing
5.5 π Why This Design Wins
π The Local Daemon β Polling, Wakeups, Concurrency
6.1 π Lifecycle ( Daemon.Run )
6.2 π The Poll Loop
6.3 βοΈ Per-Task Pipeline ( handleTask β runTask )
6.4 π Auto-Detection of Installed CLIs
6.5 πβ¦