Salesforce/GiftEval
Preview โข Updated โข 10.2k โข 29
Developed by Daksh Bhalala.
CompactTS-Agent is an autonomous agentic meta-forecasting system designed for general time-series forecasting across diverse industrial domains (energy grids, server telemetry, traffic flow, nature observations, and healthcare).
Rather than relying on a single static neural network across disparate domains, CompactTS-Agent operates as an autonomous orchestration system:
TimesFM-3, Chronos-2, Toto-2.0).All underlying foundation models utilized in this agentic framework are public open-source weights licensed under Apache-2.0.
git clone https://github.com/DakshBhalala/AMBACAST.git
cd AMBACAST
pip install -e .
import numpy as np
import pandas as pd
from compactts.agent import CompactTSAgent, SeriesProfiler
# 1. Profile an incoming time series
profiler = SeriesProfiler(freq="H")
series = np.sin(np.linspace(0, 20, 100)) + 0.1 * np.random.randn(100)
profile = profiler.profile(series)
print("Series Profile:", profile)
# 2. Generate calibrated probabilistic forecasts
agent = CompactTSAgent(prediction_length=24, freq="H")
start_dates = [pd.Period("2024-01-01 00:00", freq="h")]
forecasts = agent.forecast_batch([series], start_dates)
# Access forecast quantiles (9 levels: 0.1 to 0.9)
q_forecasts = forecasts[0].forecast_array
print("Forecast shape (9 quantiles, 24 horizon):", q_forecasts.shape)
CompactTS-Agent is evaluated against the 97 dataset configurations of the Salesforce GIFT-Eval benchmark under model_type: "agentic".
To reproduce results:
python scripts/run_agentic_benchmark.py