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.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| weftai_cli-0.5.2.tar.gz | 13.2 kB | With provenance | Details for weftai_cli-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weftai_cli-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for weftai_cli-0.5.2-py3-none-any.whl |
Total release size: 23.4 kB
Release files / weftai_cli-0.5.2.tar.gz
| Download URL | weftai_cli-0.5.2.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16cd65bfae27b23b60af75aea455133d84c65c86727593823d5bf47c9b69faf9
|
|
BLAKE2b-256 checksum How to use checksums |
7c03d4a5c2c0f5132f2a86253e2dc8dc38bbe8a749bf54c9867887978bb75a8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency logRelease files / weftai_cli-0.5.2-py3-none-any.whl
| Download URL | weftai_cli-0.5.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff74868fe6096069b498140285fcf75fcc0e21467e01d09b98c994e588a8f892
|
|
BLAKE2b-256 checksum How to use checksums |
418e0e07c03a3aa6a867ce399d944f0b99a0be0f3e7d46cea323146d7dc3cca2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency logSecurity for weftai-cli 0.5.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for weftai_cli-0.5.2.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 Sep 30, 2026.
Transparency logA 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.