Registry / ai-ml / forecasting-tools

forecasting-tools

JSON →
library0.2.90pypypiunverified

AI forecasting and research tools to help humans reason about and forecast the future. Current version 0.2.90, requires Python >=3.11, <4.0. Maintained actively on GitHub by Metaculus.

pip install forecasting-tools
INSTALL
IMPORT
SIG · FORECASTING-TOOLS
F
forecasting-tools
ai-mlpythonv0.2.90
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ForecastTools
from forecasting_tools import ForecastTools
from forecasting_tools import ForecastingTools
Class name is ForecastTools (no 'ing').
run_forecast
from forecasting_tools import run_forecast
from forecasting_tools.forecast import run_forecast
run_forecast is top-level, not in submodule.

Initialize with API key and run a forecast.

import os from forecasting_tools import ForecastTools api_key = os.environ.get('METACULUS_API_KEY', '') ft = ForecastTools(api_key=api_key) result = ft.forecast(question='Will AGI be achieved by 2030?') print(result)
Debug
Known issues
breakingClass renamed from 'ForecastingTools' to 'ForecastTools' in v0.2.0. Old import breaks.
fix
Use 'from forecasting_tools import ForecastTools'.
affects: >=0.2.0
deprecatedFunction 'predict' deprecated in v0.2.5, replaced by 'forecast'.
fix
Use ft.forecast(...) instead of ft.predict(...).
affects: >=0.2.5
gotchaAPI key required; if not set, ForecastTools raises ValueError. Many users forget to set environment variable.
fix
Set METACULUS_API_KEY environment variable or pass api_key argument.
affects: all
Upgrade
Version history
0.2.90latest on PyPI · released May 7, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
forecasting-tools — pip install forecasting-tools · libregistry