DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to forecast a series using the drivers you already know with Chronos Forecasting

Run Chronos-2 on a DataFrame of history plus future covariate values to get quantile forecasts.

Short answer: Install it with pip install chronos-forecasting; then 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. All steps.

  • Top pick
  • Data and analytics
  • Intermediate
  • 45 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

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

  1. Install it with pip install chronos-forecasting
  2. Load the pipeline with Chronos2Pipeline.from_pretrained on amazon/chronos-2 as in the README
  3. Read your history into context_df and your future covariate values into future_df
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer