Equilibrium Labs Docs
v0.1
Changelog GitHub
Menu

Reference

Configuration

Configuration comes from three places, resolved in order: command-line flags, then environment variables, then equilibrium.toml, then built-in defaults. Anything you don’t set falls through to the next source.

equilibrium.toml

Placed at the project root, or pointed to explicitly with --config.

TOML
[api]
key = "${EQUILIBRIUM_API_KEY}"

[defaults]
seed = 20260801
output_dir = "./equilibrium-runs"
cache_dir = "~/.cache/equilibrium"

[mcp]
port = 8420

The ${EQUILIBRIUM_API_KEY} syntax pulls from the environment rather than storing the key in the file directly — equilibrium.toml is typically committed to a repository, and the API key should not be.

Environment variables

VariablePurpose
EQUILIBRIUM_API_KEYAPI key for a self-hosted MCP server instance; see authentication
EQUILIBRIUM_SEEDDefault seed used when --seed isn’t passed to equilibrium generate
EQUILIBRIUM_OUTPUT_DIRWhere generated samples and manifests are written
EQUILIBRIUM_CACHE_DIRWhere downloaded calibration targets and registry metadata are cached locally

Defaults if nothing is set

With no config file and no environment variables, output_dir defaults to ./equilibrium-runs in the current working directory, cache_dir defaults to a platform-standard cache location, and no default seed is set — equilibrium generate will refuse to run without an explicit seed unless one is configured, since an unrecorded implicit seed would break the reproducibility a provenance manifest is meant to guarantee.

View source on GitHub