Skip to main content
Pre-release

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

Gnomon

Time-series tools for people and AI agents: inspect data, run a chosen forecast model, compare it against baselines, and preserve what was predicted and known.

Use your preferred forecasting software through a callable or fresh model factory, or connect a remote inference service. Gnomon provides shared execution contracts, explicit evaluation and an optional revision-aware ledger.

Quick start

Python 3.11–3.13. The core has no required third-party dependencies.

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

This release candidate introduces a new default agent interface. Read compatibility and migration when upgrading. Before publication, install the checkout with python -m pip install -e '.[dev]'.

from gnomon import ForecastRequest, ForecastResult, InferenceEngine

def my_forecaster(request):
    # Call your preferred library or fitted model here.
    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)

For models fitted on each request, use register_factory to give each backtest fold a fresh instance. StatsForecast, NeuralForecast and Darts remain user-owned dependencies/configurations. Unsupported inputs are rejected, not silently dropped.

Connect an agent

Run gnomon mcp serve as a stdio MCP server in your agent host. The agent gets 6 tools by default:

  • gnomon_inspect: inspect and freeze input data.
  • gnomon_describe: compute an explicitly requested statistic.
  • gnomon_capabilities: discover providers and limits.
  • gnomon_forecast: execute the selected provider.
  • gnomon_evaluate: compare providers on bounded historical folds.
  • gnomon_read: retrieve bounded pages of saved results.

A configured ledger adds history/scoring and evidence-based routing tools. Optional temporal calculations add one tool for dates, intervals and event order. Python, CLI and MCP use the same session contracts. See the MCP quickstart.

Optional connectors

Ephemeris is one available connector for remote time-series inference. It is optional: local callables and factories use the same execution interface.

# providers.toml
schema_version = 1

[providers.remote]
kind = "ephemeris"
base_url_env = "EPHEMERIS_BASE_URL"
token_env = "EPHEMERIS_API_TOKEN"
mode = "route"

Set these environment variables in the operator's environment, then pass --providers-config providers.toml to gnomon infer or gnomon mcp serve. The URL is deployment-specific; credentials are never agent tool arguments. See inference and providers.

What is kept separate

Inference does not secretly run a backtest. Evaluation is explicit and budgeted. The optional SQLite ledger preserves original executions, actual-value revisions, rescoring and decisions. It distinguishes valid time, source availability and local recording time: later corrections do not rewrite earlier forecasts.

Neither a forecast nor a good backtest grants permission to act. Model quantiles are not proof of calibrated uncertainty. Historical routing requires appropriate cutoff-bound evidence and otherwise falls back to a baseline.

This release does not establish forecasting superiority or improved LLM reasoning. Authenticated live Ephemeris verification and an actual matched ordinary/lean/full agent comparison remain pending. Local tests are not substitutes. See validation and limitations.

Documentation

Advanced evaluated workflows and legacy MCP profiles remain explicitly available; they are not the default provider session. Superseded designs and old benchmarks are recoverable in Git history, not parallel specifications in the active tree.

The name

A gnomon is the part of a sundial that casts the shadow used to tell time.

Metadata

Release files for gnomon-forecast 0.8.0rc2

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.0rc2
File Size Uploaded Provenance Actions
gnomon_forecast-0.8.0rc2.tar.gz 786.0 kB With provenance Details for gnomon_forecast-0.8.0rc2.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / gnomon_forecast-0.8.0rc2.tar.gz

Download URL gnomon_forecast-0.8.0rc2.tar.gz
Size 786.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13adbfddb84221aead64ed22190532536f5e24ff6fac16d503a8edf8de0b158a
BLAKE2b-256 checksum
How to use checksums
0c701f3e142b7c39e1bd45817cc9624ba39c4a618a8ffd992cf35da7b724f41c
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.0rc2-py3-none-any.whl

Download URL gnomon_forecast-0.8.0rc2-py3-none-any.whl
Size 853.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32fd32a797a0bac4a9197fd901fd3d879a0abf4b9297f211299ba730a4119cd7
BLAKE2b-256 checksum
How to use checksums
6d76123f51414695f9cf8a4ae7ad68b5ca870b2e9179d11eb339279c04e31179
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.0rc2

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.0rc2.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