Motus CLI
Motus records command, CI, and instrumented agent runs in a local SQLite work ledger and projects the stored records into receipts.
Install And Record A Run
pip install motusos
motus wrap -- python3 -c "print('first recorded run')"
The command runs normally and Motus prints a run_... ID plus the exact
receipt command. List recent runs or inspect one directly:
motus run list
motus run receipt run_...
What Is Recorded
motus wrap stores:
- one bounded run,
- metadata-only output events,
- exit state and terminal outcome,
- a deterministic receipt projection after close.
Raw stdout, stderr, environment variables, credentials, and unbounded transcripts are not persisted by default.
The project-local Store is .motus/kernel-store.db. Set
MOTUS_KERNEL_STORE_PATH only when another location is intentional.
Structured Work
Use the compatibility work loop when the work needs an explicit claim, evidence event, and close:
motus work claim BILLING-114 --intent "Fix rounding in invoice totals"
motus work evidence LEASE_ID test_result --passed 1 --failed 0
motus work release LEASE_ID success
motus work receipt LEASE_ID
The claim command prints the lease ID and the next evidence command. The linked Store run is the durable record; the lease coordinates the work loop.
Agents And CI
For an MCP-capable agent runtime:
pip install "motusos[mcp]"
motus mcp
For Claude Code:
claude mcp add motus -- motus mcp
The runtime must call the MCP tools; Motus does not capture agent sessions
automatically. The tools start, append to, close, snapshot, and list Store runs,
with optional fenced locks. Use motus run receipt after an MCP-created run is
closed; the MCP server does not expose a receipt tool.
For GitHub Actions:
- uses: motus-os/motus@v0.6.2
with:
command: "pytest"
export-path: "motus-run-export.json"
receipt-path: "motus-receipt.json"
Insights
motus insights self-audit --json
motus insights agent-sessions ~/.claude/projects --json
The commands return deterministic findings or data-density diagnostics.
agent-sessions returns derived counts and fixed tool categories, not
transcript text or file paths.
Trust Boundary
The Store is controlled by its owner. While its SQLite triggers remain
installed, they block run deletion, run-identity changes, changes to closed
outcomes, and updates or deletion of event and schema rows. Stored JSON carries
unkeyed SHA-256 digests. motus doctor checks structural health, required
guards, relationships, and stored digests. These properties support
deterministic local reconstruction; they do not authenticate the producer or
make the database tamper-proof.
Motus has no signing or independent attestation layer.
Read Next
Metadata
Release files for motusos 0.6.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 |
|---|---|---|---|---|
| motusos-0.6.2.tar.gz | 115.2 kB | With provenance | Details for motusos-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| motusos-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for motusos-0.6.2-py3-none-any.whl |
Total release size: 273.1 kB
Release files / motusos-0.6.2.tar.gz
| Download URL | motusos-0.6.2.tar.gz |
|---|---|
| Size | 115.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0d972e4483a598f817becc53ebc957622d2c7f125b7011a8a2624cb3f43a4a6
|
|
BLAKE2b-256 checksum How to use checksums |
ea8b8ede09a12ac60c0aa56db6c7917beb5740cad308950d13e7e0f6e07086a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 17, 2026.
Transparency logRelease files / motusos-0.6.2-py3-none-any.whl
| Download URL | motusos-0.6.2-py3-none-any.whl |
|---|---|
| Size | 157.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da6f9ca5ab22a6bb99cae89b82b83f5daa7ceecd1229ef70c90885b9f4906162
|
|
BLAKE2b-256 checksum How to use checksums |
6bbe261e88a80da15711adbb2d41ed98dd1508514ef3aab6ab3ec106ce50dd9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 17, 2026.
Transparency logSecurity for motusos 0.6.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 motusos-0.6.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 Jul 17, 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.