Run agentic methods in discrete verifiable steps.
pip install method-ai==0.40.0 Copy PIP instructions
MIT-licensed Python binding to the same installed Node Method runtime. Requires Python 3.9+ and the JavaScript SDK 0.40.0.
npm install -g https://github.com/method-ai-hq/method-sdk/releases/download/v0.40.0/method-ai-hq-sdk-0.40.0.tgz pip install https://github.com/method-ai-hq/method-sdk/releases/download/v0.40.0/method_ai-0.40.0-py3-none-any.whl withmethod authoring from pathlib import Path from withmethod import load_method, run_method method = load_method(Path("task.method")) result = run_method("task.method", {"allow_local_processes": True}, inputs={}, directory="runs/first") print(result["status"]) Use method/3.4 for new Methods. To run a published Method from an app, use Method().run("wf_…", inputs); see https://docs.withmethod.ai/guides/production. Python calls the executor through the method-bridge command. Source and releases: https://github.com/method-ai-hq/method-sdk
All 1 file in this release has provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
All 1 file in this release has been uploaded with provenance metadata.
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.




