Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Gnomon

Turn time-series data into forecasts you can check.

Gnomon gives people and AI agents tools to inspect data, run their chosen models, compare forecasts against simple baselines, and keep a record of what was predicted and what was known at the time.

Use your own forecasting software. Add a remote service or a persistent ledger when you need one.

Quick start

Python 3.11–3.13. No required third-party dependencies.

python -m pip install --pre 'gnomon-forecast==0.8.0rc3'
gnomon infer --provider last_value --request '{"history":[10,12,11],"horizon":2}'

That runs an offline baseline. To use your own model:

from gnomon import ForecastRequest, ForecastResult, InferenceEngine

def my_forecaster(request):
    # Replace this baseline with your preferred model.
    return ForecastResult((request.history[-1],) * request.horizon)

engine = InferenceEngine()
engine.register("my-model", my_forecaster)
execution = engine.forecast("my-model", ForecastRequest((10, 12, 11), 2))
print(execution.result.point)  # (11.0, 11.0)

StatsForecast, NeuralForecast, Darts or your own code: wrap the call and return a ForecastResult. Use register_factory for a fresh model on each evaluation fold. Gnomon checks inputs and outputs; you choose and install the model software. See provider integration.

Connect an agent

Run gnomon mcp serve in your agent host. The agent gets 6 tools by default:

  • gnomon_inspect: check data and freeze a reusable snapshot.
  • gnomon_describe: calculate an observed statistic.
  • gnomon_capabilities: find available models and their limits.
  • gnomon_forecast: run the selected model.
  • gnomon_evaluate: compare models on past data with an explicit budget.
  • gnomon_read: retrieve saved results without running the model again.

Python, CLI and MCP share the same interface. Start with the MCP quickstart and agent skill.

Optional connectors

Ephemeris is one connector for remote time-series inference. Set its deployment URL and credentials in operator configuration; they are never agent tool arguments. Local models work without it. See connector setup.

Keep the history straight

The optional SQLite ledger saves forecasts, revised actuals, scores and decisions. Later corrections do not overwrite earlier predictions. You can ask what was known at a particular time and compare models using that evidence.

Optional date and time tools handle timezones, calendar shifts, intervals and event order. They calculate supplied facts; they do not claim to improve an LLM's reasoning.

Status and guides

This is a release candidate. Live-service verification and a real-agent comparison remain pending. A forecast is not permission to act; model quantiles are not proof of calibrated uncertainty. See validation and limits.

A gnomon is the part of a sundial that casts the shadow.

Metadata

Release files for gnomon-forecast 0.8.0rc3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gnomon-forecast 0.8.0rc3
File Size Uploaded Provenance Actions
gnomon_forecast-0.8.0rc3.tar.gz 785.6 kB With provenance Details for gnomon_forecast-0.8.0rc3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gnomon-forecast 0.8.0rc3
File Interpreter ABI Platform Actions
gnomon_forecast-0.8.0rc3-py3-none-any.whl Python 3 none any Details for gnomon_forecast-0.8.0rc3-py3-none-any.whl

Total release size: 1.6 MB

Release files / gnomon_forecast-0.8.0rc3.tar.gz

Download URL gnomon_forecast-0.8.0rc3.tar.gz
Size 785.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e173f91355e3636e2b40fef550cf833cf2bf693faf4b336fa8ff99abf8c906cf
BLAKE2b-256 checksum
How to use checksums
28ae8f02fc6e4c61ba034072eb43f36a29f4d97daa82d4aa6a930aaab541d6b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release files / gnomon_forecast-0.8.0rc3-py3-none-any.whl

Download URL gnomon_forecast-0.8.0rc3-py3-none-any.whl
Size 853.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba94b70ddf4cea5fb6e8223f61f73371280e92246d5635a7cd0cc1fa8ac02361
BLAKE2b-256 checksum
How to use checksums
8d67f766071c2a39c479fb65a98b7153a7b01f6599e043a1cdbfbe3e0582d4f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Security for gnomon-forecast 0.8.0rc3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gnomon_forecast-0.8.0rc3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page