open source

Precomputing 0.1.1 Alpha Is Now Open Source Under the Apache License 2.0

Everything behind this site’s eight live demos is now on GitHub, under the Apache License 2.0. Version 0.1.1-alpha is the first public release, and it comes with ready-made binaries for Linux.

Precomputing keeps answers ready as data arrives. A short policy names the streams of events, the answers to keep ready and how long each level of detail lives, and one SQLite file keeps those answers current. Any SQLite tool reads the file. The introduction has the longer version.

The repository holds the compiler that turns a policy into plain SQLite triggers, the Engine, the Meter, Logs, Traces and the MCP server: about 13,900 lines of Go, with SQLite 3.53.4 built in. The demos are there too, with the tools that rerun each one headless and print its numbers, and the logs of the checks run for this release.

A terminal checking the Linux release against SHA256SUMS, unpacking it, printing its version and running precomputing demo, which takes in 4,048,210 trades and finds 0 differences when it recounts 27,174 candles The x86-64 release on a two-core cloud server: checked against its checksum, unpacked and run.

How to Try It

Pick the tarball for your CPU in releases/v0.1.1-alpha, one for x86-64 and one for 64-bit ARM, and check it against SHA256SUMS before you unpack it:

sha256sum -c --ignore-missing SHA256SUMS
tar -xzf precomputing-0.1.1-alpha-linux-amd64.tar.gz
./precomputing-0.1.1-alpha-linux-amd64/precomputing version

The binaries are static, so there is nothing else to install. precomputing demo runs Demo 2’s trading day, 4,048,210 trades, and checks every candle against a recount. The README’s quick start covers the rest: a policy compiled into SQLite, events sent to the Engine, a log dashboard turned into a policy, agent runs kept by Traces, and a file served to AI agents over MCP.

To build it yourself you need Go 1.24 and a C compiler. SQLite comes with the source. The demos run from the repository as well: serve the demo folder with any static web server.

What Was Checked

Before the release, the Go tests passed, and all eight demos ran headless and printed the numbers this site publishes. Then the x86-64 binary ran Demo 2’s trading day with 0 differences in its recount. On the data of Demos 3 to 6 it wrote the same files as the browser, value for value, with one known exception: in Demo 4, one value out of 1,794,042 differs by two units in the last place of a logarithm. Over MCP it gave the same answers as the browser in all of Demo 7’s calls. The logs are in the results folder.

The ARM binary is built the same way, but it hasn’t been run yet.

The License

Everything in the repository is under the Apache License 2.0 unless a file says otherwise. The notice reads Copyright 2026 Precomputing.com, and the LICENSE and NOTICE files are in the top folder. Third-party parts keep their own terms: SQLite is in the public domain, and Go, musl and Zig are under BSD and MIT licenses. NOTICE lists them all, and THIRD-PARTY-LICENSES.txt has the full texts.

Where It Stands

This is an alpha. It has been checked on simulated and generated data, and on Wikipedia’s live changes in one demo, but nobody has run it on production traffic yet. It hasn’t had an outside security review either. The HTTP server takes tokens but has no TLS of its own, so outside localhost it belongs behind a proxy that adds it. The language and the file format are frozen only from 1.0.

Next on the roadmap is 0.2: Logs sending its own batches upstream, an OpenTelemetry Collector plug-in, JSON log lines, packed sketches, TLS, and builds for macOS and Windows. If you try Precomputing on your own data, write and say what broke.