Project Showcase: ForecastAgent – Zero-Shot Time Series Forecasting Architecture

Hi everyone, I’m Wei Liu, Founder of Shiny Data Technology (www.shinydatatech.com), and I want to share a project I’ve been building called ForecastAgent.

The Data Science Bottleneck Traditionally, enterprise time series forecasting requires weeks of data cleaning, feature engineering, and model training just to see if a predictable signal exists. I frequently build and test offline, agentic AI workflows on my personal hardware, and I wanted to bring that same instant, out-of-the-box inference capability to time series data.

Enter ForecastAgent ForecastAgent is an enterprise SaaS that utilizes Time Series Foundation Models (TSFMs) to deliver zero-shot forecasting. Instead of training a bespoke model for every dataset, ForecastAgent treats historical data strictly as an inference context window. The engine reads the numerical sequence and instantly outputs point forecasts, confidence intervals, and automated business recommendations.

Benchmark Victories We recently ran an extensive out-of-sample benchmark pipeline comparing ForecastAgent against major open-source foundation models.

  • Speed: Consistently delivered batch compute durations 1.2x to 1.5x faster than competitors.

  • Accuracy (Bike Sharing Dataset): +28.2% improvement in Mean Absolute Percentage Error (MAPE) over Google’s TimesFM, alongside a +8.9% improvement in RMSE.

  • Accuracy (Electricity Load Dataset): +25.6% MAPE improvement over TimesFM on high-frequency hourly data.

  • Intermittent Demand: Successfully mapped erratic spikes and zero-demand periods on simulated retail data without custom fitting.

The Compute & Hardware Angle Zero-shot TSFMs require immense computational efficiency to be viable for enterprise latency requirements. Optimizing these models for high-throughput batch processing—especially when handling large context windows and generating 90% confidence intervals on the fly—relies heavily on optimized hardware acceleration. By mathematically mitigating data leakage (a common flaw where open-source models memorize public datasets) and isolating client data purely to the inference step, the architecture ensures both speed and strict enterprise data sovereignty.

I would love to connect with other developers here optimizing foundation models for local hardware or enterprise deployments. You can explore the platform architecture and test the engine here: https://www.forecastagent.app/

Looking forward to your feedback and discussing inference optimization techniques!

Very interesting approach. I’m especially curious about the data leakage side of zero-shot forecasting. How do you validate that the foundation model isn’t benefiting from memorized patterns in public benchmark datasets? Would love to hear more about how you designed that evaluation :grinning_face_with_smiling_eyes:

Thanks for the great question! Data leakage is definitely the quiet crisis in zero-shot evaluation, and we take it very seriously.

To validate that ForecastAgent is actually inferring and not just recalling, we rely on two main strategies to blind the engine:

  • Procedural Synthetic Generation: We test against mathematically generated time series featuring complex patterns (like heteroskedastic noise and sudden structural breaks) created locally at runtime. It is impossible for the model to have scraped or memorized these during pre-training.

  • Proprietary Sandboxing & Temporal Cutoffs: We evaluate against closed-source enterprise data (e.g., internal sensor telemetry) and data generated strictly after the foundation model’s training freeze.

We actively look for performance degradation. If an open-source model scores a 5% MAPE on a public set like ETTh1 but degrades to 40% on a statistically identical private set, that discrepancy instantly flags memorization rather than true predictive skill.

Happy to chat more if you are exploring similar evaluation architectures!

This project brings point forecasts, interval estimates, and business recommendations together in an instant inference workflow, giving it strong practical potential. I’d like to ask about another point that has not yet been discussed: does the “90% confidence interval” refer to a central 90% prediction interval defined by q0.05 and q0.95 for future observations, or to a confidence interval representing uncertainty in the forecast mean or model parameters? If it describes future observations, “prediction interval” would generally be the more precise term.

To validate the reliability of these intervals, I suggest adding rolling-origin backtesting alongside MAPE and RMSE. At each forecast origin, only preceding data should be used. The results could report empirical coverage of the 90% interval, normalized mean interval width, and either MSIS(alpha=0.10) or quantile loss, further stratified by forecast horizon and regular versus intermittent demand. This would show whether empirical coverage is genuinely close to 90% while preventing artificially high coverage obtained simply by widening the intervals.