Architecture and Practice of a Multi-Agent Futures Research System

    A single LLM researcher often collapses to a middle-of-the-road view, pollutes context with bulky intermediates, and cannot reuse domain knowledge. This article explains a multi-agent futures research setup that uses role isolation, workspace isolation, and skill packs, covering seven roles, a main pipeline, a full run, checklists, and engineering constraints. All output is research support, not investment advice.

    1. Problem: Why a Single Agent Gets Stuck on Research

    Using a large language model as a researcher can feel strong at first. In real investment research, three structural issues show up quickly.

    Single viewpoint. Research value comes from bull–bear tension. Asking the same model in the same context to write both bull and bear cases tends to converge on a middle stance—“fundamentals are mixed, wait and see”—with little information.

    Context pollution. Scraping, accounting checks, and technical calculations produce large intermediates. Dumping them into one context dilutes judgment and lets early wrong assumptions infect the final conclusion.

    Knowledge that does not stick. Every session starts from scratch explaining terms such as unusual open interest or a strengthening basis. Domain knowledge is not reusable.

    A multi-agent design targets these three points: role isolation for opposing views, workspace isolation to stop context pollution, and skill packs that turn domain knowledge into callable assets.

    2. Concepts: Six Mechanisms to Define First

    Terms used throughout:

    • Agent framework: Runtime for model calls, persistent memory, tool orchestration, and multi-role collaboration. The important differences are not model parameters, but whether the system still “remembers you” after shutdown and whether it can run multiple roles in parallel.
    • Role profile: An independent agent definition: model choice, persona rules (system prompt), separate memory, and skill set. After launch, roles are independent processes that cannot see each other—the basis of isolation.
    • Skill pack: A reusable module that wraps a fixed workflow, interpretation conventions, scripts, and references. In effect, a domain knowledge pack for the model.
    • Kanban: State carrier for work. Cards move among To Do, In Progress, Pending Review, and Done, and are the only legitimate channel between roles.
    • Dispatcher: Role that decomposes tasks, assigns cards, and collects results—the project manager.
    • Isolated workspace + heartbeat reclaim: Each role works in its own directory; artifacts land on disk instead of being stuffed back into context. Running processes report heartbeats; hung processes that miss heartbeats are reclaimed and their workspaces released.

    3. Overall Architecture: Seven Roles and One Main Path

    The system has seven functional roles plus a default chat entry:

    Role Responsibility Key output
    Chief Investment Officer (dispatch) Decompose tasks, assign cards, synthesize Final report, confidence score
    Bull researcher Build long thesis and drivers Bull evidence chain
    Bear researcher Build short thesis and counter-evidence Bear evidence chain
    Technical analyst Price/volume, positioning, basis structure Key levels and signals
    Market researcher Macro, supply/demand, events External variable list
    Risk Position, stop-loss, correlation constraints Position suggestion and thresholds
    Memory reflector Review historical conclusion bias Calibrated interpretation rules

    Main path: one decompose, three-way parallel, one synthesize:

    1. task: analyze_futures
    2. symbol: methanol
    3. stages:
    4. - dispatch: CIO # generate and assign cards
    5. - parallel: [bull, bear, technical, market]
    6. - review: risk # risk check before synthesis
    7. - synthesize: CIO # structured report
    8. - reflect: memory # write long-term memory

    Risk sits before synthesis on purpose. If a conclusion is written first and risk only “comments,” wording of the main thesis anchors those comments. An upstream check lets position constraints shape the conclusion.

    4. A Full Run: From One Instruction to a Structured Report

    In practice, after “analyze methanol,” a report with confidence score, position suggestion, and five observation thresholds was available on the order of ten minutes. Pure agent runtime was under ten minutes; the rest was human confirmation of the decomposition with the dispatcher.

    Report skeleton:

    1. Conclusion and confidence: Direction plus a 0–1 confidence score, with reasons for deductions (e.g., stale data, missing key variables).
    2. Bull vs. bear evidence: Sides in parallel, each item tagged with a verifiable source and timestamp.
    3. Five observation thresholds: Examples include inventory turning points, basis extremes, operating-rate bands, positioning concentration, and cross-product spreads, each with a concrete “review if triggered” value.
    4. Position and risk: Suggested position range, max drawdown tolerance, invalidation conditions.
    5. Counterfactuals: Which evidence, if reversed, should overturn the conclusion.

    Thresholds are the most operationally useful part of the output: they turn “judgment” into a monitorable state machine and leave an interface for later proactive alerts.

    5. Three Checklists

    Roles (7+1): As in the table above, plus default as the human chat entry. Only default may send natural-language instructions to the dispatcher.

    Skills (2):

    • Futures data interpretation: unified contract conventions, front-month roll rules, open interest and warehouse receipts.
    • Report structuring: fixed skeleton, confidence scoring table, threshold wording rules.

    Commands (10, illustrative):

    1. run <task> create an analysis task
    2. status kanban status
    3. card <id> card details
    4. assign <card> <role> reassign manually
    5. pause / resume pause and resume
    6. result <id> fetch structured result
    7. memory search <kw> search long-term memory
    8. skill list list installed skills
    9. heartbeat check check hung processes
    10. reclaim <workspace> reclaim isolated workspace

    6. Engineering Notes

    Isolation over prompt polish. Most of the difference between roles comes from a clean context, not a florid persona.

    Layered memory. Session memory handles continuity; long-term memory handles calibration. The reflector should write rule-level conclusions (e.g., “before an inventory turning point is confirmed, cap confidence at 0.6”), not snapshots of a specific market.

    Kanban is the only channel. No side talk between roles, or state is untraceable and failures unreproducible.

    Idempotence and reruns. Archive each run’s workspace by task ID so you can compare conclusion drift across models and personas.

    7. Evolution and Boundaries

    Two natural extensions: reuse the bull–bear split for equity research, swapping only the data-interpretation skill; and add timed heartbeats so the system can detect threshold hits and push to chat, moving from “human asks” to “system reports.”

    Boundaries: all output is research support. Confidence is model self-assessment, not statistically calibrated, and is not investment advice. Data freshness, convention changes, and events remain the main failure modes; after a threshold trigger, return to human review.