Skip to main content

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.

For GitHub Actions:

- uses: motus-os/motus@v0.6.1
  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 tool names, not transcript text or file paths.

Trust Boundary

The Store is controlled by its owner. SQLite triggers normally prevent event updates and deletions, and payloads carry unkeyed SHA-256 digests. These properties support deterministic local reconstruction; they do not authenticate the producer or make the database tamper-proof.

Motus 0.6.1 has no signing or independent attestation layer.

Metadata

Release files for motusos 0.6.1

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

Source distribution (sdist)

Source distribution for motusos 0.6.1
File Size Uploaded Provenance Actions
motusos-0.6.1.tar.gz 104.3 kB With provenance Details for motusos-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for motusos 0.6.1
File Interpreter ABI Platform Actions
motusos-0.6.1-py3-none-any.whl Python 3 none any Details for motusos-0.6.1-py3-none-any.whl

Total release size: 250.9 kB

Release files / motusos-0.6.1.tar.gz

Download URL motusos-0.6.1.tar.gz
Size 104.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a83b758f92282024ad185de73e3da8614e845b18e312ad9bab0c46822e09c0ad
BLAKE2b-256 checksum
How to use checksums
5d6fbeac694e2674f558c5397eee35aa59469e7a15758ce7f60c46c7b5b291a4
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 16, 2026.

Transparency log

Release files / motusos-0.6.1-py3-none-any.whl

Download URL motusos-0.6.1-py3-none-any.whl
Size 146.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac9a5b03dc4aa0650c0436e3e6334b15ce749e952911e4d81faf8107cd4c7f2b
BLAKE2b-256 checksum
How to use checksums
fda8fa9d59b1ade5f40dd3dc3e1756c59d17986897c2cfb4f731b8a287c7fd1e
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 16, 2026.

Transparency log

Security for motusos 0.6.1

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 motusos-0.6.1.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 16, 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