Multi-Agent Investment Research System Architecture: Design and Engineering Practices

    This article explains how to design a multi-agent investment research system by splitting responsibilities by cognitive function rather than organizational structure. It covers role isolation, least-privilege tool access, schema-validated handoffs, confidence scoring, threshold-driven outputs, long-term memory and scheduling, observability, and common failure modes. Readers will learn how to turn one-off reports into traceable, auditable, and event-driven workflows.

    1. Why Single Agents Fall Short in Investment Research

    Producing an institutional-grade research report with confidence scores, position sizing suggestions, and observable thresholds from a single natural-language instruction is not the result of a “stronger model.” It comes from a change in engineering structure. Applying a general-purpose agent directly to financial research typically exposes three problems.

    The first is context contamination. Market data retrieval, financial statement parsing, news sentiment summarization, and risk/compliance checks have conflicting context requirements: some need large volumes of time-series numbers, while others need long-form semantic text. Putting them in the same session dilutes attention, and key numbers are easily “averaged out.”

    The second is that errors cannot be attributed. When a single role outputs a conclusion in one pass, a wrong number could come from data retrieval, unit or definition conversion, or the reasoning step, and there is no way to tell which. Investment research demands far more auditability than general Q&A, and unattributable errors mean the system cannot go live.

    The third is the lack of continuous monitoring. Real investment research is not passive question answering; it builds an indicator dashboard around an instrument and proactively generates analysis when thresholds are breached. This requires scheduled execution, state storage, and event-driven behavior, not just a chat entry point.

    The multi-role architecture targets these three issues: role isolation for clean context, structured handoffs for attribution, and scheduling plus state for proactivity.

    2. Role Design: Split by Cognitive Responsibility, Not Department Name

    A common mistake is naming roles after the org chart, such as “macro team” or “commodities team,” which leads to overlapping duties and fuzzy boundaries. A more reliable approach is to split by cognitive action, giving each role one job whose output can be mechanically validated downstream.

    • Data steward: retrieves and cleans data, producing standardized datasets with timestamps, source tags, adjustment methods, and unit definitions. It does not interpret the data.
    • Quantitative analyst: performs statistics and indicator calculations only, such as volatility, term structure slope, and inventory year-over-year change, outputting values and calculation steps.
    • Fundamental analyst: handles mixed qualitative and quantitative information such as supply and demand, capacity, and operating rates, outputting a driver list with directional judgments.
    • Sentiment analyst: performs sentiment and event extraction on text and must provide original quoted snippets for traceability.
    • Risk analyst: covers stress scenarios, correlation shifts, liquidity, and margin constraints, with veto-style risk warning authority.
    • Chief synthesizer: does not retrieve data directly; it performs weighted aggregation and conflict resolution over upstream structured conclusions, then provides confidence and position sizing suggestions.

    The key design principle is that downstream roles must not modify upstream data; they can only flag objections. This makes any conclusion traceable back along the chain to specific data and calculation steps.

    3. Isolated Execution and Least-Privilege Tool Access

    Each role should run in its own working directory and session context. Only two types of objects are shared: an append-only event log and versioned structured artifacts. At the filesystem level, use per-role subdirectories with write access limited to the role’s own directory and read-only access to upstream directories.

    Tool permissions follow least privilege. The data role can access the network and data APIs; analysis roles are allowed local computation and chart rendering only; the synthesizer should in principle have no external access, preventing it from introducing unverified new data during aggregation.

    An illustrative role configuration is shown below (field names are for illustration only and do not represent a specific product interface):

    1. role: quant_analyst
    2. workspace: ./runs/{run_id}/quant
    3. readonly_inputs:
    4. - ./runs/{run_id}/dataset
    5. tools:
    6. - local_compute
    7. - chart_render
    8. network: false
    9. output_contract: quant_result.schema.json
    10. max_steps: 40

    Budget constraints such as max_steps are important. An agent without step and time limits will repeatedly retry when data is missing, ultimately showing up as “no result after ten-plus minutes and a rising bill.”

    4. Handoff Contracts: Make Collaboration Verifiable

    Roles should not pass messages freely in natural language; they should pass structured objects constrained by schemas. This yields three direct benefits: automatic validation, diffability, and replayability.

    1. {
    2. "role": "fundamental",
    3. "run_id": "2026-08-25-methanol-01",
    4. "drivers": [
    5. {"name": "operating rate", "value": 0.62, "unit": "ratio", "direction": "bearish", "confidence": 0.7}
    6. ],
    7. "conflicts": ["opposite direction to the inventory year-over-year conclusion"],
    8. "citations": ["dataset://inventory/2026-W34"]
    9. }

    The conflicts field is the pivot of the whole mechanism. The synthesizer does not need to decide who is right; it counts the number and severity of conflicts and maps them to a confidence discount.

    5. Confidence Scoring and Threshold-Based Output

    Confidence should not be a model “feeling”; it should be composed of computable items such as data completeness, source consistency, inter-role conflict rate, sample coverage duration, and sensitivity of key assumptions. A simple implementation is a weighted product:

    1. confidence = completeness^w1 * consistency^w2 * (1 - conflict_rate)^w3 * sensitivity_factor^w4

    Position sizing suggestions are determined jointly by confidence and risk budget, with the risk role holding constraints on maximum drawdown and margin usage. The final report should include several observable thresholds, such as week-over-week inventory change, the critical point where the term structure flips from contango to backwardation, and operating rate ranges. Thresholds turn a one-off report into continuous monitoring rules: a scheduler periodically refreshes data and triggers a new analysis round only when a threshold is crossed, reducing compute cost from “scheduled full runs” to “event-driven.”

    6. Long-Term Operation: Memory, Scheduling, and Cost Control

    Long-term operation requires three layers of memory: a raw data layer (append-only and versioned), a conclusion layer (structured artifacts and confidence history), and an experience layer (which assumptions were later proven biased). The experience layer is the practical landing point for “continuous learning”: it does not change model weights but injects historical biases into the next prompt through retrieval.

    For cost control: use small models for extraction and formatting, and reserve large models for synthesis and conflict resolution; cache upstream artifacts and reuse them by content hash; set triple limits per run on steps, duration, and number of calls.

    7. Observability and Human Review

    What needs to be recorded is not only the final report but also each role’s input summary, tool calls, elapsed time, artifact hashes, and rejection reasons. Distributed tracing and centralized logging are common practices, complemented by monitoring and alerting that cover failure rates and timeouts. Human review should be a first-class citizen: trading-related suggestions default to a “pending confirmation” state and enter execution only after human approval. If deployed in the cloud, container platforms can host isolated execution, object storage can hold artifacts, message queues can distribute events, and logging and monitoring services can provide observability; these are general capability categories, and specific choices should be evaluated based on your own scale.

    8. Common Failure Modes and How to Avoid Them

    One is too many roles, where handoff overhead exceeds the benefit; start with three to four roles. Two is contracts that are too loose, where free text flows back and validation breaks. Three is missing thresholds and scheduling, causing the system to degrade into one-off Q&A. Four is confidence that lacks an explainable breakdown, leaving users unable to judge which part to trust. All mitigations point to the same principle: turn collaboration into a verifiable data flow and turn conclusions into monitorable rules.