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.

Gnomon is the toolkit. Ephemeris is the remote inference service integration; Paracast is its backend implementation. Your own forecasting library works too: register a callable or fresh model factory without adding a Gnomon adapter.

Quick start

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

python -m pip install --pre 'gnomon-forecast==0.8.0rc1'
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.

Ephemeris

# 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.0rc1

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

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / gnomon_forecast-0.8.0rc1.tar.gz

Download URL gnomon_forecast-0.8.0rc1.tar.gz
Size 785.9 kB
Tags Source
SHA-256 checksum
How to use checksums
38a7e3268084baa01240a112fc3cdb6fd0ca6d83960c46528fe1fe2f46b7ee3a
BLAKE2b-256 checksum
How to use checksums
ead0cc8d9325fc488a9f6426e040d9833f4b16134fcc267dff13c8082753c533
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.0rc1-py3-none-any.whl

Download URL gnomon_forecast-0.8.0rc1-py3-none-any.whl
Size 853.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
191fcd80c1076f005db1b19039930a3b6d433a08b052ace87d272fb014280bae
BLAKE2b-256 checksum
How to use checksums
d996d05c20f81f3504d93925acbf19fa436ca5379f4e6cc5ae510a4d04a0675e
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.0rc1

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