Skip to main content

Gnomon logo

Gnomon

Know more than the prediction.

Gnomon helps people and AI agents inspect time-series data, run their chosen models, challenge forecasts against honest baselines, and preserve the evidence behind every result.

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 'gnomon-forecast==1.3.0'
gnomon infer --provider last_value --request '{"history":[10,12,11],"horizon":2}'

From a checkout, use python -m pip install .; this also works before the versioned package is published. The forecast command runs an offline baseline. To use your own local model, install Gnomon in the same Python environment as the model and its dependencies, then run that environment's gnomon or python -m gnomon. An isolated Gnomon environment cannot import PyTorch or another model library installed elsewhere.

Register your model as a callable:

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.

For a scoreable ledger record, give the forecast a nonempty series_id and explicit future_timestamps. Every ledger timestamp needs an explicit timezone such as +00:00; each actual must use the forecast's exact series_id, unit and one of its future timestamps. The first-run guide shows the complete CLI loop.

Connect an agent

Start with the agent operation guide, including cache and configuration diagnostics, strict routing, independent verification, and revised-vintage rescoring. The installed gnomon providers example and python -m gnomon.examples.mcp_workflow demonstrate custom providers and verified MCP pagination without external services.

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.

For Hermes, gnomon connect ephemeris --install-hermes-skill installs optional native secure Ephemeris setup. After opt-in, Hermes prompts privately for the key and the agent completes the connection; the key never needs to be pasted into chat.

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. Agents can follow the portable Ephemeris setup skill for installation, credentials, MCP configuration and API documentation links. For trading research and execution workflows across brokers, exchanges and competitions, use Trade with Gnomon, including StatsForecast and Ephemeris integration examples.

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, find forecasts that need scoring, and compare models on matched past results. No automatic retraining or model calls are involved.

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

The provider-neutral execution API is stable. 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.

Decision memory: structured summaries, context comparisons, outcome reviews and portable lessons. Run python -m gnomon.examples.decision_memory in a fresh directory for the offline example.

Optional Ephemeris connection

Local models need no account. To sign up for additional remote forecasting models and securely save your API key, run gnomon connect ephemeris. MCP capabilities expose the same optional signup link for agents; keys are entered in a human terminal, never in chat. See connection setup.

Read-only evidence recall: gnomon memory and gnomon_memory, with an optional Hermes pre-turn plugin for project-scoped automatic context.

Metadata

Release files for gnomon-forecast 1.3.0

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 1.3.0
File Size Uploaded Provenance Actions
gnomon_forecast-1.3.0.tar.gz 277.9 kB With provenance Details for gnomon_forecast-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 595.4 kB

Release files / gnomon_forecast-1.3.0.tar.gz

Download URL gnomon_forecast-1.3.0.tar.gz
Size 277.9 kB
Tags Source
SHA-256 checksum
How to use checksums
47bb7f62452d2bcbbb84140d55f61f2efb606f89f0e4dec66951fc7a89c141db
BLAKE2b-256 checksum
How to use checksums
c0dfaf791c78a679bc242297308160c84de0dd1c265a3e2b9ad71c6e85b1896f
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 30, 2026.

Transparency log

Release files / gnomon_forecast-1.3.0-py3-none-any.whl

Download URL gnomon_forecast-1.3.0-py3-none-any.whl
Size 317.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26e70c2536c3b573962296ee18f8dd591719a804f5c49f42478312fcb858e990
BLAKE2b-256 checksum
How to use checksums
86ef977016d2c178428bc1f79f6c4e0f2d018590db01b6e02a6a11593f7d3305
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 30, 2026.

Transparency log

Security for gnomon-forecast 1.3.0

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-1.3.0.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 30, 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