Multi-Agent Research System Architecture: Design and Implementation

    This article explains why single-turn LLM chat falls short for investment research and how a multi-agent architecture addresses its three core gaps: lack of adversarial viewpoints, no traceable process, and no persistent state. It walks through six key capabilities—role configuration, reusable skill packages, a task board, dispatch and orchestration, isolated workspaces, and scheduled triggers with result recycling—then illustrates a full run, three comparison checklists, practical pitfalls, and a phased evolution path.

    1. Why Single-Turn Q&A Cannot Support Investment Research

    Ask a general-purpose chat model to “analyze methanol futures” and you typically get a well-structured block of text: supply and demand, inventory, operating rates, basis, seasonality. It looks comprehensive, but it has three structural flaws.

    First, there is no adversarial stance. Bullish and bearish views are compressed into the same narrative, and the model tends to settle on a middle ground of “a bit of this, a bit of that.” The value of investment research, however, comes precisely from making disagreement explicit.

    Second, there is no traceable process. Where the conclusion came from, which data was used at each step, and which assumption was overturned are all lost. Nothing can be reviewed.

    Third, there is no persistent state. Close the window and the previous judgment, the falsified logic, and the observation points that have not yet been triggered all reset to zero.

    A multi-agent architecture addresses exactly these three points: role isolation creates adversarial stances, a workspace and board retain intermediate artifacts, and persistent memory plus scheduled tasks turn a one-off Q&A into a continuously running process.

    2. Six Key Capabilities and the Problems They Solve

    2.1 Role Configuration: Splitting “One Person” into “A Group”

    Each role is an independent configuration containing model selection, persona constraints, a memory space, and available skills. Once started, roles are process-isolated and cannot see each other’s drafts. This yields two direct benefits. First, context is not contaminated: the bull researcher does not “remember” having just been persuaded by the bear’s arguments. Second, roles can be scaled on demand: adding a cross-product arbitrage role requires no changes to the others.

    A schematic role definition (pseudocode that only conveys the meaning of the fields):

    1. role: bull_researcher
    2. model: <reasoning model>
    3. persona: Only responsible for finding bullish evidence; must provide verifiable support
    4. memory: dedicated namespace
    5. skills: [supply_demand, inventory_tracker]
    6. output_schema: {thesis, evidence[], invalidation[], confidence}

    2.2 Skill Accumulation: Turning Domain Knowledge into Reusable Packages

    A skill is a versionable knowledge container that typically includes trigger conditions, domain constraints, executable scripts, and reference material. Its purpose is to decouple “how to analyze” from “what to analyze”: a role only declares which skills it needs, so when the methodology evolves there is no need to edit prompts role by role.

    2.3 Task Board: Making Collaboration Observable

    The board breaks work into cards that move through “To Do — In Progress — Pending Review — Done,” each with an owner and a link to its output. It is the audit trail for the whole system: afterward you can answer “why is the confidence only 0.6 on this conclusion,” because the board shows which card was sent back.

    2.4 Dispatch and Distribution: One Entry Point, Multiple Roles in Parallel

    The dispatch layer receives a natural-language instruction, first decomposes it into tasks, then distributes subtasks to the matching roles, and finally hands everything to a synthesis role for aggregation. The decomposition needs to be confirmed with the user once. This is the key step for cost control—it prevents the model from spending ten minutes producing an elaborate calculation on the wrong question.

    2.5 Isolated Workspaces: Intermediate Artifacts Do Not Overwrite Each Other

    Each role reads and writes its own script output, raw scraped data, and drafts under a separate directory. During aggregation, only structured conclusions are exchanged, not raw files, which avoids path conflicts and keeps context size under control.

    2.6 Scheduled Triggers and Result Recycling: From Passive Q&A to Proactive Alerts

    Scheduled triggers let the process run on its own rhythm. The recycling mechanism archives and cleans up long-idle resources, temporary files, and stale memory to prevent state from growing without bound. Together, they let the system complete a scan with no human intervention and push an alert only when a threshold is crossed.

    3. The Timeline of a Complete Run

    1. The entry point receives “analyze methanol,” and the dispatch layer decomposes it into six subtask cards.
    2. The bull, bear, technical, and market researchers start in parallel, each writing evidence to its isolated workspace.
    3. The risk control role reads the four conclusions and checks whether position sizing and stop-loss levels match volatility.
    4. The memory reflector compares against historical judgments and flags where this run’s logic diverges from last time.
    5. The synthesis role aggregates everything and outputs a directional bias, a confidence score, a position recommendation, and several observable thresholds.
    6. The board archives the entire process, and a scheduled task revisits later trading days to check whether the thresholds were triggered.

    From instruction to report takes a little over ten minutes, of which the actual agent runtime is under ten minutes; the rest is human interaction confirming the decomposition plan with the dispatch layer. That ratio shows that the quality of interaction design directly determines the end-to-end experience.

    4. Three Comparison Checklists

    Role checklist (7+1): synthesis and decision-making, bull research, bear research, technical analysis, market research, risk control, and memory reflection, plus a default chat entry point facing the user.

    Skill checklist (start with 2): supply/demand and inventory tracking, and price structure and indicator calculation. It is advisable to build only two at first and expand once the loop works.

    Command checklist (around 10): initialize the environment, create a role, bind a skill, start the board, submit an analysis instruction, confirm the decomposition, run in parallel, check progress, generate a report, and configure scheduling and push notifications.

    5. Implementation Advice and Common Pitfalls

    • Fix the output structure before tuning prompts. Only a report with stable fields can be consumed by downstream programs.
    • Confidence must be explainable, determined jointly by the number of evidence items, source consistency, and historical hit rate, rather than by the model’s own say-so.
    • Put cost gates up front, limiting the number of subtasks and the per-role runtime at the decomposition confirmation step.
    • Push notifications need a silence policy, otherwise proactive alerts quickly degrade into noise.
    • Memory needs periodic recycling. Expired judgments should be archived rather than deleted, since they are input for the reflector.

    6. Evolution Roadmap

    In the first phase, get the full loop working on a single product. In the second, replicate it horizontally to equities and other asset classes; the role division logic can be reused directly, and only the skill packages need to be swapped. In the third, add scheduled scanning and proactive push so the system shifts from “being asked” to “raising alerts on its own.” All three phases share the same board and memory structures, so the modification cost is concentrated in the skill layer—which is exactly the biggest payoff of accumulating methodology as skill packages.