Apizr
An open-source capability compiler for Python codebases.
Understand what existing Python code can expose before connecting it to an API or a tool client. Scan a codebase, inspect its capability graph, expose eligible functions through REST or MCP, and execute trusted code under explicit policies.
Python 3.11–3.14 · 0.2.0 · GPL-3.0-or-later
Start with a small Python project Read the 0.2.0 release notes
Discover
apizr scan . inventories Python files without importing or executing them.
Scan your repository.
Understand
apizr graph . reports statically known relationships. apizr inspect example.py
explains individual contracts; apizr readiness . assesses repository exposure
evidence under a policy. Unknown evidence remains unknown.
Understand the architecture.
Expose
Generate REST and MCP interfaces from the same eligible contracts. Start with a small typed function; no Docker is required for discovery or generation. Generate REST or generate MCP.
Govern
Choose direct execution or an explicit local-process/OCI policy. Static READY
is not a safety guarantee. Local processes do not isolate filesystem/network
access; OCI containers are not VMs. Execution remains experimental and requires
trusted source and infrastructure.
Understand execution boundaries.
Existing notebook workflows
Scripts and notebooks remain supported for inspection and generation. The Legacy generation pipeline is retained. See compatibility notes for supported environments and output behavior.