OuterSpace Apizr
Connect selected Python functions to AI agents through MCP, or expose them as REST APIs.
Apizr is an open-source capability compiler: analyze existing Python code, choose which functions are public, generate their interfaces, and define how they execute. Your business logic stays in Python.
Quickstart: make your first MCP and REST calls · The full journey
Follow Install Apizr, then the Quickstart. See the 0.4.1 release notes for functionality, compatibility and publication status. The journey is Python code → discover/select capabilities → expose as REST/MCP → optionally deliver as OCI.
Python 3.11–3.14 · GPL-3.0-or-later.
Choose your path
| Your goal | Start here |
|---|---|
| Expose Python functions as MCP tools or REST endpoints | Install → Quickstart |
| Analyze a project from an MCP client | Install the MCP profile → analysis server |
| Build and deliver a service | Install OCI or delivery → OCI and Attest |
The core handles supported static analysis and generation. Generated servers have their own runtime dependencies. Optional plugins live in separate environments; installation, activation and operator authorization are independent decisions.
Expose the functions you choose
Readiness reports whether the available code evidence supports an interface. An exposure policy names the functions you choose to make public. A bundle is the generated server, its contracts and the source needed by those functions. Being ready never makes a function public automatically.
| Connect through | Start with |
|---|---|
| MCP tools for agents and other clients | Generate MCP and make two calls |
| REST endpoints for applications | Generate REST and send two requests |
The generated MCP server calls your selected functions. The separate, Apizr analysis MCP server analyzes repositories and plans exposure; it does not execute their functions.
Choose execution boundaries
Analysis and generation do not execute the project. Starting a generated server and calling its functions does: use trusted source and dependencies. Direct mode runs functions inside the server. Governed mode uses an execution policy to choose a worker and its required limits: a fresh local process or an OCI container per call. Local workers do not isolate the host filesystem or network; containers are not an untrusted-code guarantee.
The direct Quickstart needs no Docker. Read the exposure guide for governed examples and the execution boundaries for their guarantees and limits.
Existing workflows and limits
Single-source inspect, generate rest/mcp and execute remain supported.
The historical pipeline
is a separate compatibility path. See
the full journey
for dependency, resource and exposure limits.
Watch the demo · Architecture · Development and checks · Report an issue · GPL-3.0-or-later
Release files for outerspace-apizr 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| outerspace_apizr-0.4.1.tar.gz | 238.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| outerspace_apizr-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 599.0 kB
Release files / outerspace_apizr-0.4.1.tar.gz
| Download URL | outerspace_apizr-0.4.1.tar.gz |
|---|---|
| Size | 238.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5b7e0b14b04886f057997dc2a5175c33ad69fa4858293139fdf4c4a28019013
|
|
BLAKE2b-256 checksum How to use checksums |
565139208205de3a0fb3dd564f5f8b3cc9d985421efc1e23ea3e061149576c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / outerspace_apizr-0.4.1-py3-none-any.whl
| Download URL | outerspace_apizr-0.4.1-py3-none-any.whl |
|---|---|
| Size | 360.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2142c94d3eaf237c43fb366961bd1408078113f6856949300faedd81d5dfbb53
|
|
BLAKE2b-256 checksum How to use checksums |
c254abb8627d1ab772e19d7fa5cb52bf2882eab1d5812954b2d8434b73774868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log