Skip to content

SDKs

Use Python to connect your agent's wallet and request inference through MPPI.

SDKs and installation

MPPI has two role SDKs. Choose the agent SDK to buy inference, or a provider SDK to accept payment in your own inference service. The Python protocol dependency installs with either Python SDK.

ComponentReleaseUse
mppi-agent · Python0.1.6Agent client and wallet onboarding; Python 3.12+ on macOS/Linux.
mppi-provider · Python0.2.0Async provider runtime; Python 3.12+.
mppi-provider · Rust0.2.0Provider crate and native CLI; Rust 1.95.0 for source installation.
mppi · native CLIProvider 0.2.0Provider onboarding and verification. Published binary: Linux ARM64.
mppi-protocol · Python0.1.4 · agent and providerShared wire bindings, types and payment arithmetic.
mppi.v1Wire namespaceThe shared protobuf contract; independent of package versions.

For your first installation, use the quickstart for your role. It includes prerequisite download links, a working directory, environment activation and Circle account setup. The commands below are an installation reference for an existing application directory.

Shell · prepare your Python application environment
uv venv --python 3.12
source .venv/bin/activate
Shell · agent SDK
uv pip install 'mppi-agent==0.1.6'
mppi-agent --help
Shell · provider SDK
uv pip install 'mppi-provider==0.2.0'
Cargo.toml · provider application
[dependencies]
mppi-provider = "=0.2.0"

Use the native provider CLI for onboarding Python and Rust providers. Verify the published binary checksum, or install the exact CLI source release with Cargo. Source builds on other platforms are outside the published Linux ARM64 binary verification.

Shell · provider CLI source installation
cargo install mppi-provider --version 0.2.0 --locked --bin mppi
mppi --version

Release versions

This documentation targets agent SDK 0.1.6 and provider SDKs 0.2.0, both with Python protocol 0.1.4, and wire namespace mppi.v1. Both Arc deployment profiles are packaged. Provider hosting, execution and recovery infrastructure remain part of your application.

SDKs | Agents | MPPI Docs