Skip to main content
pyboltzmann is a client for a Boltzmann brain. You open a directory, call methods, and they work against an OCI artifact. Brain implements the complete protocol, including hierarchical catalog navigation.
The brain conserves, validates, and retrieves knowledge. An external LLM processes, contextualizes, and uses it. The SDK embeds no model — interpretation enters through one interface and nowhere else.

The line this SDK draws

The SDK does whatever the protocol defines mechanically; the implementer supplies whatever the paper assigns elsewhere. There are no NotImplementedError stubs, and a test enforces it. An unimplemented function is worse than an interface: it looks callable and is not. Nothing is declared and unreachable either — every type, enum member and constant is produced by something, and a test enforces that too.

Where to go next

Installation

The distribution is pyboltzmann; the import package is boltzmann.

Quickstart

The whole lifecycle against a real OCI layout, in one file.

Architecture

Blocks, modules, compositions, snapshots.

Interfaces

The protocol surface, and the four things you plug in.

Reference

Boltzmann Brain: A Versioned, Distributable, and Model-Agnostic Knowledge Architecture (Gaussia, 2026).