How Multi-Agent Systems Divide Work: Role Configs and Task Boards

    A practical guide to multi-agent collaboration: why role count alone is not enough, how agents, role configs, and task boards differ, when to split work, and how to design task cards, dependencies, scheduling, handoffs, permissions, and a four-step path from a small loop to a usable system.

    1. Start with the Goal: Multi-Agent Is Not “More Chat Windows”

    The core of a multi-agent system is not how many agents you run. It is whether a complex goal can be broken into tasks with clear ownership, explicit inputs and outputs, and a manageable execution process.

    Suppose the job is an industry research report. The work may include source collection, data cleaning, trend analysis, writing, and review. If one agent does all of that in sequence, it must keep switching roles and hold information from many stages in a long context. If an intermediate artifact is missing, later writing can rest on the wrong basis.

    A better approach is a small team:

    • A research role collects sources and marks provenance and uncertainty.
    • An analysis role processes data and explains statistical definitions.
    • A writing role organizes the content and does not invent facts.
    • A review role checks conclusions, citations, and delivery requirements.

    Splitting roles is only the first step. A usable system must also answer four questions: Who claims a task? Where are upstream results? What happens on failure? Who may mark a task complete?

    A complete design therefore needs role configuration, task records, execution scheduling, and acceptance rules together.

    2. Three Core Ideas: Agent, Role Config, and Task Board

    2.1 Agent: A Runtime Unit with a Goal and the Ability to Act

    An agent is an execution unit that processes information against a goal, calls the tools it is allowed to use, and produces a result.

    An agent typically involves:

    • Role instructions: what it should and should not do.
    • Model and reasoning settings: the baseline capability used for the task.
    • Tool permissions: which data it can access and which operations it can run.
    • Runtime context: the current task, prior messages, and required materials.
    • Outputs: text, files, or structured records.

    Agents do not automatically have independent memory or an independent security boundary. Independence depends on how the system stores sessions, isolates working directories, and controls access.

    2.2 Role Config: A Description of How the Agent Works

    A role config is similar to a job description. Creating a config file is not the same as creating an agent.

    The config is a static description. The agent is the unit that actually runs. The system must load the config, build context, and start execution before the config does anything.

    One config can start multiple execution instances. Conversely, if several instances share the same writable directory or session record, they can interfere with each other even when their config names differ.

    Role isolation should be considered on at least three levels:

    1. Whether instructions and responsibilities are separated.
    2. Whether context and result storage are separated.
    3. Whether actual tool and data permissions are separated.

    Writing “do not access other directories” in a prompt does not replace permission controls in the runtime environment.

    2.3 Task Board: Showing and Managing Task State

    A task board is a way to manage work by placing task cards in status columns, for example:

    To do → Ready → In progress → In review → Done

    You can also add states such as Blocked, Failed, and Canceled.

    The board answers “what stage is this task in.” The scheduler answers “when, and by which execution unit, should it run.”

    Those are not the same thing. A board that only lets someone move cards by hand may not start an agent automatically. A visual panel may not provide persistence, dependency checks, or failure retries. Those capabilities have to be implemented by the underlying system.

    3. When Should You Use Multiple Agents?

    3.1 The Work Types Are Clearly Different

    When a job spans retrieval, coding, analysis, writing, and other distinct skills, splitting roles can reduce mixed responsibilities.

    Roles should be designed around concrete deliverables, not vague personas. “Produce a source list with provenance and a time range” is easier to accept than “you are an excellent researcher.”

    3.2 There Are Subtasks That Can Truly Run in Parallel

    If three research tasks cover different topics and do not depend on each other, they can run at the same time and be merged by a synthesis role.

    Whether parallelism is faster depends on task independence, resource limits, and the cost of merging. If a later task must wait for an earlier result, adding agents does not automatically shorten that wait.

    3.3 Data and Operation Permissions Must Be Isolated

    An agent that handles internal material can be limited to read-only access on specified directories. An agent that collects public sources can be allowed to reach external information but blocked from internal sensitive files.

    A safer pattern is to exchange reviewed artifacts between permission domains instead of sharing the full context.

    3.4 The Work Spans Multiple Stages or a Long Time

    Long-running work needs saved task state, artifact locations, failure reasons, and review records. Otherwise, when a process exits, the system may not know which work is already done.

    In that case, a persistent task board is a better source of progress than a chat transcript alone.

    3.5 Independent Review Is Required

    Using different roles to produce a result and to check it can reduce omissions. A separate role does not guarantee a correct review. You still need verifiable criteria and, when necessary, human confirmation.

    For looking up a concept, editing a short passage, or generating a simple explanation, prefer a single agent. Over-splitting adds handoff, scheduling, and debugging cost.

    4. Start with a Minimal Loop: Three Roles Are Enough

    Begin with a research–writing–review flow. Do not build a large team first.

    Role Main responsibility Required input Standard output
    Research Collect and organize evidence Topic, scope, source requirements Source list and fact summary
    Writing Organize content from the evidence Research results, article structure Draft report
    Review Check facts and delivery requirements Draft, source list, acceptance rules Review comments and conclusion

    The structure below is a custom config example. It shows what to record. It is not an interface that any existing system will recognize as-is:

    1. Role id: research_role
    2. Responsibility: collect sources and produce a fact summary that can be checked
    3. Allowed:
    4. - Read the designated source directory
    5. - Search public information the role is permitted to access
    6. - Write to this role's output directory
    7. Forbidden:
    8. - Modify original source material
    9. - Read another role's private context
    10. - State unverified information as established fact
    11. Output requirements:
    12. - Fact summary
    13. - Source notes
    14. - Time range of the material
    15. - Open questions

    After copying a structure like this, convert it into the config format your runtime actually supports, and enforce the permission requirements through tool authorization, directory access, and network policy.

    5. How Should Task Cards Be Designed So Collaboration Works?

    A task card cannot be only “finish the report.” It should record at least the following:

    1. Task id: TASK-001
    2. Task name: Organize research material for the specified topic
    3. Assigned role: research_role
    4. Current status: To do
    5. Inputs:
    6. - Topic brief
    7. - Source scope
    8. - Time requirements
    9. Upstream tasks: none
    10. Deliverables:
    11. - Source list
    12. - Fact summary
    13. - Uncertainty notes
    14. Acceptance criteria:
    15. - Major facts have sources
    16. - The time range matches the requirement
    17. - Facts, inferences, and recommendations are clearly separated
    18. Execution record:
    19. - Attempt count
    20. - Last update time
    21. - Failure reason
    22. - Artifact location

    Deliverables and acceptance criteria matter most.

    If the deliverable is unclear, later roles cannot use the result reliably. If the acceptance criteria are unclear, the system can treat “some text was produced” as “the task is done.”

    Keep only a short summary and references to artifacts on the card. Put large materials, raw data, and full reports in separate storage so every task does not carry the same bulk content.

    6. Organize Work with Dependencies, Not Free-Form Agent Chat

    Multi-agent collaboration can take two basic forms.

    6.1 Short Tasks: Direct Delegation

    A coordinating role hands a well-scoped subtask to another execution unit, waits for the result, and continues.

    This fits quick checks, local rewrites, and independent calculations. Implementations should set a wait limit and a failure return rule so the caller does not wait forever.

    6.2 Long Tasks: A Persistent Task Flow

    For work that crosses stages, save the tasks and their dependencies and let a scheduler keep checking which tasks can run.

    For example:

    1. TASK-001: Collect sources
    2. ↓
    3. TASK-002: Write the draft
    4. ↓
    5. TASK-003: Review the report
    6. ↓
    7. TASK-004: Assemble the final deliverable

    A downstream task may enter Ready only after its upstream tasks reach the agreed completion state.

    Parallel research can be represented as:

    1. TASK-101: Research topic A ─┐
    2. TASK-102: Research topic B ─┼→ TASK-104: Synthesize
    3. TASK-103: Research topic C ─┘

    Dependencies must not form a cycle. If task A waits for task B and task B waits for task A, neither can start.

    7. What Basic Logic Should the Scheduler Have?

    The following is pseudocode that explains the design. It is not a program you can run directly:

    1. Loop over tasks:
    2. Find tasks whose status is "To do"
    3. For each task:
    4. If upstream tasks are not complete:
    5. Keep waiting and record why it is blocked
    6. Continue with other tasks
    7. If no execution slot is available:
    8. Do not start it
    9. Continue with other tasks
    10. Try to claim the task atomically
    11. If the claim fails:
    12. Continue with other tasks
    13. Save the executor, start time, and claim deadline
    14. Set status to "In progress"
    15. Run the task within the allowed permissions
    16. If execution succeeds:
    17. Save artifact references
    18. Set status to "In review"
    19. If execution fails:
    20. Save the failure reason
    21. Retry or move to "Failed" according to the retry rules

    Three engineering issues are easy to miss.

    First, claiming must be atomic. If two execution units see the same task at once, only one may claim it. Otherwise the work runs twice.

    Second, timed-out claims must be reclaimed. If an execution unit exits abnormally, use the claim deadline and a heartbeat to decide whether the task should be rescheduled. Do not leave it in In progress forever.

    Third, retry is not automatically safe. Reading sources is usually easy to retry. Sending a notification or submitting a change can have duplicate effects. Use idempotency keys, execution records, or human confirmation to avoid repeated side effects.

    8. Handoffs: Give the Next Role Material It Can Use

    Agents should not pass only “research is done.” A reliable handoff should include:

    • What problem this task solved.
    • Where the artifacts are stored.
    • Which inputs and sources were used.
    • Which conclusions have been verified.
    • Which issues remain open.
    • Which constraints the next role must follow.

    A research role might produce a handoff summary like this:

    1. Handoff:
    2. Done: source screening and fact synthesis
    3. Artifact location: source list and summary files in the designated output directory
    4. Known limits: some sources lack a clear update time
    5. Usage rule: related conclusions must keep the time-range note
    6. Open issues: two data series use different definitions and should not be compared directly yet

    The writing role then knows what can be cited directly and what must be stated carefully.

    Keep versions of artifacts. You should be able to trace which version the review role checked and which version was delivered, so content is not changed after review without being checked again.

    9. Permissions, Safety, and Cost Cannot Wait Until the End

    Multi-agent systems widen tool calls and data flow, so safety controls should be in place from the start.

    Use least privilege. A role gets only the access it needs for its task. It should not receive every directory, external network access, and write permission by default.

    Treat external content as data. Instructions inside web pages, documents, and other roles’ outputs must not automatically override system rules. External material can contain misleading instructions, and its influence should be limited.

    Put confirmation points on high-risk operations. Deleting data, sending content externally, and changing important configuration should be approved by a person or pass a dedicated review, based on risk.

    Cap concurrency and retries. Set a maximum number of tasks running at once, a time limit per task, a maximum retry count, and a resource budget. More agents are not necessarily cheaper or faster.

    Keep the logs you need. At minimum, store the task id, executing role, status changes, a summary of tool calls, artifact references, and error reasons. Logs should not leak sensitive data.

    10. From a Demo to a Usable System: Accept It in Four Steps

    Step 1: Check Each Role on Its Own

    Test the research, writing, and review roles separately and confirm they can reliably produce results in the expected format. If a role is unreliable by itself, a collaboration layer will amplify the problem.

    Step 2: Check a Serial Loop

    Run one full path: collect sources, generate a draft, review, and deliver. Focus on whether dependency checks and handoffs are correct.

    Step 3: Check Parallelism and Failure Recovery

    Run independent tasks at the same time, and deliberately simulate timeouts, missing artifacts, and process exits. See whether the system detects blocks, reclaims tasks, and resumes.

    Step 4: Check Permissions and Acceptance Rules

    Test whether unauthorized reads are actually denied, whether a task that fails review can incorrectly become Done, and whether retries cause duplicate operations.

    A multi-agent system is actually finished not when every role says “I am done,” but when task state is explainable, deliverables can be checked, failures can be recovered, and permissions can be constrained.

    Closing

    What matters most when you create multiple agents is a clear collaboration protocol: roles decide who is responsible, configs decide how they work, task cards decide what is delivered, dependencies decide when work starts, and review decides when it ends.

    A task board turns that process into a workflow you can observe. Start with a few roles and one complete task loop, then add parallel execution, persistence, retries, and permission isolation. That is usually more reliable than stacking a large number of agents at the beginning, and it is easier to find problems.