Architecture and Implementation of a Multi-Agent Futures Investment Research System

    This article explains how to build a multi-agent investment research system for futures markets. It covers the core concepts (agents, role configurations, skill packages, and task boards), a seven-role design that forms a complete research loop, six key engineering mechanisms (configuration isolation, skill reuse, scheduling, temporary workspaces, heartbeat and reclamation, and durable records), and a step-by-step walkthrough using a methanol analysis example. It also discusses how to make confidence scores and observation thresholds meaningful, provides implementation checklists, and outlines boundaries when extending to equities and proactive alerts. The core message: multi-role design is only the starting point—verifiability is what makes the system trustworthy.

    1. From “Answering Questions” to “Completing Research”

    In futures research, a single agent can quickly gather and organize information, but it cannot reliably close the research loop by itself. A useful report must do more than explain price movements—it must state the data cutoff time, cite evidence sources, present opposing views, define risk conditions, and clarify the boundaries under which its conclusions become invalid.

    Therefore, the core question for an intelligent research system is not “how to make the model write like a researcher,” but “how to organize the research process into a trackable, verifiable workflow.”

    We can define the system goal as follows: when a user inputs “analyze methanol,” the system identifies the research subject and time range, decomposes the research task, lets different roles work independently, and then produces a report through evidence verification and risk review. The report should contain at least:

    • The research subject, contract scope, and data cutoff time;
    • Fundamental, market structure, and technical analysis;
    • Bullish and bearish views, each with supporting evidence;
    • Conclusion confidence level and key uncertainties;
    • Conditional risk-budget recommendations;
    • Five categories of ongoing observation indicators and conclusion-invalidation conditions.

    “Automation” here does not mean the absence of oversight. Whenever data authorization, changes in research scope, capital operations, or high-risk decisions are involved, manual confirmation checkpoints should remain in place. The system should first serve as a research assistant—it should not be granted direct trade execution permissions.

    2. Four Core Concepts in the System

    2.1 Agents: The Execution Units

    An agent typically consists of a language model, a tool-calling mechanism, context management, and task-control logic. Beyond generating text, it can—within its permitted scope—retrieve documents, read data, run calculations, and save results as structured artifacts.

    Keep in mind that the model’s analysis is only one step in the workflow. It cannot replace data quality control or business rules.

    2.2 Role Configuration: Defining Responsibilities and Permissions

    Role configuration specifies an execution unit’s research goals, accessible resources, output format, and prohibited actions. It can include model selection, instruction rules, tool permissions, knowledge resources, and memory scope.

    The number of roles does not equal the number of processes. Engineering implementations can use separate processes, separate containers, or logically isolated task sessions—choose based on security requirements and resource budgets rather than treating any one implementation as an inherent property.

    2.3 Skill Packages: Reusable Research Methods

    A skill package is not a fixed prompt. It is a set of reusable task descriptions, analysis templates, calculation rules, and validation steps.

    For example, a “futures evidence organization” skill can specify how to label statistical periods, how to distinguish actual values from forecasts, and how to handle missing data. A “research conclusion review” skill can specify how to record prediction conditions, identify reasoning errors, and update research rules.

    2.4 Task Board: Managing Research State

    A task board describes a state-management mechanism, not just a display interface. Each task should have an owner, inputs, dependencies, deadlines, and acceptance criteria.

    Basic states can be designed as:

    Pending → In Progress → Pending Verification → Completed

    Abnormal tasks enter failure, cancelled, or awaiting-manual-handling states. This is how you know which research is complete and which conclusions still lack support.

    3. How Seven Roles Form a Research Loop

    One workable design uses seven business roles, plus a user-interaction entry point. The entry point receives instructions and is not counted as a research role.

    Role Core Responsibility Primary Output
    Lead Coordinator Decomposes tasks, resolves disagreements, produces the report Synthesized conclusions and conditional recommendations
    Bull Researcher Finds factors supporting upward price movement Bullish hypotheses and evidence tables
    Bear Researcher Finds factors supporting downward price movement Bearish hypotheses and evidence tables
    Technical Analyst Analyzes price, volume, and open interest structure Trends, volatility, and key price ranges
    Market Researcher Maps the supply chain, spot market, and term structure Market facts and transmission mechanisms
    Risk Reviewer Checks data, assumptions, and risk budgets Risk checklists and constraint conditions
    Review Archivist Saves research conditions and tracks subsequent performance Review archives and candidate rule updates

    These seven roles should not all run in parallel at the same stage. A sensible sequence: the four research roles work independently first; the risk reviewer checks evidence and assumptions; the lead coordinator forms conclusions; and the review archivist files the results.

    The value of the bull/bear roles is that they actively seek alternative explanations—but they must not be forced to “prove a rise” or “prove a fall.” If the evidence is insufficient, they should be allowed to output “the current evidence does not support this direction.” Otherwise, the multi-role mechanism degenerates into organized confirmation bias.

    Similarly, multiple reports do not represent multiple independent pieces of evidence. Different roles may use the same sources, or even be influenced by similar reasoning biases. The synthesis stage should deduplicate by evidence source, not vote by counting how many roles support a conclusion.

    4. Six Key Engineering Mechanisms

    4.1 Configuration Isolation: Reducing Role Cross-Contamination

    Each role should maintain its own task context and work records, and should not see other roles’ final judgments during the initial research stage.

    Isolation, however, does not mean cutting off shared resources entirely. Raw data, indicator definitions, and research subjects should come from controlled shared inputs; intermediate reasoning and drafts stay in each role’s own workspace. The former ensures consistent data definitions; the latter reduces mutual priming.

    4.2 Skill Reuse: Unify Methods, Not Conclusions

    Shared skills should constrain analysis methods—for example, unifying inventory definitions, labeling data dates, and checking unit conversions—not preset price direction.

    Two skill packages are recommended as priorities:

    • Futures Evidence Organization skill: handles source registration, time alignment, indicator explanation, and missing-data flags.
    • Research Report Validation and Review skill: checks citations, logical consistency, risk conditions, and subsequent outcomes.

    Skill versions should be written into task records so that differences between report batches can be explained.

    4.3 Scheduling and Dispatch: Managing Dependencies Explicitly

    The scheduler should explicitly determine which tasks can run in parallel and which must wait for upstream artifacts. For example, technical analysis and supply-chain research can run in parallel; the synthesis report must wait for key evidence to complete; and if the risk review finds major issues, the report must be blocked from reaching a publishable state.

    Task completion should not be decided by free-form conversation between roles. The scheduling layer needs machine-checkable completion markers and artifact paths.

    4.4 Temporary Workspaces: Protecting Intermediate Artifacts

    Each research run should create an independent task directory, with subdirectories per role:

    1. research_task/
    2. shared_inputs/
    3. bull_research/
    4. bear_research/
    5. technical_analysis/
    6. market_research/
    7. risk_review/
    8. synthesis_report/
    9. audit_records/

    This is only a directory-organization illustration, not a specific tool interface.

    Shared evidence should use controlled writes to prevent two tasks from overwriting the same file. Final reports and source materials should be archived according to retention policies; temporary files should be cleaned up after the task ends.

    4.5 Heartbeat and Reclamation: Handling Lost Tasks

    Execution units should periodically update their running status. When the scheduler receives no status update beyond a preset threshold, it marks the task as suspected-lost and reassigns it according to policy.

    Duplicate execution must be handled carefully: a lost task may still be running while a new one has already started. Task identifiers, execution batches, and submission checks should therefore be used to ensure the same artifact is never published twice. For external actions such as message pushes, idempotency controls are also required.

    4.6 Durable Records: Making Conclusions Reviewable

    Long-term records should store research scope, evidence versions, key assumptions, prediction conditions, and subsequent outcomes—not just conversation logs.

    Model outputs must not be written into long-term facts without review. Accumulated stale judgments, incorrect citations, and short-term noise will pollute future research. Records should carry state, timestamps, and validity periods, and should support revocation when necessary.

    5. Worked Example: Running “Analyze Methanol”

    Step 1: Complete the Research Scope

    “Analyze methanol” is not enough to define a complete task. The system needs to identify or ask:

    • Spot market, a specific futures contract, or the term structure;
    • Short-term observation or medium-term supply/demand study;
    • The data cutoff trading day;
    • Whether the user’s existing positions should be considered;
    • Research-only output, or risk-budget scenarios as well.

    If default rules exist, they must be written into the report—assumptions must not be hidden.

    Step 2: Build a Shared Evidence Base

    Methanol research can be organized around supply, demand, inventory, costs, spot prices, and futures structure. All roles should use the same indicator definitions, with clear inventory statistical scope, price units, and data frequency.

    Each piece of evidence should include at least: indicator name, value or verbatim summary, source description, statistical period, retrieval time, data definition, and missing-data status.

    Data that cannot be obtained must be explicitly flagged—never filled in by model speculation. Historical data, real-time quotes, and forecast values must also be clearly distinguished.

    Step 3: Independent Research with Structured Submission

    Each research role submits not just prose but a “viewpoint–evidence–reasoning–counter-evidence–invalidation conditions” structure.

    For example, the judgment that “falling inventories support prices” also needs to explain whether the decline comes from improving demand, reduced imports, or changes in statistical scope. Only by identifying the cause can you judge whether the change is persistent.

    Step 4: Cross-Verification and Disagreement Handling

    The lead coordinator first checks factual conflicts, then handles disagreements in views. If two documents use different time ranges, align them first; if the same indicator shows different values, verify the sources and definitions.

    When evidence is insufficient, you can either lower the conclusion’s strength or dispatch additional tasks—but you should not force a resolution just to produce a clear directional call. “No judgment yet, awaiting key data” is also a valid outcome.

    Step 5: Output a Bounded Report

    The report should separate observed facts, inferences, and action conditions. Risk-budget recommendations should use conditional language and depend on actual inputs such as account size, contract multiplier, margin requirements, stop-loss distance, and liquidity.

    When this information is missing, the report can only discuss risk-budget methodology—it must not give position sizing that would apply to all users.

    6. Making Confidence Scores and Five Observation Thresholds Meaningful

    6.1 Confidence Is Not the Model’s Gut Feeling

    A score without historical calibration can only be called an evidence-quality or judgment-strength score—it cannot be interpreted as the probability of getting the direction right.

    Scoring criteria can include data completeness, source reliability, timeliness, evidence consistency, and counter-evidence strength. If you want to output probabilities, you must first define prediction events and time windows, then validate calibration with sufficient historical samples.

    6.2 Five Threshold Categories Must Be Logically Grounded

    Methanol research can set the following five observation categories, but specific values must come from real data and research methodology:

    1. Inventory threshold: whether inventory changes exceed the seasonal range.
    2. Supply threshold: whether changes in operating rates, maintenance, and imports alter supply expectations.
    3. Demand threshold: whether downstream operating rates and margins support the demand hypothesis.
    4. Price structure threshold: whether basis or calendar spreads confirm the supply/demand judgment.
    5. Risk threshold: whether volatility, liquidity, or expected loss breaches the risk budget.

    Each threshold must specify its data source, frequency, trigger condition, confirmation rule, and post-trigger action. A triggered threshold can mean re-opening the research, lowering judgment strength, or sending an alert—it should not default to a buy/sell instruction.

    7. Three Implementation Checklists

    Checklist 1: Onboarding the Seven Roles

    Before each role goes live, confirm: whether responsibilities overlap; whether inputs are clear; whether tool permissions are minimized; whether outputs are verifiable; and whether a fallback path exists on failure.

    The risk reviewer should have the authority to block unqualified reports from publication. The review archivist must not directly modify already-published historical conclusions—changes should be saved as appended revision records.

    Checklist 2: Acceptance Checks for the Two Skill Packages

    The evidence-organization skill focuses on source traceability, unit consistency, time alignment, and missing-data flags.

    The report-validation and review skill focuses on whether conclusions exceed the evidence, whether counter-evidence was omitted, whether risk conditions are explicit, and whether historical judgments can be re-evaluated under their original conditions.

    Checklist 3: Ten Operational Capabilities

    These are plannable system capabilities, not specific product commands:

    1. Create a research task;
    2. Confirm research scope;
    3. View task status;
    4. View the evidence catalog;
    5. Pause a task;
    6. Cancel a task;
    7. Retry a failed subtask;
    8. Add a verification task;
    9. Export reports and audit records;
    10. Record subsequent outcomes and trigger a review.

    These capabilities together support controlled execution. A system with only a “start research” button and no pause, cancel, verify, or track capabilities will struggle to reach stable operation.

    8. Boundaries When Extending to Equities and Proactive Alerts

    Extending to equity research can reuse the scheduling, isolation, auditing, and review mechanisms—but not the analysis content itself. Equities require additional coverage of financial statements, corporate governance, valuation, and event studies; futures depend more on supply/demand, inventories, delivery, and term structure. What gets reused is the engineering skeleton, not the research conclusions.

    Proactive alerts also should not be just another cron job. The system must additionally handle data freshness, trigger deduplication, alert cooldown periods, severity levels, and user subscription scope. Messages should state the trigger reason, evidence timestamp, and suggested focus areas—and distinguish “a change was detected” from “a trading judgment has been formed.”

    Operational evaluation should cover research quality, citation validity, task success rate, resource consumption, and review performance. One smooth run does not prove long-term reliability, and professional-sounding reports do not prove effective judgment.

    9. Conclusion: Multi-Role Is the Starting Point; Verifiability Is the Core

    The value of a multi-agent research system lies in decomposing research into steps that can be executed independently, checked, and reviewed. Role specialization helps surface alternative explanations; task orchestration improves execution efficiency; and evidence management and risk review determine whether the results are worth using.

    Start small: pick one commodity, fix the research cycle, establish a unified evidence format, get failure recovery and review working first, and only then gradually add roles and proactive alerts.

    A truly mature system is not one that always gives a definitive answer, but one that can state what it knows, what it doesn’t know, and which new evidence would force it to reconsider.