Multi-Agent Architecture for a Futures Research and Investment System
This article explains how a self-built futures research and investment system uses a multi-agent architecture to overcome the weaknesses of single-agent analysis. It covers six core mechanisms—profile isolation, versioned skill packages, a task kanban, a dispatcher, isolated scratch workspaces, and heartbeat-based resource reclaim—then walks through the timing of a full run, the role and skill inventories, sample commands, and engineering guidance on human checkpoints, budgets, and cloud deployment.
1. Background: Why a Single Agent Falls Short in Investment Research
When you hand the analysis of a futures contract to a single AI role, the most common failure is not that it cannot produce anything. It is that the output reads too smoothly. Bullish logic, bearish logic, technical signals, and risk constraints are compressed into a single reasoning pass, so the model tends to settle on a compromise that is internally consistent—while losing the opposition and tension that exist in real markets.
Institutional research works the other way around. The bull and the bear each dig their arguments to the bottom, a higher-level role then adjudicates, and uncertainty is written out explicitly.
The problem is therefore reframed as an engineering problem: how to let multiple AI roles work in parallel without contaminating one another, how to turn domain knowledge into reusable assets, how to make the final output reliably contain structured elements (confidence, position sizing, observation thresholds), and how to let the whole thing run unattended. Using a self-built futures research system as an example, this article shows how these capabilities can be implemented with a general-purpose architecture.
2. Six Key Mechanisms and What They Do
2.1 Profile Isolation
Each role is an independent configuration: model selection, persona rules, memory space, and skill set all differ. Once started, the roles run as separate processes and cannot see each other’s intermediate output. The value of isolation is preventing “conclusion contamination”—a bearish researcher should not know in advance what the bullish one has written, otherwise the adversarial setup degrades into agreement. The system has 7 business roles plus 1 default conversation entry point.
2.2 Skill Packages
Reusable domain knowledge is packaged as versioned assets containing trigger conditions, execution steps, validation rules, and output templates. Skills are decoupled from roles: the same “report structuring” skill can be referenced by multiple roles, and a change in one place takes effect globally. This solves the problem of prompts scattered across role configurations, which becomes unmaintainable.
2.3 Task Kanban
All analysis tasks flow as cards with a clear state machine: pending breakdown → claimed by roles → aggregation → archived. The kanban doubles as an audit log, so any report can be traced back to who did what, and in which state.
2.4 Dispatcher
The orchestrating role does not call other roles directly. It posts tasks and dependencies, and the dispatch layer handles routing, concurrency control, and result collection. The orchestrator only cares whether the breakdown plan is sound, not about execution details.
2.5 Isolated Scratch Workspace
Each role has its own working directory. Intermediate data, raw market data snippets that were fetched, and failed attempts all stay in that space; only the final draft moves into the shared area. This prevents files from overwriting one another and leaves a trail for debugging.
2.6 Heartbeat and Resource Reclaim
Long-running tasks stay alive through heartbeats. On timeout or abnormal exit, a reclaim mechanism releases resources and rolls back the card state, preventing “zombie tasks” from occupying the kanban indefinitely. This is a prerequisite for unattended operation.
3. Timing of a Complete Run
The user types a single line: “analyze methanol.” The orchestrating role first produces a breakdown plan and confirms it with the user (this step is the main source of human interaction time), after which:
T+0s Orchestrator creates the task card with the instrument, timeframe, and constraintsT+5s Dispatch layer starts 4 research roles + the risk role in parallelT+2min Each role produces conclusions and evidence chains in its own scratch workspaceT+3min Risk role stress-checks the bull and bear conclusions and flags invalidation conditionsT+4min Orchestrator aggregates and calls the structuring skill to generate the reportT+5min Memory reflector records this round's judgment bias for later calibration
Pure execution time stays under ten minutes. The output includes a confidence score, a position recommendation, and 5 observable thresholds—thresholds that translate “bullish” into verifiable tracking conditions, where a trigger means the logic has failed.
4. Three Reference Lists
Role list (7+1): orchestrator (chief investment officer), bullish researcher, bearish researcher, technical analyst, market researcher, risk control, memory reflector, default conversation entry point.
Skill list (2): structured report generation, evidence citation and validation.
Command list (10 commands, illustrative):
/profile list/profile new <name>/skill add <name>/kanban new "Analyze <instrument>"/kanban show/dispatch run <card-id>/scratch ls <role>/heartbeat status/reclaim <card-id>/report export
5. Evolution Path and Engineering Notes
There are two natural extensions. The first is moving the orchestration logic for the bull/bear split from futures to equities: role definitions and the kanban flow can be reused directly, and only the domain knowledge in the skill packages needs replacing. The second is adding proactive push, where a scheduled task scans instruments on its own, decides which ones are worth flagging, and delivers conclusions to mobile through a messaging channel—shifting from people looking for information to information finding people.
One caveat: the output of this kind of system is decision support, not the decision itself. Three human checkpoints should be preserved: confirmation of the breakdown plan, review of the risk conclusion, and a whitelist for push thresholds. Each role should also be given a call budget and a timeout to avoid cost overruns from parallel fan-out. If deployed in the cloud, role processes are suited to a container platform, tasks and reports go to object storage, scheduling and heartbeats rely on a message queue and scheduled jobs, and observability across the whole chain is backed by logging and monitoring with alerting.
