How to Build a Multi-Agent Value Investing Research Framework
A practical guide to building a multi-agent framework for value investing research. It explains why a four-role, parallel architecture outperforms a single conversational LLM, how to model each investing methodology as a prompt contract with structured outputs, and why the framework deliberately avoids averaging agent opinions in favor of surfacing disagreement. The article also covers organizing skills into layered categories, enforcing binary pass/fail checks that forbid hedging, implementing the system through command-line slash commands with three-tier context injection, and deploying it as a cloud service. Finally, it defines the framework's boundaries: it is research and argumentation infrastructure, not a stock predictor or a substitute for position management.
How to Build a Multi-Agent Value Investing Research Framework
1. Why “four roles + parallel execution” has become a common architecture for investment-research agents
Encoding the methodologies of several investing masters as separate, independent agents is a mainstream way to implement vertical research frameworks in today’s agentic programming environments. The reasoning is pragmatic rather than romantic: a single-pass conversational LLM has three structural weaknesses in investment research.
First, when every perspective is stuffed into the context at once, the model degrades into a “weighted average of opinions” — a balanced summary that lacks conviction. Second, as the prompt grows longer, instruction-following quality drops. Third, a single conversation cannot advance multiple research threads in parallel on the same target.
The role-based, parallel architecture addresses each of these directly. Each agent carries only one methodology and one concise set of constraints, so its attention budget stays sufficient. Running several agents on the same target lets you cover, in a short time, a process that would otherwise take an analyst days. And the output is split into multiple independent conclusions instead of one diluted consensus.
The key point to emphasize is that the value of this kind of framework does not come from “simulating the masters.” It comes from turning reusable research procedures into engineering assets. The personas are just human-facing labels for a methodology; what actually gets reused, iterated, and version-controlled is the set of decision checklists and the order in which questions are asked.
2. Role modeling: abstracting investment methodology into prompt contracts
2.1 Dividing the four roles
In an effective multi-agent investing framework, the roles must be orthogonal, not interchangeable. A common split is:
- Long-term value investor — Focuses on the quality of the business itself: the ability to generate free cash flow, the historical record of capital allocation, whether management is genuinely long-term oriented, and the predictability of “whether this company will still exist in ten years.” Typical output is a judgment on moat type and endgame industry structure.
- Mental-models expert — Responsible only for reverse reasoning. The core instruction is “no valuation, only falsification”: list the paths that could make this investment lose money, the scenarios in which the competitive landscape collapses, and the common-sense traps (for example, “industry growth ≠ growth in shareholder returns”). This role deliberately omits the positive case to avoid duplicating role one.
- Simple-business operator — The pickiest about business models. Its attention is narrowed to a very small set of questions: where does the revenue come from, why don’t customers switch suppliers, does the cost curve fall with scale, and who holds pricing power. Its signature style is a refusal of complex narratives — it prefers to explain the money-making mechanism in a single sentence.
- Circle-of-competence gatekeeper — Draws the boundaries and prices the risk. It separates the “three years you understand” from the “ten years you don’t,” and evaluates cross-market information differences, currency and governance discounts, and the fault tolerance available at the position-sizing level.
2.2 Constraining role boundaries with structured output
What keeps roles from bleeding into one another is not the description but the output schema. Define a fixed set of fields for each role, and out-of-scope content cannot disguise itself as a conclusion:
## Role contract example (Mental-models expert)You only produce failure analysis. Do not give buy/sell recommendations, and do not estimate a target price.You must output:1. A list of collapse scenarios (each must include a trigger signal and an observable metric)2. The assumptions most likely to be falsified within three years (no more than 3)3. One "if I'm wrong, where am I wrong" self-check statementIf you cannot list any collapse scenario, output: "Cannot falsify: this target is outside my circle of competence."
That last rule — “explicitly fail when there is nothing to report” — is extremely important. It turns silent, mediocre output into a detectable anomaly, and that is the precondition for letting the agent actually participate in a decision.
3. Core design: why averaging is deliberately avoided
Most multi-agent systems lean toward weighted averaging: multiple conclusions are merged into a single consensus text. In investment research, that logic destroys the most valuable information.
The most useful signal in real research often comes from the shape of the disagreement, not the direction of the consensus. When the four roles reach “long-term bullish / modeler strongly opposed / operator approves the business model / gatekeeper considers it outside the circle” on the same target, that conflict is itself the research conclusion — it pinpoints exactly where the controversial variables of the stock lie. Once you average it, the four judgments collapse into a single “neutral to slightly positive,” the points of contention disappear, and the direction for follow-up tracking is lost along with them.
The recommended engineering approach is to make disagreement explicit:
- Run the four roles in parallel, each producing a conclusion and a confidence level.
- Instead of a numerical average, build a consensus–divergence matrix: mark which judgments all roles agree on (high confidence) and which are pairwise opposed (require human review).
- For the opposed items, add an adjudication agent whose job is not to vote but to attribute the disagreement to specific assumptions and to state which of those assumptions can be verified against public data.
This design also explains a common objection raised in the community: even when all four roles score a company highly, people may still fail to hold the position when the stock price halves. That is precisely why the framework’s positioning has to be correct — it is infrastructure for research and argumentation, not a substitute for holding behavior. A score solves “do I understand it”; holding depends on position sizing and risk budgeting, and the two must not be conflated. What the framework should really do is fold the “I might not be able to hold” layer into the checklist as well — for example, forcing an explicit answer to “what drawdown would cause me to change my judgment” during the verification step.
4. Capability layering: organizing 16 skills into four categories
The investment-research workflow is naturally layered, and organizing a skill catalog by process stage is more conducive to reuse and invocation than organizing it by topic:
- Research layer — Basic data collection and fact-checking, deep research by a single agent, parallel team research across roles, and long-horizon, serialized deep tracking.
- Financials layer — Structured reading of earnings reports and year-over-year / quarter-over-quarter breakdowns, and multi-role parallel financial review (who checks accounting quality, who checks cash flow, who checks whether management guidance is being met).
- Screening layer — Industry funnel narrowing, single-target quality scoring, and the final decision-checklist verification.
- Portfolio layer — Holdings-portfolio review, investment-thesis lifecycle tracking (is the thesis being confirmed or refuted), and event-driven news-pulse scanning.
The direct benefit of layering is single responsibility and composability. Initial screening uses a funnel to filter in bulk; shortlisted targets then enter parallel deep research; the research conclusions are written into a thesis-tracking table; and when the next quarterly report arrives, you run only the financial-review step and compare it against the earlier thesis assumptions. Across the whole chain, every step produces machine-readable structured output that can be written directly to storage, forming a traceable research archive.
5. Final verification: writing “no hedging” into the prompt
The failure point of most investment-research prompts is that they allow vague phrasing: “has long-term allocation value,” “fundamentals should be monitored for further changes.” Sentences like these hold for any target at any time, and therefore carry no information.
The engineering fix is a binary final check, expressed as a hard constraint:
## Final-check rules (no hedging)1. Only PASS or FAIL is allowed. Do not output "partially passed" or "conditionally passed."2. The output must not exceed 5 sentences, and each sentence must contain one verifiable fact or figure.3. If vague qualifiers such as "needs attention" or "may carry some risk" appear, treat the output as invalid and regenerate it.4. When the result is FAIL, cite the specific clause number that caused the rejection.
The key to this kind of design is turning “evasion” into a determinable violation. Once vague wording is explicitly defined as an error, the model can no longer escape with boilerplate, and outputs become comparable. Only a forced pass/fail lets you rank multiple targets against one another.
6. Implementation: directory structure, command wrapping, and knowledge injection
Take a command-line agentic coding tool as an example. The typical setup is to place the skills as Markdown files in a user-level command directory and then trigger them with slash commands:
# Example directory structure~/.claude/commands/├── investment-research.md # Single-role deep research├── investment-team.md # Four-role parallel research├── earnings-review.md # Structured earnings review├── earnings-team.md # Multi-role earnings review├── industry-funnel.md # Industry funnel narrowing├── quality-screen.md # Single-target quality scoring├── investment-checklist.md # Binary final check├── portfolio-review.md # Portfolio review├── thesis-tracker.md # Thesis tracking└── news-pulse.md # Event pulse scan# Invocation/investment-team Company-X/news-pulse Company-X/earnings-team Company-X
For knowledge injection, a three-tier approach is recommended to avoid stuffing the entire methodology into the context:
- Role layer — The fixed persona, perspective, and prohibitions. Short and stable, it can be cached over the long term.
- Skill layer — The method, steps, and output schema for the current task; this changes with the command.
- Data layer — The target company’s financials, announcements, and industry data, injected on demand through retrieval and labeled with their sources in the output so a human can trace and verify them.
This layering is consistent with the “hierarchical context loading” practice in mainstream agentic coding tools: the more stable the content, the earlier it is placed; the more volatile the data, the later it is injected — which keeps instruction-following quality high under a limited context budget.
7. Embedding AI-driven investment research into a cloud engineering system
To upgrade this framework from a personal script into a service a team can use, the cloud side needs to fill in several general-purpose capabilities:
- Task orchestration — Invocation of parallel agents, timeout control, failure retries, and result aggregation, carried by containerized services or a workflow engine.
- Data ingestion — Collection, cleaning, and structuring of announcements and financial-report text, with object storage holding the raw files and a retrieval service supporting long-document Q&A.
- Knowledge base and vector retrieval — Turning role methodologies, historical theses, and industry research into retrievable assets so you don’t start from scratch every time.
- Observability — Recording each agent’s prompt version, inputs, outputs, and latency, so that logging services and monitoring alerts can help locate “which step caused the conclusion to become distorted.”
- Cost governance — Counting model invocations per role and applying caching and degradation strategies to high-consumption steps, to avoid cost overruns amplified by parallelism.
Baidu AI Cloud offers corresponding product categories across these general capabilities for selection, and enterprises can combine them according to their own data-compliance requirements and concurrency scale. The emphasis, though, should still be on building evaluation sets and traceback mechanisms — without measurable evaluation, any improvement in a multi-agent system is just a subjective impression.
8. Conclusion and scope of applicability
The real contribution of this framework is moving “intellectual conflict” out of interpersonal discussion and into a reproducible engineering process: role orthogonality guarantees the perspectives don’t overlap, the ban on averaging guarantees disagreements aren’t smoothed away, the binary final check guarantees the output can be judged, and the layered directory guarantees the process can be composed and reused.
At the same time, its boundaries must be clear. It does not predict stock prices, it does not replace position management, and it cannot solve the behavioral problem of “seeing clearly yet failing to hold.” What it provides is a high-quality list of questions and falsification paths — it lets a researcher know which assumption they are standing on and which metric to watch first should that assumption crack. That is currently one of the most solid footholds for AI in investment research.
