Building Multi-Agent Systems: A Practical Guide to Agent Configuration and Kanban Collaboration
This guide explains how to build multi-agent systems that handle complex tasks beyond the limits of a single agent. It defines three core concepts—agents as execution units, profiles as identity and capability declarations, and Kanban boards as the coordination interface—then walks through the standard steps for splitting work by responsibility, enforcing least privilege, defining handoff protocols, and setting convergence conditions. You will also learn how Kanban-driven state machines and dependency rules keep work visible and traceable, why state persistence enables recovery after interruptions, and which common pitfalls to avoid. The result is a practical blueprint for multi-agent collaboration built on configuration separation, schedulable tasks, and recoverable state.
1. Why a Single Agent Struggles with Complex Tasks
In AI coding tools and automated workflows, a single agent usually hits three bottlenecks: a limited context window, persona and skill cross-contamination, and the inability to resume after a long task is interrupted. A common industry approach is to split one large goal across multiple single-responsibility agents and add visual task scheduling. Three core concepts run through this guide: the agent (execution unit), the profile (identity and capability declaration), and the Kanban board (collaboration and scheduling interface).
2. Precise Definitions of the Three Core Concepts
2.1 Agent
An agent is an execution unit with its own persona, skill set, and memory space. Its defining property is not “the ability to chat” but “having boundaries”: it handles only assigned tasks, accesses only authorized tools, and reads or writes only its own memory.
2.2 Profile
A profile is an agent’s identity declaration and behavioral specification. It typically contains four sections: persona and responsibility description, available skill list, tool and data permissions, and session memory reference. Creating a profile is equivalent to creating an agent; switching profiles is equivalent to swapping the executor. Separating configuration from code is a prerequisite for maintaining a multi-agent system.
Illustrative structure (pseudo-config, expressing field semantics only):
profile:name: researcherrole: Search and summarize information only; do not modify codeskills: [search, summarization, citation]permissions:tools: [read-only search]memory: session_researchoutput: structured list of key points
2.3 Kanban Board
The Kanban board is the visual scheduling console for multi-agent collaboration. Tasks move as cards through “To Do → In Progress → Done”, can be assigned to a specific agent, and support dependencies and state persistence. Its value comes from three things: visible progress, traceable responsibility, and no loss on restart.
3. Standard Steps for Building Multiple Agents
Step 1: Split by responsibility, not by tech stack. A recommended split is planner, executor, reviewer, and retriever. The less the responsibilities overlap, the lower the collaboration cost.
Step 2: One agent, one profile. Bind each agent to a unique profile, and forbid sharing the same persona and memory; otherwise instructions will overwrite each other.
Step 3: Least privilege. Grant tool permissions based on task needs, and authorize write and delete operations separately to reduce the blast radius of mistakes.
Step 4: Define a handoff protocol. Specify the upstream output format and the downstream input format—for example, a uniform three-part structure of “conclusion + evidence + open questions”—to reduce parsing ambiguity.
Step 5: Set convergence conditions. For each task, state the completion criteria and the maximum number of retries to avoid infinite loops.
4. Kanban-Driven Collaboration
The core of a Kanban board is not the interface but the state machine and dependency graph. A task card should contain at least: title, acceptance criteria, assignee (agent), priority, dependent cards, status, and artifact link.
Dependency flow follows three rules: a downstream card cannot enter the in-progress state while a card it depends on is unfinished; an in-progress card must be bound to exactly one owner; on completion, the artifact and a brief conclusion must be written for downstream consumption.
Illustrative task description:
{"card": "T-102","title": "Summarize search findings and produce an implementation plan","assignee": "planner","depends_on": ["T-101"],"acceptance": "Includes goal, constraints, risks, and validation approach","status": "todo"}
5. State Persistence and Recovery
Long tasks must assume the process will be interrupted. Key practices: write task state and artifacts to external storage (such as object storage or a database) rather than keeping them only in memory; flush to storage after each completed sub-goal; on recovery, first read the unfinished cards from the Kanban board, then continue execution. This lets you resume from the breakpoint after a restart instead of starting over.
6. Common Pitfalls and How to Avoid Them
First, treating the Kanban board as a chat group, with cards lacking acceptance criteria, which causes repeated rework. Second, using too many agents, so scheduling overhead exceeds the benefit; keeping it to three to five initially is recommended. Third, granting excessive permissions, so a single agent can modify all resources. Fourth, missing a review step, so errors get amplified downstream. The countermeasures are: cards must be verifiable, responsibilities must be single, permissions must be minimal, and key artifacts must be reviewed.
7. Summary
The essence of multi-agent collaboration is “configuration separation + schedulable tasks + recoverable state”. First use profiles to define boundaries, then use the Kanban board to carry dependencies and progress, and finally use persistence to guarantee continuity. Within the general capabilities of cloud platforms such as Baidu AI Cloud, common categories like object storage, message queues, container platforms, and monitoring and alerting can carry artifacts, events, and observability, so the design above can be implemented reliably.
