Skip to main content

M3 Python SDK

The sf-m3 package provides direct MCP clients, agent sessions, pytest integration, assertions, traces, evaluations, and optional persistence.

uv add "sf-m3[pytest]"

The SDK requires Python 3.10 or newer. Installing it does not install the standalone m3 command or viewer.

Use the first test for a runnable project and the Python reference for public contracts.

Develop the SDK

just setup
uv run --project sdk --extra pytest --group typecheck pytest sdk/tests

Runnable guide projects live under sdk/examples/docs. Follow the documentation writing guide when changing them.

Metadata

Release files for sf-m3 0.3.2

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

Built distribution (wheel)

Table of built distributions (wheels) for sf-m3 0.3.2
File Interpreter ABI Platform Actions
sf_m3-0.3.2-py3-none-any.whl Python 3 none any Details for sf_m3-0.3.2-py3-none-any.whl

Release files / sf_m3-0.3.2-py3-none-any.whl

Download URL sf_m3-0.3.2-py3-none-any.whl
Size 754.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdad03d3caf3c8fa9dee751689629042110486388033da801dfd3c3f02c549d0
BLAKE2b-256 checksum
How to use checksums
7617c33ece51fe6c9b2722ee36b395c792f38391ad6a698d5c47ba8a90d59c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}

Security for sf-m3 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file No provenance

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