Multi-Agent Architecture for Investment Research: A Practical Build Guide
This article walks through building a multi-agent system for investment research, explaining why single-turn LLM chat falls short in this domain and how role isolation, explicit workflows, and reusable skill packages address that. It covers the seven-role pipeline, six core mechanisms, a sample methanol analysis report, three reference checklists, and practical advice for developers adapting the architecture to other research domains.
1. Why Single-Turn Q&A Falls Short in Investment Research
Using a general-purpose LLM directly as an “investment research assistant” quickly runs into three walls.
The first is context contamination. When bullish and bearish evidence sit in the same conversation, the model tends to produce a fence-sitting conclusion that “both sides have a point,” and the two lines of reasoning dilute each other. The second is lack of process visibility. A single prompt returns a block of text, and you cannot tell which conclusions are backed by data and which are just the model’s associations. The third is that capability does not accumulate. You tune the prompt correctly this time, then switch to a different instrument and have to start over; domain knowledge stays scattered across chat logs and cannot be reused.
The value of a multi-agent architecture is precisely that it separates these three concerns: role isolation solves stance contamination, an explicit workflow solves process visibility, and skill packages solve knowledge reuse. The system described below was built around these goals.
2. Overall Architecture: Seven Roles and One Pipeline
The system consists of several independently configured profiles. Each profile acts as an “AI role” with its own model selection, persona rules, memory space, and skill set. Once started, the roles are isolated runtime units: they cannot see each other’s intermediate outputs and can only exchange conclusions through an explicit task board.
The roles are divided as follows:
| Role | Responsibility | Key Output |
|---|---|---|
| Default entry | Parse instructions, confirm the decomposition plan | Task list |
| Bull researcher | Find evidence supporting a rise | Bullish arguments + strength |
| Bear researcher | Find evidence supporting a decline | Bearish arguments + strength |
| Technical analyst | Price-volume, structure, key levels | Support and resistance levels |
| Market researcher | Supply chain, inventory, macro | Fundamental variables |
| Risk control | Stress testing and position constraints | Max drawdown estimate |
| Memory reflector | Review historical judgment bias | Rule corrections |
The pipeline follows a “dig separately, then synthesize centrally” pattern. The entry role breaks the task into non-interfering subtasks and writes them to the board; the four research roles claim them in parallel; risk control inserts a constraint before conclusions are aggregated; finally, the role acting as chief investment officer performs cross-validation and weighting, then outputs a unified report.
The key design point here is that isolation and convergence must appear as a pair. Isolation without convergence yields four unrelated fragments; convergence without isolation regresses to the old single-turn Q&A problem.
3. Six Key Mechanisms
Role configuration. Manage “personas” as code: each role has an independent configuration containing its scope of responsibility, prohibited actions, and output format template. Changing one role’s behavior does not affect the others, which is the foundation of debuggability.
Skill packages. Encapsulate reusable domain methods as skills, for example “three-stage cross-validation of inventory data” or “the priority of round-number key levels.” A skill is the smallest unit of knowledge accumulation and can be mounted directly across instruments and markets.
Task board. All subtasks, claim status, and output links land on a shared board. Roles do not talk to each other directly; they only read from and write to the board. The benefit is that the whole process is auditable, and any step can be traced back to who produced a conclusion, based on what, and at what time.
Scheduler. Dispatches tasks according to dependencies, handles ordering constraints such as “technical levels must come before risk control,” and retries or degrades when a role fails so the whole chain does not stall.
Isolated workspaces. Each role writes intermediate files in its own directory so nothing overwrites anything else. Data, scripts, and charts are archived separately, which avoids write conflicts and lets the final report be traced item by item back to its original basis.
Scheduling and reclamation. A heartbeat mechanism runs the system on a set cycle and automatically reclaims idle resources; combined with proactive push, the system can decide on its own which instruments are worth flagging and deliver conclusions to an instant messaging tool, without a human having to ask first.
4. What a Full Run Looks Like
The input is a single sentence: “analyze methanol.” After that, interaction happens only at the plan confirmation step: the entry role proposes a decomposition plan, the human confirms or adjusts it, and execution is fully automated from there.
The report produced a dozen or so minutes later contains these fields:
Instrument: MethanolDirection bias: Bullish (confidence 0.68)Confidence basis: 3 fundamental signals in alignment / 1 technical divergencePosition sizing: No more than 8% of total capital per tradeObservation thresholds:1) Inventory MoM decline > 5% -> add position signal2) Main contract open interest drops 20% sharply -> reduce position signal3) Effective breakout of key resistance -> trend confirmation4) Downstream operating rate falls below threshold -> thesis invalidated5) Daily volatility > 2σ -> pause opening new positionsBull-bear disagreement: The bear side is more confident about the durability of demand
The pure agent run takes under ten minutes; the rest is the interaction time spent confirming the decomposition plan with the entry role. Note the “thesis invalidated” type of threshold in particular: it is more valuable than a directional call, because it states explicitly under what conditions you should admit the judgment was wrong.
5. Three Reference Checklists
Role checklist (seven): entry, bull, bear, technical, market, risk control, memory reflection, plus a default configuration for everyday conversation.
Skill checklist (two to start): first, data cross-validation, which requires at least two independent sources for the same conclusion; second, structured report output, which fixes the field order for confidence, position sizing, and thresholds so reports for different instruments can be compared side by side.
Command checklist (about ten): initialize the environment, create a role, mount a skill, view the board, claim a task, submit output, start synthesis, export the report, configure scheduling, start and stop the heartbeat. Keeping commands few and stable matters more than piling on features.
6. Reusability and Implementation Advice
Migrating this architecture to equity research is low-cost: the responsibility definitions for the bull, bear, technical, and risk control roles barely change, and the main work is swapping data sources and adjusting the domain rules in the skill packages.
Four suggestions for developers about to start. First, build isolation and the task board before adding intelligence; when the process is opaque, improving model capability yields limited returns. Second, enforce structured output; fixed fields are what make automated comparison and traceability possible. Third, write “invalidation conditions” into the report; risk control is worth more than directional prediction. Fourth, pair scheduled tasks with resource reclamation and rate limits, otherwise the heartbeat becomes a cost black hole.
Note that this article focuses on architecture and checklists. The specific persona rules, scripts, and knowledge base for each role are implementation details and are best documented separately, so the architecture explanation does not get drowned in detail.
