{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "amazon-science-chronos-forecasting--forecast-with-covariates-using-chronos-2",
 "repo": "amazon-science/chronos-forecasting",
 "repo_url": "https://github.com/amazon-science/chronos-forecasting",
 "repo_slug": "amazon-science-chronos-forecasting",
 "title": "Forecast a series using the drivers you already know",
 "page_title": "How to forecast a series using the drivers you already know with Chronos Forecasting",
 "summary": "Run Chronos-2 on a DataFrame of history plus future covariate values to get quantile forecasts.",
 "who": "An analyst forecasting prices or demand that depend on known future inputs.",
 "problem": "Most quick forecasts throw away the covariates you already have.",
 "outcome": "A prediction DataFrame with a median and the quantiles you asked for.",
 "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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README example loads the model with device_map set to cuda, so adapt it if you have no GPU.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/amazon-science-chronos-forecasting/forecast-with-covariates-using-chronos-2/",
 "md": "https://dedupedai.com/use-cases/amazon-science-chronos-forecasting/forecast-with-covariates-using-chronos-2/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/amazon-science-chronos-forecasting--forecast-with-covariates-using-chronos-2.json",
 "api_version": "v1"
}
