Building a Multi-Agent Futures Research System

    A practical walkthrough of a multi-role agent system for futures research: isolated roles, skill packs, a task board, a dispatcher, workspaces, and heartbeat recovery, from a one-line query to an institutional-style report.

    Building a Multi-Agent Futures Research System

    This article recaps an engineering practice around a general multi-agent collaboration framework: a research system for futures products. The goal is simple. The user types something like “analyze methanol,” and in about ten minutes the system returns an institutional-style research report with a confidence score, a position suggestion, and five observation thresholds. The report is not produced by a single role in one shot. Multiple agent roles research, verify, and summarize in isolated environments; a chief investment officer role then synthesizes the draft. The focus is architecture, the run path, and a reusable checklist—not role prompts, scripts, or knowledge-base details.

    1. Abstractions: what a multi-role agent system is made of

    A multi-role agent system is not several models answering the same question at once. A complex research job is managed along four dimensions: roles, tasks, artifacts, and state.

    • Multi-role agents: Independent role configs run in the system. Each role has its own model choice, persona rules, memory, and skill set. Once started, it behaves like an independent process; intermediate artifacts are not visible to other roles.
    • Role config: An “AI role.” This system includes seven roles—chief investment officer, long researcher, short researcher, technical analyst, market researcher, risk control, and memory/reflection—plus a default conversation entry.
    • Skill pack: Domain knowledge packaged as reusable capability: prompts, scripts, knowledge bases, and validation rules, so roles do not rebuild methods from scratch every time.
    • Task board: Board states such as to-do, in progress, pending merge, done, and failed/retry. The board is the observable surface of multi-persona collaboration.
    • Dispatcher: Routes work by role capability, task dependencies, and concurrency limits, and handles timeouts, priority, and retries.
    • Temporary isolated workspace: Each role or task has its own directory. Inputs are read-only; artifacts are written to disk so intermediate files do not cross-contaminate.
    • Heartbeat and reclamation: Long tasks report heartbeats. The scheduler uses them to judge liveness and recover or reclaim resources so zombie tasks do not hold concurrency.

    Isolation keeps views independent, the board makes the process auditable, the dispatcher keeps concurrency under control, skill packs reuse knowledge, and heartbeat/reclamation keep the system stable.

    2. Six capabilities that make the system run

    1. Isolated role configs. Each role has its own model, rules, memory, and skills. Long and short researchers must be isolated; otherwise one side seeing the other’s intermediate conclusions contaminates views. After isolation, each side builds its own evidence chain; the CIO adjudicates conflicts from board artifacts. Isolation exists so the merge step receives independent judgments.

    2. Skill packs. Research systems fail if every run rebuilds the analysis frame. Skill packs wrap data access, indicator calculation, report templates, and risk-check rules. Roles call packs for domain work, which reduces prompt complexity and versions methodology. This system mainly deposits two kinds of packs, listed later.

    3. Task board. “Analyze methanol” is split into cards with dependencies. Technical analysis can read standardized quotes only after market data finishes; risk control can check position suggestions only after long/short research finishes. Failures are locatable, retries can be idempotent, and merge has a paper trail.

    4. Dispatch. The scheduler routes by role capability and sets a max concurrency. Some research work is parallel; some is strictly dependent. Timeouts, priority, and retries matter; one stuck data task can stall the whole report. Keeping a pure-agent run under ten minutes depends on a reasonable concurrency cap and dependency graph.

    5. Isolated workspaces. Each task reads and writes in its own directory. Inputs are read-only; artifacts land in a fixed place. The merge role reads only agreed artifacts, not other roles’ drafts. After the task, the workspace is archived so disk and context do not grow without bound.

    6. Heartbeat and reclamation. Long tasks heartbeat on a schedule. On timeout, the scheduler can retry or reclaim. Data pulls and report generation can be slow; heartbeats avoid a “still running” state that is actually stuck.

    3. Run path for “analyze methanol”

    After the user enters “analyze methanol,” the default conversation entry confirms the breakdown: horizon, contracts, risk preference, and report granularity. That interaction often takes a few minutes. Then the system creates board tasks and hands them to the dispatcher.

    The dispatcher fans out in parallel: the market researcher gathers supply/demand, inventory, basis, and operating rates; the technical analyst looks at price structure, open interest, and key levels; the long researcher builds a bullish logic and evidence chain; the short researcher independently builds a bearish chain; risk control checks confidence, position suggestions, and risk constraints before merge; memory/reflection deposits reusable methods. The CIO does not mine data; it reads board artifacts and drafts from evidence weight, sufficiency of counter-evidence, and risk constraints.

    The final report includes conclusion, evidence chain, counter-evidence, risk notes, trigger conditions, confidence score, position suggestion, and five observation thresholds. Confidence is not a made-up probability; it is calibrated from data completeness, evidence consistency, counter-evidence strength, and risk-check results. Position suggestions sit under hard constraints such as max drawdown, margin use, liquidity, and concentration. Observation thresholds must be actionable: direction, trigger, and review cycle.

    4. Three checklists

    Checklist 1: seven role configs

    Role Core duty Key artifact Isolation
    Chief investment officer Break down, merge, adjudicate conflicts Final report Read-only board artifacts
    Long researcher Bullish logic Long evidence chain Cannot see short drafts
    Short researcher Bearish logic Short evidence chain Cannot see long drafts
    Technical analyst Price structure and positioning Technical signals Independent workspace
    Market researcher Supply, inventory, basis Market data summary Data read-only
    Risk control Confidence and position constraints Risk opinion Independent checks
    Memory/reflection Deposit methods Experience items Do not store unverified conclusions
    Default conversation entry User interaction and plan confirmation Task-breakdown confirmation No deep research

    Checklist 2: two skill packs

    The first is a data ingest and standardization pack: collect, clean, align, and handle missing values for quotes, inventory, basis, and similar series, and emit a unified data summary. The second is a report generation and validation pack: generate from templates, check evidence-chain completeness, and validate risk rules and whether thresholds are executable. Both packs should be versioned so role behavior does not drift.

    Checklist 3: ten operational commands

    Abstract pseudo-commands for order of operations, not a product API.

    1. init --workspace futures-research
    2. role create chief-investment-officer --mode orchestrator
    3. role create long-researcher --mode isolated
    4. skill bind data-ingest --to market-researcher
    5. task create --board research --name analyze-methanol
    6. task depend --task analyze-methanol --on market-data,tech-signal
    7. dispatch run --board research --max-concurrency 4
    8. monitor heartbeat --task analyze-methanol --interval 30s
    9. report merge --by chief-investment-officer --output report.md
    10. validate --report report.md --rule risk-check
    11. archive --workspace futures-research --tag v1

    5. Engineering notes

    Isolation and merge need a boundary: intermediate artifacts stay invisible, but merge artifacts must be on disk and auditable. Define and calibrate confidence dimensions so scores are not falsely precise. Position suggestions must be backstopped by hard risk rules. Observation thresholds should trigger review, not just numbers. Memory/reflection stores methods, not unverified conclusions. Logs, metrics, traces, and artifact snapshots should be complete; retries should be idempotent. Model calls need budget, cache, and concurrency caps. Research reports are not investment advice; key conclusions need human review.

    The same architecture can extend from futures to equities research: role split and board scheduling reuse. Active push can be added so the system runs on a schedule, decides which products are worth a reminder, and delivers conclusions to a mobile messaging client. That would require de-duplication, quiet hours, priority, and explainability so alerts do not overwhelm. The point of a multi-role research system is not more roles. Isolation keeps judgments independent, the board keeps the process auditable, dispatch and reclamation keep the system stable, and skill packs keep knowledge reusable.