Skip to main content

The xRtm Framework (Generative Forecasting).

Project description

XRTM v0.9.0 — AI for Event Forecasting

PyPI License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xrtm-0.9.1.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xrtm-0.9.1-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

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

Hashes for xrtm-0.9.1.tar.gz
Algorithm Hash digest
SHA256 edc48e7446d7088171ea8a9fbd18b47e96465453731d48a3ad0dcacfb6d83209
MD5 69c1773d490f5714315279a6741eaeeb
BLAKE2b-256 8990ba641179f5b8b88d819343a3496287b3f5c89e1f94707ca3c26d7248db8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrtm-0.9.1.tar.gz:

Publisher: publish.yml on xrtm-org/xrtm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for xrtm-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b24926806eea9c3b28ebc5ceadc2f592ec18241312983f5af5f1db37558d69c
MD5 555622fa197ca655af2a2e64b769ec90
BLAKE2b-256 1ea5c643d7fe4d1ebde79a8c82f365101eb7f69bb421e4fc59debac8e4bd7a59

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrtm-0.9.1-py3-none-any.whl:

Publisher: publish.yml on xrtm-org/xrtm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page