Multi-Agent System Architecture for Investment Research: A Practical Guide
This article explains how to build a multi-agent system for investment research, moving beyond single-turn LLM chat to an orchestrated pipeline of isolated roles, parallel work, cross-examination, and aggregated judgment. It covers the system's overall workflow, six key capabilities (role profiles, reusable skills, a task kanban, dispatching, isolated workspaces, and heartbeat with resource reclaiming), the five-part report structure, starter checklists for roles, skills, and commands, and common pitfalls with acceptance testing advice. The core takeaway is that the payoff comes from engineering constraints: role isolation, unified calculation standards, auditable processes, and conclusions that include invalidation conditions.
1. Why Single-Turn Q&A Falls Short for Investment Research
Using a large language model directly as an “investment research assistant” tends to hit three walls within the first week.
The first wall is a single perspective. One conversation holds only one stance, and the model naturally follows the asker’s assumptions. Bullish and bearish arguments end up mixed in the same passage, leaving readers unable to judge which side has stronger evidence.
The second wall is context pollution. When bullish arguments, bearish arguments, technical data, and risk constraints are all packed into one context window, later content overrides the attention weight of earlier content, and the conclusion often turns into a vague compromise.
The third wall is an invisible process. Users receive only a conclusion. They cannot see the evidence chain, the points of disagreement, or the conditions under which the conclusion breaks down. For decision-support scenarios like investment research, value comes precisely from a “conclusion plus invalidation conditions.”
Multi-agent collaboration offers a different path: split “one person’s single round of thinking” into “independent work by multiple roles plus cross-adjudication by one role.” The roles are isolated from each other, each holding its own context and memory. Finally, an aggregation role aligns the evidence, flags disagreements, and assigns a confidence level. This does not make the model smarter; it makes the process closer to how a real investment research team operates.
2. Overall Shape of the Target System
The external interface is deliberately thin: a single natural-language instruction, such as “analyze a commodity futures contract.” Internally, it is an orchestrated pipeline:
- Parsing and decomposition: The entry role determines the task type, breaks a vague instruction into several parallelizable subtasks, and specifies the deliverable format for each subtask.
- Parallel work: Multiple specialized roles start simultaneously in their own isolated workspaces, without reading each other’s intermediate outputs, which prevents “copying answers.”
- Cross-examination: The bullish role and the bearish role give opposing interpretations of the same set of evidence, forcing disagreements into the open.
- Aggregation and adjudication: The aggregation role merges conclusions and outputs a directional judgment, a confidence score, a suggested position range, and a set of trackable observation thresholds.
- Persistence and reflection: After a task ends, the system writes “which judgments were right and which assumptions were wrong” back into long-term memory for reuse in later tasks.
End-to-end runtime is on the order of ten minutes. Actual agent execution takes less than two-thirds of that; the rest is interactive time for a human to confirm the decomposition plan with the system. This interaction is well worth keeping, because it leaves the decision about “task boundaries” with the human.
3. How to Use Six Key Capabilities
3.1 Role Profiles: Turning “Personas” into Versionable Assets
Each role is an independent configuration containing model selection, role rules, memory space, and a skill set. Three engineering lessons stand out:
- Write rules as “judgment criteria,” not “personality adjectives.” “You are a rigorous analyst” is nearly useless; “when evidence is insufficient, you must output a confidence level below the threshold and state which data is missing” is executable.
- Memory must be isolated. Shared memory lets the bearish role learn the bullish conclusion in advance, and independence drops to zero instantly.
- Put configurations under version control. Changes to role rules should be recorded and rollback-able; otherwise tuning becomes guesswork.
An illustrative configuration structure (field names only explain their purpose and are not a specific product interface):
role: bear_researchermodel: <selected by cost/latency>rules:- Only use data files visible in the workspace- Must provide at least three counterarguments- Lower confidence and list missing items when evidence is insufficientmemory_scope: isolatedskills: [data_fetch, indicator_calc, report_render]
3.2 Skill Packages: Making Domain Knowledge Reusable
A skill packages the “standard actions for a class of tasks”: data-fetching scripts, indicator calculation conventions, report templates, and validation rules. Its value lies in unified conventions—same-named indicators computed by different roles must be comparable, otherwise the aggregation stage is just assembling noise. A skill package should include input/output contracts, exception handling, and a minimal self-test sample.
3.3 Task Kanban: Keeping Parallelism Under Control
Parallel roles need a shared carrier for task status, used to register to-dos, in-progress items, items awaiting cross-examination, and completed items. The kanban solves three problems: tasks are not claimed twice, blockers are visible, and the aggregation role knows who to wait for. In practice, write a “deliverable plus acceptance criteria” for each subtask. Tasks with unclear acceptance criteria are the most likely to cause rework at the aggregation stage.
3.4 Dispatcher: Controlling Concurrency and Dependencies
The dispatch layer assigns tasks by dependency, limits concurrency, and handles retries, timeouts, and circuit breaking on failure. A practical rule of thumb: data-fetching tasks can run with higher concurrency, while report aggregation must be serial and allow only one instance; otherwise multiple conflicting final drafts appear.
3.5 Isolated Scratch Workspaces: A Prerequisite for Traceable Evidence
Each role has its own directory and writes only its own intermediate outputs; the aggregation role reads results through explicit “submissions.” The benefit is that every step is auditable: afterward, you can trace which calculation and which data snapshot a number came from. In implementation, snapshot input data and timestamp it so that different roles do not read data from different points in time.
3.6 Heartbeat and Resource Reclaiming: From Passive Q&A to Proactive Alerts
A scheduled heartbeat lets the system run on a cycle and decide on its own which instruments are worth alerting on; resource reclaiming cleans up expired workspaces and zombie processes to prevent disk and handle exhaustion during long runs. Together, they turn the system from “you ask, it answers” into “it runs on its own and only comes to you when something needs attention.”
4. What a Complete Run Produces
The final report should follow a fixed five-part structure for easy cross-comparison and automated parsing:
- Directional conclusion and confidence score (0–1, with the basis for the score)
- Core arguments from both bullish and bearish sides, plus points of disagreement
- Suggested position range and maximum drawdown constraint
- Five trackable observation thresholds (trigger a review when hit)
- Data gaps and invalidation conditions
The “invalidation conditions” are the most easily overlooked yet the most important for practicality: they explicitly tell the user under what circumstances this report should be discarded.
5. Three Starter Checklists
Role checklist (7 + 1): aggregation and decision, bullish research, bearish research, technical analysis, market and fundamental research, risk control, and memory and reflection, plus a default conversation entry point facing the user.
Skill checklist (start with 2): data fetching and standardization, and indicator calculation and report rendering. Build only these two first, get the conventions working, then expand.
Command checklist (around 10): initialize the environment, create/switch roles, register a task, start dispatching, view kanban status, submit a deliverable, trigger aggregation, render the report, configure the heartbeat interval, and clean up workspaces.
6. Common Pitfalls and Acceptance Advice
- Role homogenization: If the bullish and bearish roles produce highly overlapping arguments, the rule constraints are too weak; enforce a minimum number of counterarguments.
- Inflated confidence: Require confidence to be tied to data completeness, with automatic deductions for missing fields.
- Cost overruns: Set a minimum heartbeat interval and an incremental run strategy that recomputes only the parts that changed.
- Acceptance method: Replay historical market moves and check whether “the thresholds given in the report were correctly triggered afterward.” This is far more effective than judging by writing quality.
7. Conclusion
The gains from multi-agent investment research do not come from a “stronger model” but from four engineering constraints: role isolation, unified conventions, auditable processes, and conclusions with invalidation conditions. Once this skeleton is stable, migrating from commodity futures to equity research lets most role configurations and skill packages be reused directly; you only need to replace the data conventions and threshold definitions.
