Skip to main content

Axiomatic Octo logo

Axiomatic Octo

Unit tests Python 3.11+ License: AGPL-3.0 PyPI version

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.

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axiomatic-octo 0.2.2
File Size Uploaded
axiomatic_octo-0.2.2.tar.gz 215.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for axiomatic-octo 0.2.2
File Interpreter ABI Platform
axiomatic_octo-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 462.9 kB

Release files / axiomatic_octo-0.2.2.tar.gz

Download URL axiomatic_octo-0.2.2.tar.gz
Size 215.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bfb525dbbc118cebe7ccba88fbfa8d91f288a1ec5cefc7084542f1594783128c
BLAKE2b-256 checksum
How to use checksums
29713cfa8ace9f28094dff402ee535958e8ccf9211668ddce141919e6a9e5061
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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.2-py3-none-any.whl

Download URL axiomatic_octo-0.2.2-py3-none-any.whl
Size 247.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9deb6b2aefe2939b45b437ef056a30c896f8fd2c643063bfc066c559c47f98e
BLAKE2b-256 checksum
How to use checksums
6fa5570b7c21ec16a37b0d0567346732bd7e06d58467399bf7907867057dba7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 history Release notifications | RSS feed

0.3.3

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

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