📈 TimesFM Enhanced by Agent R

Google TimesFM 2.5 · 200M parameters · 16k context · zero-shot forecasting
⚙ Agent R ⚡ ARAYA Gated
checking…

Zero-Shot Time Series Forecasting

Paste your data or upload a CSV, choose your horizon, and get instant probabilistic forecasts with 80% prediction intervals — no training required. Powered by the TimesFM 2.5 foundation model enhanced by Agent R for autonomous pipeline integration.

200M
Parameters
16k
Context length
2.5
Model version

📊 Forecast Chart

Run a forecast to populate this chart.

📐 Forecast Table (first 10 steps)

Run a forecast to see quantile values.

🔴 Anomaly Detection (90% CI)

Historical points outside the 90% confidence interval are flagged — mirrors the TimesFM quantile anomaly pattern from SKILL.md.

Run a forecast to see anomaly detection.

🛠 TimesFM 2.5 Capabilities

🎯

Zero-Shot Forecasting

No fine-tuning needed — feed any univariate series and get instant calibrated forecasts.

📊

Probabilistic Intervals

10th–90th quantile prediction bands so you know the uncertainty, not just the point estimate.

🔀

Covariate Support (XReg)

Add price, promotions, holidays, or any exogenous variables via forecast_with_covariates().

🔴

Anomaly Detection

Values outside the 90% PI are statistically rare — flag them as critical anomalies automatically.

⚡

16k Context Window

8× longer than v2.0 — process years of high-frequency data without chunking.

🤖

Agent R Integration

Enhanced with Agent-R autonomy — runs preflight checks, batches series, and writes forecasts to your pipeline automatically.

🐍 Python Quick Start

Install and run server-side for full 200M-parameter accuracy:

pip  pip install timesfm[torch]

Agent R  # Run preflight checker first (mandatory)
python scripts/check_system.py

python
import torch, numpy as np, timesfm
torch.set_float32_matmul_precision("high")

model = timesfm.TimesFM_2p5_200M_torch.from_pretrained(
    "google/timesfm-2.5-200m-pytorch"
)
model.compile(timesfm.ForecastConfig(
    max_context=1024, max_horizon=256,
    normalize_inputs=True,
    use_continuous_quantile_head=True,
    fix_quantile_crossing=True,
))

point, quantiles = model.forecast(horizon=24, inputs=[your_array])
# point.shape == (1, 24)          → median forecast
# quantiles.shape == (1, 24, 10)  → q10…q90 bands
Source: github.com/barbrickdesign/timesfm-enhancedByAgentR ↗  |  ⚡ ARAYA referral ↗