Time Series Forecasting Tools for AI Agents
Design an agent forecasting tool around validated inputs, an external provider, and inspectable forecast evidence.
1. Define task, cutoff, frequency, and horizon
2. Select checkpoint and revision
3. Verify supported inputs and outputs
4. Compare against a realistic baseline
5. Choose browser or external executionTSFM provides model information and validated browser execution. External providers own their compute, credentials, and billing.
Decisions that matter
Give the tool a narrow numerical contract
An agent should resolve the series, sampling cadence, cutoff, and horizon before inference. Reject mixed frequencies and unsupported covariates at the tool boundary. Return the model revision, issue time, forecast values, and uncertainty levels so an answer can distinguish model outputs from observations and operator forecasts.
Keep credentials outside model-generated text
Provider credentials belong in your application's secret store. Do not place keys in prompts or expose them in a browser bundle. Scope tool permissions and model access independently. TSFM's browser playground does not provide a remote tool endpoint or hosted agent inference.
Make errors explicit
Unavailable providers, unsupported checkpoints, empty histories, and invalid forecast shapes are distinct failures. Do not replace a failed neural forecast with a statistical estimate under the same model name. An agent should explain what was computed and what remains unknown rather than infer a missing forecast from memory.
Understand the execution boundary
Primary sources and related guides
Hugging Face Inference Providers
Review the implementation, model contract, and source evidence before adopting a checkpoint.
Open sourceHugging Face custom inference handlers
Review the implementation, model contract, and source evidence before adopting a checkpoint.
Open sourceModel directory
Review the implementation, model contract, and source evidence before adopting a checkpoint.
Open sourceFrequently Asked Questions
Choose a checkpoint and an execution option
Start with the model contract and evidence, then select the runtime that fits your task.