Multi-Agent System Design and Kanban Collaboration: A Practical Guide

    This guide explains why single-agent designs break down as task complexity grows, and how multi-agent collaboration solves the problem. It defines three core concepts (agents, profiles, and kanban boards), shows how to split responsibilities across planning, implementation, verification, and documentation roles, and details the state machine and rules that move task cards through the board. It also covers reliability and observability practices for restartable workflows, common anti-patterns to avoid, and a four-step adoption roadmap. Readers will learn how explicit role boundaries, a shared board, and least-privilege permissions replace one oversized context window.

    1. Why a Single Agent Is Not Enough: From “Omni- Assistant” to “Specialist Team”

    Early AI coding and automation assistants mostly used a monolithic design: one agent handled everything, from understanding requirements and breaking down solutions to writing code, running tests, and producing documentation. As task complexity increases, this model exposes three structural problems.

    The first is context pollution. Different responsibilities need very different information. When implementation details, acceptance criteria, and past decisions all sit in the same conversation memory, the model’s attention gets diluted by irrelevant content, and output quality degrades with each turn.

    The second is blurred capability boundaries. A monolithic agent holds write access to files, permission to execute commands, and network access all at once. If its reasoning goes off track, the blast radius is uncontrollable.

    The third is that progress is not observable. Task state exists only inside the conversation context. If the process is interrupted, progress, conclusions, and to-dos are all lost. Nothing can be handed over, and nothing can be reviewed after the fact.

    The core value of multi-agent collaboration is exactly this: splitting “one omni- assistant” into “a specialist team with clear roles, boundaries, and handover records.” First, let’s define three basic concepts, then move on to implementation.

    2. Three Core Concepts: Agents, Profiles, and Kanban

    2.1 Agent: An Execution Unit with Its Own Persona and Memory

    An agent is the entity that executes tasks. A well-designed agent has four elements: a clear persona (role definition and tone constraints), a defined skill set (what it can do), restricted tool permissions (which resources it may touch), and independent conversation memory (what it remembers). Together, these four elements form the agent’s “job description” within the team.

    2.2 Profile: The Carrier of an Agent’s Identity and Instructions

    A profile is the persisted form of an agent definition, usually a structured text file describing the persona, skills, tool allowlist, memory scope, and default parameters. It matters for three reasons: creating a profile is equivalent to creating an agent; switching profiles is equivalent to swapping the executor; and profiles can be version-controlled, which makes comparison and rollback easy. Decoupling the “who” from the “task” is the prerequisite for operating a multi-agent system in production.

    A sample profile structure looks like this (field names are generic illustrations, not a specific product interface):

    1. profile:
    2. name: implementer
    3. role: implementation engineer, writes code strictly following the agreed plan
    4. skills: [code generation, refactoring, unit test writing]
    5. tools:
    6. allow: [read_file, write_file, run_tests]
    7. deny: [network_access, delete_path]
    8. memory:
    9. scope: session # keep only the current task context
    10. summary_on_compact: true
    11. constraints:
    12. - must not change the requirement scope on its own
    13. - must write questions back to the kanban when ambiguity arises

    2.3 Kanban: The Visual Dispatch Console for Multi-Agent Collaboration

    A kanban board is a shared whiteboard that moves tasks from “To Do” to “In Progress” and then to “Done,” while carrying assignees, priorities, dependencies, and output conclusions. It solves three problems: state visibility (who is doing what, and where things are stuck), progress persistence (nothing is lost on restart), and dependency flow (successor tasks unlock automatically once prerequisites are done). In essence, the board is the “shared memory plus message bus” between agents.

    3. How to Build Multiple Agents: Define Roles First, Permissions Second

    The success of a multi-agent system does not depend on the number of agents, but on whether responsibilities are divided sensibly. A recommended split follows three stages, “cognition, implementation, verification,” forming a minimum viable team:

    • Planning agent: only clarifies requirements and decomposes tasks, outputting structured task cards. It writes no code.
    • Implementation agent: implements according to the cards, with permissions limited to the project directory and external access forbidden.
    • Verification agent: runs tests and static checks, produces a defect list, and writes results back to the board.
    • Documentation agent: after implementation is complete, summarizes changes and generates explanations and change records.

    Once the split is done, create a separate profile for each role and follow three principles:

    1. Least privilege. Write access goes only to the implementation and documentation agents; execution and network permissions are granted briefly and only when needed.
    2. Memory isolation. Raw conversations are not shared across roles; only structured conclusions on the board are shared.
    3. Contract-based interfaces. Roles exchange information through fixed fields (task goal, input paths, acceptance criteria, output location) to avoid ambiguity from free-form text.

    4. Collaboration Mechanics: How Tasks Flow Across the Board

    The key to collaboration is defining the state machine and transition rules. A practical minimal state set is: To Do -> In Progress -> Pending Verification -> Done, with a Blocked state for exceptions.

    1. [To Do] --claim--> [In Progress] --submit--> [Pending Verification] --pass--> [Done]
    2. ^ | |
    3. | |fail |fail
    4. +--------------------+--------------------------+
    5. [Blocked] needs human input or upstream information

    Recommended supporting rules:

    • Mutually exclusive claiming. Only one agent may be In Progress on a given card at any moment, avoiding concurrent write conflicts.
    • Dependency-driven. A card declares its prerequisites; once they reach Done, the successor automatically moves to To Do.
    • Write conclusions back. Every state change must include a short conclusion and the output path, forming a reviewable trail.
    • Escalatable blocking. When consecutive failures reach a threshold, the card turns Blocked and flags the missing information, preventing wasted retries.

    5. Reliability and Observability: Making Collaboration Restartable and Traceable

    The engineering challenge of multi-agent systems is resuming from a checkpoint. Externalize three kinds of information: task state to the kanban, intermediate artifacts to files or object storage, and execution logs to a logging service wired into monitoring and alerting. After a restart, a new session can simply read the board and continue, without depending on conversation memory.

    Observability should cover at least four dimensions: task (number of cards in each state and time spent there), agent (claims and failure rate), resource (call counts and latency distribution), and quality (verification pass rate on the first attempt). When a certain type of card stays Blocked for a long time, it usually means the role split or the acceptance criteria need adjustment.

    6. Common Anti-Patterns and How to Avoid Them

    • Roles that are too granular. When the number of agents exceeds the task’s achievable parallelism, collaboration overhead outweighs the benefit, so responsibilities should be merged.
    • Permissions that are too broad. Opening all tools to every agent for convenience amplifies the impact of mistakes.
    • Sharing conversations instead of the board. Context balloons and becomes unrecoverable, returning to the old problems of the monolithic model.
    • Missing acceptance criteria. Cards without a decidable completion condition cause repeated rollbacks during verification.
    • Ignoring cost. High-frequency polling and full context replay significantly increase resource consumption; use incremental reads and summary compression instead.

    Step one: run one minimal chain with two or three roles, planning -> implementation -> verification, and first solidify the board state machine and write-back conventions. Step two: fill in permission boundaries and the blocking escalation strategy, then watch failure rates and dwell times. Step three: add documentation and retrospective roles to turn conclusions into reusable knowledge. Step four: connect logging, monitoring, and alerting to establish capacity and cost baselines.

    The essence of multi-agent collaboration is replacing “a single oversized context” with “role boundaries + a shared kanban + restricted permissions.” Once task state, handover conclusions, and permission policies are all explicitly modeled, the system gains the engineering properties of being restartable, observable, and extensible, and team size can grow smoothly with task complexity.