Skip to content
Skills Library
AI & agents · Analysis

ml4t-multi-agent-forecasting

/ml4t-multi-agent-forecasting

Multi-agent probability forecasting with diversity, aggregation, and debate controls. Use when combining several agent forecasts or evaluating forecast ensembles.

Author
ml4t ↗
Repository
skills ↗
Licence
Apache-2.0
Last repository change
23.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Multi-agent probability forecasting with diversity, aggregation, and debate controls. Use when combining several agent forecasts or evaluating forecast ensembles.

Original author description

Multi-agent probability forecasting with diversity, aggregation, and debate controls. Use when combining several agent forecasts or evaluating forecast ensembles.

How it works

  1. The Problem
  2. The Pattern
  3. Forecast Controls
  4. Guardrails
  5. Checklist
Original SKILL.md headings · 72 lines, 357 words
SKILL.md preview
---
name: ml4t-multi-agent-forecasting
description: "Multi-agent probability forecasting with diversity, aggregation, and debate controls. Use when combining several agent forecasts or evaluating forecast ensembles."
when_to_use: "Use when building multi-agent research, Neyman aggregation, adversarial debate, or resolved-question forecast evaluation"
dependencies: [agent-state-memory]
metadata:
  book_chapters: "24"
  library: ""
paths: ["**/*multi_agent*.py", "**/*forecasting_pipeline*.py", "**/*adversarial_debate*.py"]
---
# Multi-Agent Forecasting

Multiple agents help only when they add independent information or structured disagreement. Re-running the same prompt at higher temperature usually produces correlated forecasts, not a useful ensemble.

## The Problem

Forecast pipelines often report "agent consensus" from several identical agents. On well-specified macro questions, those agents read the same evidence and return nearly identical probabilities. Averaging correlated forecasts gives false confidence unless the system measures diversity, calibrates probabilities, and stress-tests the consensus with opposing arguments.

## The Pattern

### WRONG
```python
forecasts = [agent.run(question, temperature=0.7) for _ in range(5)]
p_yes = sum(f.p_yes for f in forecasts) / len(forecasts)
print(f"consensus={p_yes:.2%}")
```

### CORRECT
```python
import math
from statistics import mean


def logit(p: float) -> float:
    p = min(max(p, 1e-6), 1 - 1e-6)
    return math.log(p / (1 - p))


def inv_logit(x: float) -> float:
    return 1 / (1 + math.exp(-x))


def neyman_aggregate(probs: list[float], diversity: float) -> float:
    avg_logit = mean(logit(p) for p in probs)
    return inv_logit(avg_logit * diversity)


forecasts = [
    bull_agent.run(question),
    bear_agent.run(question),
    base_rate_agent.run(question),
]
divergence = max(f.p_yes for f in forecasts) - min(f.p_yes for f in forecasts)
aggregate = neyman_aggregate([f.p_yes for f in forecasts], diversity=1.2)

if divergence < 0.05:
    aggregate = run_adversarial_debate(question, forecasts).p_yes
```

## Forecast Controls

- Use role, evidence-source, or method diversity; do not rely on temperature alone
- Preserve each forecast's evidence, confidence, rationale, and uncertainty list
- Aggregate in logit space when probabilities are far from 50%
- Evaluate resolved questions with Brier score, log score, calibration, and sharpness
- Run ablations: no debate, no supervisor, simple mean, weighted aggregation

## Guardrails

- **Identical-agent ensemble** - check probability spread before claiming diversity
- **Consensus without calibration** - low disagreement is not the same as accuracy
- **Free-text handoff** - downstream aggregation needs typed `p_yes` fields
- **Leaky evaluation** - only score questions resolved after the forecast timestamp

## Checklist

- [ ] Forecast artifacts contain probability, confidence, evidence, and timestamp
- [ ] Agent diversity is structural, not only sampling noise
- [ ] Aggregation method and diversity factor are recorded
- [ ] Debate or supervisor stages are evaluated with ablations
- [ ] Resolved-question scoring uses proper scoring rules

Versions

The database has no other skills named ml4t-multi-agent-forecasting.

Database snapshot: 13.11.2026 · package version acebd5f3c073 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95demand-forecasting
    When the user wants to forecast demand, build forecasting models, or improve forecast accuracy. Also use when the user mentions "demand planning," "sales forecasting," "time series," "forecast accuracy," "demand sensing," "statistical forecasting," or "predictive analytics." For…
  • 100agent-designer
    Designs multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
  • 95tao-finetune-kumo-forecast
    Kumo-Forecast — transformer-based multivariate time series forecasting with DARR (context-enhanced kNN retrieval), interpretability, and fine-tuning. Use when the user asks to "forecast with Kumo-Forecast", "run forecasting inference", "use perform_forecasting", "DARR mode",…
  • 100claude-teams
    Guide for coordinating multiple Claude Code agents as teams. Use when setting up agent teams, configuring subagents, orchestrating multi-agent workflows, or building programmatic agent systems with the Claude Agent SDK.
  • 100revops-forecasting
    Revenue forecasting methodology, forecast categories, pipeline analysis, and predictability for B2B revenue teams. Use when the user mentions forecasting, revenue forecast, sales forecast, forecast accuracy, forecast categories, commit, best case, upside, pipeline coverage,…
  • 90revenue-forecasting
    Build an evidence-based B2B revenue forecast with category definitions, opportunity-level rollup, pipeline coverage, conversion and timing assumptions, scenario ranges, inspection cadence, and forecast accuracy tracking. Use when preparing weekly forecasts, board outlooks,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.