checking system…
Docs / back / config/arenas/mastermind.yaml · line 1
YAML · 66 lines
 1name: mastermind
 2description: "Knowledge-grounded multi-arena debate. Fans a question out to specialists (FundamentalAnalyst / RiskSkeptic / QuantMomentum / CrowdProxy), reconciles via a structured-argument-tree judge, persists every decision to DecisionMemory."
 3schedule: null  # manual / on-demand for now; iter-9 wires the backtest harness up
 4output_stream: "maf:arena:mastermind:output"
 5# REDIS_URL falls through to the env var (set by the demo / tail CLI).
 6# Leave commented to keep default.yaml in charge of the URL.
 7# redis_url: "${REDIS_URL}"
 8
 9# Real LLM-driven agents (T-0039) take over when MASTERMIND_AGENTS=real or
10# when the CLI is invoked with --real-agents. Otherwise the CLI defaults to
11# mock specialists + mock judge so iter-7 can demo end-to-end without an LLM.
12llm:
13  default_provider: ollama
14  quick_provider: ollama
15  quick_model: "auto"   # picker → gpt-oss:20b-cloud (specialists)
16  deep_provider: ollama
17  deep_model: "auto"    # picker → gpt-oss:120b-cloud (judge)
18  providers:
19    ollama:
20      api_key: "${OLLAMA_API_KEY}"
21      model: "auto"
22      base_url: "https://ollama.com/v1"
23      max_output_tokens: 4096
24      temperature: 0.2
25
26# Phase list mirrors src/maf/arenas/mastermind/phases.py:PHASES.
27# These are documentary — the arena uses the in-code list directly.
28phases:
29  - name: frame
30    pattern: sequential
31    agents: []
32    transition: gather
33  - name: gather
34    pattern: parallel
35    agents: []
36    transition: graph_query
37  - name: graph_query
38    pattern: sequential
39    agents: []
40    transition: memory_retrieve
41  - name: memory_retrieve
42    pattern: sequential
43    agents: []
44    transition: debate
45  - name: debate
46    pattern: sequential
47    agents: []
48    transition: judge
49  - name: judge
50    pattern: sequential
51    agents:
52      - name: judge
53        role: judge
54        llm_tier: deep
55    transition: emit
56  - name: emit
57    pattern: sequential
58    agents: []
59    transition: END
60
61# Sources block intentionally empty for iter-7: the mastermind reads from the
62# knowledge graph (built up by other arenas' source adapters) and from
63# DecisionMemory, not directly from a source adapter. The free-form CLI
64# --sources flag attaches markdown documents at request time.
65sources: []