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

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.7
File Interpreter ABI Platform Actions
sf_m3-0.3.7-py3-none-any.whl Python 3 none any Details for sf_m3-0.3.7-py3-none-any.whl

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

Download URL sf_m3-0.3.7-py3-none-any.whl
Size 757.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a76d4bd324ce8e58789cb8748a0d1d8a540619313f283575e980f3f385a4546
BLAKE2b-256 checksum
How to use checksums
407348e5e79dcb3246e0480df37e767433c0c1532fb1695b5ceb2c6dff65997f
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":"26.04","id":"resolute","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.7

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