Skip to main content

weftai-cli

Run weftai operations against saved plans, with no model in the loop: execute a plan, validate one, describe what a model would see, read a trace, or serve the operations over MCP.

pip install weftai-cli
weftai init my-domain
weftai run <plan.json> --domain <file> [--fixture <file>] [--trace out.json] [--format text|json]
weftai validate <plan.json> --domain <file>
weftai describe --domain <file> [--json]
weftai trace <trace.json>
weftai mcp --domain <file> [--fixture <file>] [--name <name>]
weftai init [dir]
Command Does
run Executes a plan and prints the model-facing text, or JSON with --format json, optionally writing a trace. Exits 1 when any step failed.
validate Reports a plan's issues without running any handler
describe Prints the operation list a model sees, or the plan's JSON schema with --json
trace Prints each step's status, counts, timing and notices from a trace file
mcp Serves the domain over MCP on standard input and output
init Scaffolds a domain: one collection, one operation, the standard operations, a fixture and a test

A domain file is a Python module that exposes registry and create_context(fixture_path). python -m weftai.cli works as well as the weftai command.

License

MIT

Metadata

Release files for weftai-cli 0.7.0

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

Source distribution (sdist)

Source distribution for weftai-cli 0.7.0
File Size Uploaded Provenance Actions
weftai_cli-0.7.0.tar.gz 13.2 kB With provenance Details for weftai_cli-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for weftai-cli 0.7.0
File Interpreter ABI Platform Actions
weftai_cli-0.7.0-py3-none-any.whl Python 3 none any Details for weftai_cli-0.7.0-py3-none-any.whl

Total release size: 23.4 kB

Release files / weftai_cli-0.7.0.tar.gz

Download URL weftai_cli-0.7.0.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b518bffc75f7cc042c10ba81722768b450f9a279d30e59827e3856968bfe31d3
BLAKE2b-256 checksum
How to use checksums
a1e64c578e450dd79eb01304c87318d1aff28567a1e3be51f10dc1eb352dcc90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Release files / weftai_cli-0.7.0-py3-none-any.whl

Download URL weftai_cli-0.7.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a2eeede89d2b51881ff945c7f3302ab119443678e266de0e676391e610bea6a
BLAKE2b-256 checksum
How to use checksums
13970980d8023c3846a405e2a25d9ce3c1a2ad51387f87d5597722d6f8f3c616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Security for weftai-cli 0.7.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for weftai_cli-0.7.0.tar.gz

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 Oct 28, 2026.

Transparency log

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.

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