The xRtm Framework (Generative Forecasting).
Project description
XRTM v0.9.0 — AI for Event Forecasting
XRTM runs event-forecasting workflows from the command line. It uses a deterministic baseline by default (no API keys needed) and supports any OpenAI-compatible endpoint for real LLM forecasts.
Install
pip install xrtm
Python >=3.11,<3.14.
Quick Start
# Deterministic baseline (no API key)
xrtm start
# With a real LLM via any OpenAI-compatible endpoint
xrtm start --provider openai --model deepseek-v4-pro --base-url https://api.deepseek.com
# Inspect results
xrtm runs show --latest
Commands
| Command | What it does |
|---|---|
xrtm start |
Run forecasts (deterministic or real LLM) |
xrtm demo |
Quick 2-question deterministic demo |
xrtm doctor |
Check Python, packages, imports |
xrtm runs show --latest |
Inspect the most recent run |
Providers
| Provider | API key needed |
|---|---|
deterministic (default) |
None |
openai / openai-compatible |
OPENAI_API_KEY |
Set OPENAI_API_KEY, OPENAI_BASE_URL, and OPENAI_MODEL in your environment or .env file.
Run Artifacts
Each run produces 11 artifacts in runs/<run-id>/:
run.json, eval.json, train.json, forecasts.jsonl, report.html, blueprint.json, provider.json, questions.jsonl, events.jsonl, graph_trace.jsonl, run_summary.json
XRTM Ecosystem
| Package | Role |
|---|---|
xrtm-data |
Schemas & question sources (real-binary corpus, Polymarket, Metaculus) |
xrtm-eval |
Scoring (Brier, ECE, LogScore) |
xrtm-forecast |
Runtime engine (agents, providers, topologies) |
xrtm-train |
Backtesting & optimization |
xrtm |
Product CLI (this package) |
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xrtm-0.9.1.tar.gz.
File metadata
- Download URL: xrtm-0.9.1.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edc48e7446d7088171ea8a9fbd18b47e96465453731d48a3ad0dcacfb6d83209
|
|
| MD5 |
69c1773d490f5714315279a6741eaeeb
|
|
| BLAKE2b-256 |
8990ba641179f5b8b88d819343a3496287b3f5c89e1f94707ca3c26d7248db8c
|
Provenance
The following attestation bundles were made for xrtm-0.9.1.tar.gz:
Publisher:
publish.yml on xrtm-org/xrtm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xrtm-0.9.1.tar.gz -
Subject digest:
edc48e7446d7088171ea8a9fbd18b47e96465453731d48a3ad0dcacfb6d83209 - Sigstore transparency entry: 1748355483
- Sigstore integration time:
-
Permalink:
xrtm-org/xrtm@292a3eb25cb56c08de4628137273b43a2c424eef -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/xrtm-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@292a3eb25cb56c08de4628137273b43a2c424eef -
Trigger Event:
release
-
Statement type:
File details
Details for the file xrtm-0.9.1-py3-none-any.whl.
File metadata
- Download URL: xrtm-0.9.1-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b24926806eea9c3b28ebc5ceadc2f592ec18241312983f5af5f1db37558d69c
|
|
| MD5 |
555622fa197ca655af2a2e64b769ec90
|
|
| BLAKE2b-256 |
1ea5c643d7fe4d1ebde79a8c82f365101eb7f69bb421e4fc59debac8e4bd7a59
|
Provenance
The following attestation bundles were made for xrtm-0.9.1-py3-none-any.whl:
Publisher:
publish.yml on xrtm-org/xrtm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xrtm-0.9.1-py3-none-any.whl -
Subject digest:
5b24926806eea9c3b28ebc5ceadc2f592ec18241312983f5af5f1db37558d69c - Sigstore transparency entry: 1748355696
- Sigstore integration time:
-
Permalink:
xrtm-org/xrtm@292a3eb25cb56c08de4628137273b43a2c424eef -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/xrtm-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@292a3eb25cb56c08de4628137273b43a2c424eef -
Trigger Event:
release
-
Statement type: