A Practical Guide to Multi-Agent Collaboration for Futures Investment Research

    This article walks through the engineering design of a multi-role agent collaboration system built for futures investment research. It explains why single-agent approaches struggle with context contamination, opaque reasoning, and non-recoverable task chains, then details an auditable pipeline built around role isolation, reusable skill packages, a task board, a scheduler, isolated workspaces, and heartbeat-based recovery. It includes a full walkthrough of a "analyze methanol" run, three reference checklists (seven core roles, two core skill packages, ten semantic operations), and sections on engineering quality, extension to equity research and proactive push, and boundaries and risks. The content is a general engineering practice, is not tied to any specific platform or product, and does not constitute investment advice.

    In investment research, turning a natural-language request into a structured report is rarely hard because of “single-shot generation.” The real difficulty lies in producing results reliably, synthesizing them in an explainable way, and reviewing them with full traceability. A single-role agent tends to hit three problems: contexts contaminate each other, so research and risk control get mixed together; the process of forming a view is opaque, making it hard to tell whether a conclusion comes from evidence or from linguistic inertia; and the task chain is not recoverable, so if one step times out or breaks, the entire analysis has to be rerun. This article reviews a multi-role agent collaboration system built for futures investment research, focusing on architecture design, runtime flow, key mechanisms, and a reusable checklist. The discussion covers general engineering practice, is not bound to any specific platform or product, and does not constitute any investment advice.

    1. Goal: From “Can Answer” to “Collaborative, Auditable, Extensible”

    The system’s goals can be summarized in four points:

    1. Natural-language entry point: The user only needs to make a request like “analyze methanol.” The system handles scope clarification, task decomposition, and role coordination.
    2. Isolated multi-role research: Roles such as bull, bear, technical, market, and risk control analyze independently within their own contexts, preventing early views from influencing one another.
    3. Structured synthesis: A chief synthesis role consolidates evidence, resolves conflicts, and calibrates confidence, producing a report with position-sizing suggestions and observation thresholds.
    4. Recoverable and evolvable: Interrupted tasks can be reclaimed, roles and skills are reusable, and the system can later extend from futures to equities and support proactive push.

    Compared with “one role writing the entire report,” the value of multi-role collaboration is not the number of roles itself, but breaking the research process into inspectable intermediate artifacts: each role submits conclusions, evidence, counter-evidence conditions, confidence, and data timestamps; the synthesis role only adjudicates on this structured material; the risk control role independently checks the risk budget; and the memory-reflection role distills reusable experience. As a result, the report is no longer a hard-to-trace block of text, but an analysis pipeline with a task ID, a division of roles, and an evidence chain.

    2. Overall Architecture: An Auditable Collaboration Pipeline

    The system can be abstracted into the following pipeline:

    1. Natural-language input
    2. -> Instruction clarification and scope confirmation
    3. -> Task decomposition and dependency mapping
    4. -> Task board registration
    5. -> Scheduler dispatch
    6. -> Roles research in parallel within isolated workspaces
    7. -> Risk control role checks conflicts and risk budget
    8. -> Chief synthesis role consolidates and adjudicates
    9. -> Report generation and audit archiving
    10. -> Memory reflection and skill update

    It contains six key mechanisms:

    • Multi-role configuration: Each role has its own system prompt, memory, skill set, and model strategy.
    • Reusable skill packages: Capabilities such as data reading, indicator calculation, evidence extraction, and report composition are packaged as versionable assets.
    • Task board: Records task status, dependencies, owners, artifacts, and failure reasons.
    • Task scheduler: Handles concurrency control, timeouts, retries, quotas, and priorities.
    • Isolated workspaces: Each task runs in a separate directory or snapshot to prevent intermediate artifacts from overwriting one another.
    • Heartbeat and reclamation: Periodic heartbeats determine whether a task is alive; after a timeout, the lease is reclaimed and idempotent reruns are supported.

    The design principles boil down to four statements: role isolation prevents view contamination; contract-first ensures intermediate artifacts are parseable; artifact persistence ensures the process is traceable; idempotent recovery ensures failures can be rerun.

    3. Breakdown of Key Mechanisms

    3.1 Multi-Role Configuration: Let Different Roles “See Different Worlds”

    Each role configuration should include at least: responsibility boundaries, input contract, output contract, available skills, memory scope, model parameters, and failure strategy. For example, the bull research role is only responsible for finding evidence that supports a rise, the bear research role only for finding evidence of a decline, the technical analysis role focuses on price structure and volume, the market research role focuses on supply and demand, inventory, basis, and events, and the risk control role focuses on volatility, liquidity, leverage, and counter-evidence conditions. The chief synthesis role does not replace the researchers; instead, it performs weighting, conflict explanation, and final expression based on structured material.

    The key to role isolation is not “spinning up more processes,” but limiting context visibility. Roles should not read each other’s unsubmitted drafts; they can only read the task description, the shared data snapshot, and registered artifacts. This reduces anchoring effects and lets bull and bear views genuinely form a contrast.

    3.2 Skill Packages: Distilling Domain Methods into Assets

    Skill packages solve the problem of “not having to prompt from scratch for the same kind of analysis every time.” A skill package should have a clear input, output, quality gate, and version number. For example, a “structured investment research skill” handles reading data, calculating indicators, extracting evidence, and generating views and confidence; a “risk control and report composition skill” handles checking view conflicts, calculating the risk budget, generating observation thresholds, and producing the report template. Skill packages should not hardcode business rules into prompts; instead, verifiable computation, format validation, and threshold checks should be placed in deterministic scripts as much as possible, leaving the large model to handle summarization, explanation, and synthesis.

    3.3 Task Board: Turning “Chat” into “Manageable Tasks”

    The task board needs to maintain at least: task ID, parent task, dependent tasks, role, status, start time, timeout, artifact path, failure reason, and retry count. Status can be designed along dimensions such as “pending decomposition, pending dispatch, running, pending review, completed, reclaimed.” The value of the board is that it makes the system observable: when a report is delayed, you can quickly locate whether the bottleneck is slow data reading, a role timing out, or the synthesis stage waiting on the risk control result.

    3.4 Scheduler: Concurrency, Timeouts, and Cost Control

    The scheduler turns the task graph into an execution plan. Research tasks can run in parallel, while synthesis tasks must wait for dependencies to complete; high-priority tasks can preempt resources, and low-priority tasks can queue. Three points deserve particular engineering attention: set a per-task timeout and an overall task budget; distinguish “retryable” from “non-retryable” for failed tasks; and apply idempotency control to duplicate submissions to avoid generating multiple inconsistent artifacts for the same task.

    3.5 Isolated Workspaces: Ensuring Reproducibility and No Cross-Contamination

    Each task should run in an independent workspace, with input data as a read-only snapshot, intermediate artifacts written to the task’s own directory, and final artifacts registered on the board. This avoids multiple tasks writing the same file simultaneously and makes review easy: given a task ID, you can reconstruct the data timestamp, skill version, role configuration, and report artifact from that time. For scenarios involving sensitive data, access control should also be applied at the workspace level to prevent roles from reading beyond their scope.

    3.6 Heartbeat and Reclamation: Making Failures Recoverable

    Long-running tasks need periodic heartbeats. The scheduler uses heartbeats to determine whether a task is alive; tasks that fail to renew beyond the lease time enter the reclamation flow. Reclamation is not simple deletion, but marking the failure, preserving the scene, releasing resources, and re-dispatching when idempotency conditions are met. Idempotency design includes: partitioning artifacts by task ID, checking whether a valid result already exists before submission, and not overwriting reviewed versions on repeated execution.

    4. A Full Run of “Analyze Methanol”

    The following uses “analyze methanol” as an example to illustrate the flow. The example only describes the system design and does not show real trading advice.

    Step 1: Instruction clarification. The system first confirms the analysis scope: the time window of interest, the report’s purpose, risk preference, whether cross-period structure is needed, and whether an event list is needed. This stage should not over-question; it usually only fills in the key parameters that affect task decomposition.

    Step 2: Task decomposition. The chief synthesis role breaks the request into tasks such as bull/bear fundamental research, technical structure analysis, market supply-demand and inventory analysis, risk check, and report synthesis, and registers the dependencies. For example, bull/bear research and technical analysis can run in parallel, risk control must wait for the main views to be submitted, and synthesis must wait for risk control to complete.

    Step 3: Isolated parallel research. The bull, bear, technical, and market roles each run in isolated workspaces and output a unified structure:

    1. {
    2. "task_id": "T-001",
    3. "role": "Bull Research",
    4. "conclusion": "View summary",
    5. "evidence": ["Evidence 1", "Evidence 2"],
    6. "counter_evidence": ["Counter-evidence 1"],
    7. "confidence": 0.72,
    8. "invalidation": ["View invalidation conditions"],
    9. "data_time": "Data timestamp",
    10. "artifact_path": "Artifact path"
    11. }

    Confidence should not be self-assessed by the model alone; it should be broken down into dimensions such as evidence strength, data freshness, role agreement, and risk discount. The synthesis role needs to explain why it accepts or rejects a piece of evidence, rather than simply averaging.

    Step 4: Risk control and synthesis. The risk control role checks view conflicts, liquidity, volatility, event exposure, and counter-evidence conditions; the chief synthesis role generates position-sizing suggestions based on the risk budget and expresses them as ranges or a risk budget rather than absolute instructions. The report should contain at least: a conclusion summary, a bull/bear evidence comparison, key drivers, a confidence breakdown, position-sizing suggestions, five observation thresholds, invalidation conditions, the data timestamp, and audit information.

    The five observation thresholds can use general dimensions: whether a key price range is broken; whether volume and open interest are abnormal; whether the basis or calendar spread structure deviates; whether fundamental indicators such as inventory, operating rates, and arrivals change; and whether policy, maintenance, or macro events are triggered. Thresholds should be written as “observation condition + trigger meaning + review action,” not just a single number.

    Step 5: Archiving and reflection. After the report is generated, the system saves the input snapshot, role versions, skill versions, task logs, and final artifacts. After the task ends, the memory-reflection role summarizes which evidence was effective, which roles frequently conflict, and which threshold designs are unreasonable, and distills stable experience into the next version of the skill package.

    5. Three Comparison Checklists

    Checklist 1: Seven Core Roles

    The following seven roles form the core research chain. The conversation entry role handles clarification and task submission and is not counted in the core role list.

    1. Chief synthesis role: Decomposes tasks, consolidates views, resolves conflicts, and generates the final report.
    2. Bull research role: Finds evidence supporting a rise and submits counter-evidence and invalidation conditions.
    3. Bear research role: Finds evidence supporting a decline and independently submits risks and counter-evidence.
    4. Technical analysis role: Analyzes price structure, volume, volatility, and key ranges.
    5. Market research role: Analyzes supply and demand, inventory, basis, calendar spreads, and event impact.
    6. Risk control role: Checks volatility, liquidity, leverage, concentration, and view conflicts.
    7. Memory-reflection role: Reviews task quality and distills skill-update suggestions and failure cases.

    Checklist 2: Two Core Skill Packages

    1. Structured Investment Research Skill Package
      Input: task description, data snapshot, role responsibilities.
      Output: structured views, evidence list, counter-evidence, confidence, invalidation conditions.
      Quality gate: complete fields, clear data timestamp, traceable evidence, no unsourced assertions.

    2. Risk Control and Report Composition Skill Package
      Input: structured artifacts from each role, risk preference, report template.
      Output: conflict list, risk budget, position-sizing suggestions, five observation thresholds, final report.
      Quality gate: conclusions consistent with evidence, complete risk warnings, observable thresholds, complete audit fields.

    Checklist 3: Ten Semantic Operation Instructions

    The following is a semantic operation list, not command names of a specific product; it can be mapped to interfaces, scripts, or UI operations on the actual platform.

    1. Initialize the role directory and responsibility configuration.
    2. Register or update a skill package version.
    3. Create an investment research task and confirm the analysis scope.
    4. Generate task decomposition and dependencies.
    5. View task status and artifacts on the board.
    6. Query the logs and failure reason of a single task.
    7. Reclaim timed-out or lost tasks and re-dispatch.
    8. Consolidate role artifacts and check for conflicts.
    9. Generate the report and archive audit records.
    10. Trigger task review and skill update.

    6. Engineering Quality: Confidence, Audit, and Human-Machine Collaboration

    The most common pitfall of a multi-role system is mistaking “many roles” for “high quality.” What truly determines quality is contracts and validation. First, all role outputs must pass structure validation; artifacts missing evidence, a data timestamp, or invalidation conditions should be returned. Second, confidence must be explainable, showing at least the number of evidence items, data freshness, role disagreement, and risk discount. Third, key conclusions must retain a human-review entry point, especially position-sizing suggestions, risk thresholds, and external reports. Fourth, logs should record the run ID, input snapshot, role configuration version, skill version, and artifact fingerprint to ensure post-hoc traceability. Fifth, sensitive data should be access-isolated to prevent research roles from reading information beyond their responsibility.

    7. Extension Directions: Equity Research and Proactive Push

    Extending from futures to equities, the task decomposition and multi-role isolation logic can be reused directly, but the roles and skills need adjustment. Equity research usually requires adding roles for industry and value-chain research, company fundamentals, valuation, announcements and events, and compliance checks; data sources, trading calendars, suspension/resumption rules, and financial calibers also need to be re-adapted. Skill packages should be layered by market to avoid transplanting futures basis and inventory logic into equity scenarios.

    Proactive push adds four things to the existing pipeline: “scheduled trigger + event trigger + deduplication + feedback.” The scheduler scans the watchlist on schedule, and an event listener triggers analysis when price, volume, announcements, or industry indicators become abnormal; the system decides whether to push based on confidence, impact scope, and user preference; before pushing, it applies deduplication and quiet-hours control, and after pushing it collects user feedback to adjust watch weights. The key to proactive push is not “pushing a lot,” but “few and accurate, explainable, and switch-off-able.”

    8. Boundaries and Risks

    This kind of system is still constrained by data quality, model hallucination, market uncertainty, and compliance requirements. Engineering should hold three bottom lines: data has a source, conclusions have evidence, and suggestions have boundaries. Reports should state the data timestamp, applicable scenarios, and invalidation conditions; position-sizing suggestions should be expressed as a risk budget and scenario analysis rather than absolute judgments; and external use should go through human review. Only by placing multi-role collaboration within an observable, rollback-capable, auditable engineering framework does it stop being a “lively-looking” demo and become investment research infrastructure that can iterate sustainably.

    In summary, the core value of a multi-role agent system lies in using isolation to reduce bias, contracts to improve parseability, a board and scheduler to improve manageability, workspaces and heartbeats to improve recoverability, and skill packages to improve reusability. Only after polishing this architecture does extending to equity research and proactive push rest on a stable engineering foundation.