Building a Multi-Agent Research System for Investment Analysis: A Practical Guide

    This article presents a practical engineering approach to building a multi-agent system for investment research, where a single natural-language instruction is transformed into structured, traceable, and confidence-rated output. It explains why single-turn Q&A is insufficient for research work, outlines an architecture based on role isolation and deliverable-driven collaboration, and describes six supporting capabilities: profiles, skills, kanban, dispatcher, scratch workspaces, and heartbeat-reclaim. A full run timeline, three engineering checklists, an evolution roadmap, and practical recommendations are included.

    1. Why Single-Turn Q&A Falls Short in Investment Research

    In quantitative and fundamental investment research, the biggest pain point is not the inability to get an answer, but the inability to get a verifiable answer. A typical model response outputs only a block of conclusive text, with no data sources, assumptions, counterarguments, or risk boundaries, which makes it unusable for actual decision-making.

    Investment research is inherently a multi-role, long-chain, and heavily validated process. It requires someone to build the bullish case, someone to build the bearish case, someone to handle technical analysis, someone to scan macro and industry information, someone to manage risk, and finally a “lead” who consolidates everything and takes responsibility for the conclusion.

    The topic of this article is therefore not the user experience of a specific tool, but a general engineering problem: how to use a multi-agent collaboration architecture to reliably convert a single natural-language instruction into structured, traceable, confidence-rated research output.

    2. Overall Architecture of the Target System

    The system consists of several mutually isolated agent roles. Each role has its own model configuration, role constraints, memory space, and skill pack. They do not share intermediate drafts; they exchange only “deliverables” through a task board, which prevents context from being cross-contaminated.

    A practical role breakdown looks like this:

    • Default conversation role: The single entry point for the user. It understands instructions, clarifies definitions, and confirms the decomposition plan.
    • Chief analyst role: Decomposes tasks, assigns kanban cards, consolidates conclusions from all parties, and issues confidence ratings and position recommendations.
    • Bull researcher: Builds the bullish logic chain and lists supporting evidence and invalidation conditions.
    • Bear researcher: Builds the bearish logic chain and specifically attacks the bull’s assumptions.
    • Technical analyst: Provides trend, volatility range, key price levels, and signal thresholds.
    • Market researcher: Fills in macro, supply-chain, inventory, and sentiment information.
    • Risk control role: Defines maximum drawdown constraints, per-trade risk budget, and stop-loss discipline.
    • Memory and reflection role: Reviews deviations in historical conclusions and accumulates reusable experience.

    The key design here is role isolation plus deliverable-driven collaboration. Isolation ensures each role digs deep only within its own context, while deliverable-driven collaboration makes the process auditable.

    3. Six General Capabilities That Support Collaboration

    To make the architecture actually run, six engineering capabilities are required. None of them is exclusive to a particular product; they are common capability categories in current multi-agent platforms:

    1. Profile: Maintains an independent configuration and memory for each role, achieving “one person, one cell.”
    2. Skills: Packages domain knowledge, analysis templates, and metric calculation scripts into reusable modules.
    3. Kanban: Carries task status in card form, moving from to-do to in-progress to delivered.
    4. Dispatcher: Dispatches tasks based on dependencies and handles both parallel and serial execution.
    5. Scratch workspace: Each role produces drafts and intermediate files in an isolated directory.
    6. Heartbeat-reclaim: Periodic wake-up, timeout reclaim, and failure retry.

    A schematic task flow can be abstracted as:

    1. User instruction
    2. -> Default role clarifies definitions
    3. -> Chief role creates cards on the kanban
    4. -> Bull / bear / technical / market roles execute in parallel
    5. -> Risk control role validates the risk budget
    6. -> Chief role consolidates and outputs the report
    7. -> Memory and reflection role archives deviations

    4. Timeline Breakdown of a Complete Run

    Taking “analyze a certain chemical futures contract” as an example, the end-to-end time is roughly a dozen minutes, of which the actual agent runtime is under ten minutes and the rest is plan-confirmation interaction.

    • T0: The user enters a single natural-language instruction.
    • T0+30s: The default role asks back about definitions (time horizon, position size, risk appetite), and the user confirms.
    • T0+1min: The chief role generates four parallel cards and one risk control card on the kanban.
    • T0+1–6min: The four research roles produce structured conclusions in their own workspaces.
    • T0+6–7min: The risk control role calculates the risk budget and flags conflicting items.
    • T0+7–9min: The chief role consolidates and outputs confidence, position range, and five observation thresholds.
    • T0+9min: The memory and reflection role writes the deviation record for this judgment.

    The final report typically contains: a conclusion summary, a bull/bear evidence comparison, a key threshold table, position and stop-loss recommendations, a confidence score, and an explanation of “which missing information limits confidence.” The greatest value of this structure is that it is verifiable: every conclusion can be traced back to a specific role’s deliverable.

    5. Three Engineering Checklists

    Checklist 1: Role Configuration Checklist (Example)

    Role Core Responsibility Key Constraint
    Default conversation Clarification and confirmation Must not overstep and give conclusions
    Chief analyst Consolidation and grading Must state confidence
    Bull research Bullish argumentation Must state invalidation conditions
    Bear research Rebuttal and stress testing Must cite the bull’s assumptions
    Technical analysis Price levels and signals Thresholds only, no sentiment
    Market research Macro and industry Must note information timeliness
    Risk control Risk budget Can veto conclusions
    Memory and reflection Deviation review Records only, does not intervene

    Checklist 2: Skill Pack Checklist (Example)

    • Metric calculation skill: general statistical calculations such as volatility, quantiles, and basis.
    • Report template skill: unified output structure and field definitions.
    • Data validation skill: missing value, outlier, and time-alignment checks.

    Checklist 3: Common Instruction Checklist (Example)

    • “Analyze a given product, one-week horizon, 2% risk budget.”
    • “Only look at the bear logic and run a stress test.”
    • “Recalculate confidence and explain the missing data.”
    • “Archive this conclusion to the review library.”

    6. Evolution Roadmap: From Futures to Stocks, From Passive to Proactive

    There are two main lines for the next stage of evolution. The first is asset class expansion: the logic of multi-role division of labor is weakly coupled to the asset class, so migrating from futures to equity research only requires swapping the skill packs and data definitions. The second is proactive push: through scheduled heartbeats the system runs autonomously, decides on its own which instruments are worth flagging, and pushes conclusions to instant messaging tools. Engineering-wise, three additional things must be handled: push frequency control, false-positive suppression, and a conclusion-expiry reclaim mechanism.

    7. Practical Recommendations and Risk Notes

    • Define the scope before discussing intelligence: Most disagreements in research conclusions come from inconsistent definitions rather than model capability.
    • Enforce a counter-role: A bullish conclusion without counterargumentation should have its confidence systematically downgraded.
    • Confidence must be explainable: Do not give only a score; state the limiting factors.
    • Preserve human veto power: In automated push scenarios, the risk control role should have veto authority.
    • Isolation over sharing: Sharing intermediate artifacts is the main source of context contamination.

    Overall, the value of multi-agent collaboration lies not in “writing more,” but in making the implicit division of labor, validation, and review processes in investment research explicit and engineered, upgrading the output from “a paragraph” to “auditable decision material.”