Multi-Agent Architecture for Investment Research: A Practical System Design
This article presents a practical architecture for a multi-agent investment research system built on large language models. It explains why a single LLM conversation cannot support real research work—context limits, the tendency toward compromise answers, and the lack of a process—and then walks through the system design: independently configured role profiles, reusable domain skills, a shared task board, a dispatcher, isolated scratch workspaces, and a heartbeat-reclaim mechanism. It also covers six key capabilities, the shape of a full run, a fixed four-part report format, the role/skill/command inventory, and lessons learned for teams building similar agent workflows on general cloud infrastructure.
1. Why a Single Conversation Cannot Carry Investment Research
Using a large language model directly as an “analyst” quickly runs into three walls.
The first is the context wall. A complete analysis of a single commodity has to hold fundamentals data, upstream and downstream supply chain information, position structure, technical indicators, historical reviews, and risk control rules all at once. Packing all of that into one conversation dilutes the model’s attention, and conclusions tend to stay at the level of “everything looks reasonable.”
The second is the stance wall. Single-pass generation naturally leans toward a compromise answer, yet the value of investment research comes precisely from disagreement—the bullish case and the bearish case must each be argued independently and in full, then cross-validated. A compromised conclusion usually has neither favorable odds nor a high win rate.
The third is the process wall. Real investment research follows a sequence of steps: decompose the question, gather evidence in parallel, cross-examine, and finally produce a unified output. Compressing those steps into a single Q&A effectively removes the quality control stage.
This is where multi-agent collaboration adds value: it does not make the model “smarter,” it engineers the research process—role separation buys independence, isolated environments buy evidence quality, and an aggregation stage buys consistency in the final conclusion.
2. Overall Architecture of the Target System
The system consists of several independently configured role instances, a reusable set of domain skill packages, a shared task board, a dispatcher, a scratch workspace, and a scheduled reclaim mechanism. The control flow can be summarized as:
User instruction in natural language↓Entry role: intent recognition + task decomposition↓Shared board: write task cards (owner / dependencies / acceptance criteria)↓Dispatcher assigns work by dependency → roles gather evidence in parallel in isolated workspaces↓Risk control role reviews independently → aggregation role unifies the output↓Structured report (conclusion / confidence / position suggestion / observation thresholds)
The most important design choice here is the combination of “shared board + isolated workspaces.” The board carries only task status and final conclusions, not process debris; intermediate artifacts all stay in each role’s own temporary directory, so nobody needs to read anyone else’s drafts. This avoids cross-contamination of context and also makes the whole flow observable—when something goes wrong, you can pinpoint exactly which card or which role is stuck.
3. Six Key Capabilities and How They Are Used
Role configuration (Profile). Each role is an independent configuration: model choice, persona rules, memory space, and skill set all differ. The bullish analyst and the bearish analyst work from the same data but are required to build their argument chains in opposite directions, and neither is allowed to see the other’s conclusion, which prevents premature convergence. The aggregation role receives all conclusions and is responsible for resolving conflicts and producing a unified output.
Skill package (Skill). Domain knowledge is distilled into reusable units instead of being improvised through prompts each time. The system has only two skill packages: one handles data acquisition and cleaning (unified processing of standard metrics such as quotes, basis, inventory, and operating rates), and one handles report rendering (turning structured fields into a fixed layout). The value of skill packages is version control—when a metric definition changes, you fix it in one place and every role picks it up.
Task board (Kanban). Decomposition results become task cards, each carrying an owner, prerequisite dependencies, and acceptance criteria. The board is the basis for parallel scheduling and also the basis for resuming from a breakpoint: after an interruption there is no need to start over, you only check which cards have not reached the completed state.
Dispatcher. Tasks are dispatched along the dependency topology: cards with no dependencies are pushed in parallel to multiple roles, while cards with dependencies are held until they can run. In practice you need to watch the concurrency limit—rate limits on data interfaces usually become the bottleneck before model concurrency does.
Scratch workspace. Each role gets a writable directory holding raw fetched data, intermediate scripts, and charts. Its purpose is to separate “gathering evidence” from “drawing conclusions”: the aggregation stage reads only conclusions and is not disturbed by raw noise.
Heartbeat and reclaim. Long-running instances need periodic heartbeats to stay alive, and workspaces that time out or sit idle get reclaimed to avoid disk and process leaks. In multi-role long-running scenarios this is not optional but a prerequisite for stability.
4. What a Complete Run Looks Like
Given the input “analyze methanol,” the system’s actual sequence is roughly: the entry role asks back and confirms the decomposition plan (the only step that requires human involvement), then the board generates six to eight cards; the data role pulls spot prices, basis, inventory, and plant operating data; the technical role independently performs price-volume and structure analysis; the bullish and bearish sides each produce a complete argument; the risk control role stress-tests both conclusions and checks for shared blind spots; the aggregation role outputs the final report.
The report has a fixed four-part structure:
Conclusion: direction + ranked driversConfidence: score in the 0–1 range + explanation of deductionsPosition suggestion: direction, size range, stop-loss and add-on conditionsObservation thresholds: 5 verifiable triggers (reassess if any is breached)
Confidence and observation thresholds are the two most valuable fields in this system. The former forces the model to expose the sources of its uncertainty; the latter turns a conclusion into a trackable hypothesis—the report is no longer finished once read, it waits for real data to falsify it.
5. Three Reference Lists
Role list (7+1): entry conversation role, bullish analyst, bearish analyst, technical analyst, market analyst, risk control, memory reflector, plus a default role for everyday interaction. The memory reflector does not take part in a single analysis; it only compares historical conclusions against subsequent actual price action and distills them into experience entries that feed back into later judgments.
Skill list (2): data acquisition and metric standardization, structured report rendering.
Command list (about 10): initialize the environment, create/switch roles, view the board, dispatch tasks, inspect a role’s workspace, render a report, configure the heartbeat interval, reclaim workspaces, write a reflection entry, export an archive. Keeping commands few and stable matters more than piling on features.
6. Lessons and Next Steps
Three lessons are worth recording: always have a human confirm the decomposition plan once, since rework costs far less than running in the wrong direction; keep concurrency capped, because rate limiting on the data side comes before the model side; a fixed report layout is more useful than free-form output, because only comparable reports accumulate into something.
There are two paths for further evolution. One is porting the role-division logic to equity research—the long/short framework, risk control review, and threshold tracking can be reused almost as-is, with only the data skill package swapped out. The other is adding proactive push: a scheduled heartbeat triggers routine scans, the system decides on its own which commodities have crossed a threshold, and conclusions are pushed to an instant messaging tool, turning “people looking for conclusions” into “conclusions finding people.”
When deploying on a general cloud environment, this architecture places no unusual demands on infrastructure: configurations and skill packages can live in object storage for version management, task state can land in storage with persistence or a message queue, scheduled triggering can be delegated to the platform’s scheduling capabilities, and the run itself can be covered by logging and monitoring with alerting. The overall approach is consistent with common storage-compute separation and task orchestration practices on Baidu AI Cloud; the emphasis is on making the process explicit rather than depending on any single point capability.
