Who it is forAn analyst forecasting prices or demand that depend on known future inputs.
The problemMost quick forecasts throw away the covariates you already have.
The outcomeA prediction DataFrame with a median and the quantiles you asked for.
What you need first
- Python with pip and `pip install chronos-forecasting`
- pandas with pyarrow for the DataFrame examples
- A CUDA GPU for the README example, which sets device_map to cuda
Steps
- Install it with
pip install chronos-forecasting - Load the pipeline with Chronos2Pipeline.from_pretrained on amazon/chronos-2 as in the README
- Read your history into context_df and your future covariate values into future_df
- Call pipeline.predict_df with prediction_length, quantile_levels, id_column, timestamp_column and target
Prompt for your agent
Using amazon-science/chronos-forecasting, install it with `pip install chronos-forecasting`, forecast 24 steps of <my series> with Chronos2Pipeline.predict_df using my known future covariates, and return the 0.1, 0.5 and 0.9 quantiles.
Caveat. The README example loads the model with device_map set to cuda, so adapt it if you have no GPU.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for amazon-science/chronos-forecasting and "Forecast a series using the drivers you already know"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer