Skip to main content

AgentMuru

PyPI Python CI Documentation License: MIT

Build agents you can see, steer, and trust.

AgentMuru is a Python-native runtime and Workspace for observable, human-governed AI applications. Agents, tools, events, sessions, approvals, artifacts, workflows, and traces are the application. Muru Workspace is their replayable operator projection.

Install and run

python -m pip install agentmuru==0.2.0
muru doctor
muru init my-agent --name "My Agent"
cd my-agent
muru run app:application

Open http://127.0.0.1:8000. The scaffold uses FakeModel, so the first run is local and credential-free.

Durable local Runtime

from agentmuru import Agent, Application, FakeModel, Runtime, SQLitePersistence

persistence = SQLitePersistence("agentmuru.db")
application = Application(
    agent=Agent(
        name="customer-intelligence",
        instructions="Investigate customer questions using governed tools.",
        model=FakeModel.responses("The customer is active."),
    ),
    session_store=persistence.sessions,
    artifact_store=persistence.artifacts,
)
runtime = Runtime(application, approvals=persistence.approval_service())

SQLitePersistence uses the standard library and stores sessions, messages, runs, ordered events, artifacts, approvals, and idempotency keys in one file. It enables foreign keys and WAL, uses atomic event counters, retries bounded lock contention, and marks nonterminal runs process_interrupted after restart. Operate one active Runtime process per file.

Why AgentMuru

  • Provider-neutral streaming model events and a deterministic local provider.
  • Ordered, replayable Runtime events with reconnect cursors.
  • Typed tools with deny-by-default permissions, risk, approval, and redaction.
  • Durable sessions, artifacts, approval audit records, and idempotency.
  • Explicit workflows and agent handoffs with stable run identities.
  • FastAPI HTTP/WebSocket protocol and an accessible React Workspace.
  • Optional Databricks adapters outside the core dependency direction.

Verified in 0.2.0

  • 124 Python tests across Runtime, storage, security, server, integrations, workflows, CLI, examples, packaging, and docs contracts.
  • 9 frontend state/component tests and 3 Chromium flows, including a real server restart.
  • Ruff, MyPy, frontend lint/type/build/bundle gates, and strict MkDocs.
  • An isolated wheel install with user-site and PYTHONPATH disabled, including CLI, scaffold, server health, durable reopen, approvals, handoff, workflow, and Databricks optional imports.

See the qualification evidence and integration status. Credential-backed Databricks calls are recorded separately and are not claimed by the offline contract gate. Production model providers and PostgreSQL are planned follow-ons.

Security and SQLite limits

Tool permissions are deny-by-default when declared but not granted. Risky actions pause for approval. Sensitive arguments are redacted from public events. Deployments must add authentication, explicit trusted hosts/origins, TLS, database path permissions, backup, and sandboxing for untrusted tools. Built-in SQLite is not encrypted and is intended for one Runtime process with modest write concurrency.

Contribute

git clone https://github.com/AjayAJ2000/AgentMuru.git
cd AgentMuru
python -m pip install -e ".[dev,docs]"
python -m pytest -q
python -m mkdocs build --strict

Documentation: https://ajayaj2000.github.io/AgentMuru/

License: MIT.

Metadata

Release files for agentmuru 0.2.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 agentmuru 0.2.0
File Size Uploaded Provenance Actions
agentmuru-0.2.0.tar.gz 325.8 kB With provenance Details for agentmuru-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 574.0 kB

Release files / agentmuru-0.2.0.tar.gz

Download URL agentmuru-0.2.0.tar.gz
Size 325.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ece264a661bb56eadbe54f2870397f4ec63b3d6b110f5801aff36001349932b8
BLAKE2b-256 checksum
How to use checksums
0cc6e47c4c37fa7da745371a1702a5368bf3d694f8dc14f5cd4f42283a9daf68
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 Aug 10, 2026.

Transparency log

Release files / agentmuru-0.2.0-py3-none-any.whl

Download URL agentmuru-0.2.0-py3-none-any.whl
Size 248.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1be371be64d4324d70f0ffd271e8219e262847efc369320c0e8409e06b140cd6
BLAKE2b-256 checksum
How to use checksums
febc831ad05142df9f08b14b5e1f6bb5f6bfd8f9a96313f6c598b03fa53b0d4c
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 Aug 10, 2026.

Transparency log

Security for agentmuru 0.2.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentmuru-0.2.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 Aug 10, 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