Axiomatic Octo
Axiomatic Octo is a swiss army knife for Lean (auto)formalization workflows. Today, it provides semantic search over your own projects and common dependencies such as Mathlib, Batteries, CSLib, and Physlib through a VS Code extension and Python CLI. The roadmap includes broader theorem-proving and knowledge-management tools.
Install
VS Code (recommended): install Axiomatic Octo from the Marketplace and open a Lean project. The extension completes setup on first activation.
CLI only:
uv tool install axiomatic-octo
To build your own search index, install the optional dependencies:
uv tool install 'axiomatic-octo[build-search-index]'
Quickstart
Set OPENROUTER_API_KEY in your environment or a project-root .env.secrets
file, then run:
cd my-lean-project
octo search fetch
octo search query "self-adjoint operator is symmetric"
Use octo search status to check installed databases and updates. Local index
creation is available through octo search index when the optional dependencies
are installed.
Axiomatic hosts project databases by default. Repositories that already build a
search-lean-db workflow artifact can set search_lean.db_source to
workflow. Octo uses only the selected source and does not fall back.
Agents
Octo includes a workspace-scoped Claude Code skill that lets agents search Lean
declarations through the CLI. After the VS Code extension starts successfully,
enable terminal and agent access when prompted. You can also run
Octo: Enable terminal / agent access from the Command Palette. The extension
installs the skill under .claude/skills/, offers to add
.claude/skills/octo* to .gitignore, and keeps the skill synchronized when
Octo updates.
Development
uv sync
pnpm install
uv run pytest
uv run ruff check .
pnpm --filter axiomatic-octo run test
To run the extension from source, open the repository in VS Code and launch
Run Search Extension (isolated). After changing
src/axiomatic_octo/protocol.py, regenerate the TypeScript bindings with:
pnpm --filter axiomatic-octo run protocol:codegen
License
AGPL-3.0-only. See LICENSE.
Metadata
Release files for axiomatic-octo 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axiomatic_octo-0.2.3.tar.gz | 228.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axiomatic_octo-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 489.1 kB
Release files / axiomatic_octo-0.2.3.tar.gz
| Download URL | axiomatic_octo-0.2.3.tar.gz |
|---|---|
| Size | 228.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de22ddbfa100f59bb993f7b51a41e5b1e87cc6bd9faaf1f7de153f3b1b6978a5
|
|
BLAKE2b-256 checksum How to use checksums |
7bdd323f62919ad72a5c0354a9764f6f6b2e3ae30d53e559a85bcd2e797b6c43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / axiomatic_octo-0.2.3-py3-none-any.whl
| Download URL | axiomatic_octo-0.2.3-py3-none-any.whl |
|---|---|
| Size | 261.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
215c819c9de9201836ded7e88f36ad54546a3df5829379eaa8a9de476dde7620
|
|
BLAKE2b-256 checksum How to use checksums |
74a19f66f466e0539241d7e238f6805a330d3515d6c4ca8e9a962ecef34288db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|