Skip to main content

AutoClaw

AutoClaw

Local-first orchestration for delegated AI work.

Get started · Concepts · Guides · Reference


AutoClaw turns agent work into auditable workflow runs. The controller owns tasks, assignments, attempts, checkpoints, artifacts, waits, and dispatch history. Providers execute bounded turns, but their output and terminal status do not decide workflow truth.

Early development: AutoClaw is not production-ready. Interfaces and schemas may change.

What it provides

  • reusable role, policy, workflow, and task-compose definitions
  • controller-owned runtime state and immutable launch provenance
  • explicit checkpoints, artifacts, boundaries, retries, and replans
  • first-class human requests and long command runs
  • a loopback web console, HTTP API, Operator MCP, and Node MCP
  • SQLite by default, with PostgreSQL support for stronger concurrent use
  • focused recovery through exact-source signals and a watchdog

AutoClaw is useful when work must remain inspectable across several agent turns. A one-off question or command usually does not need it.

Quick start

Install AutoClaw in an isolated tool environment:

pipx install autoclaw
autoclaw init

Run the provider guide. It asks for the primary/default provider, handles supported native login, checks the route, and offers additional providers:

autoclaw setup

Choose Codex, Claude, or OpenClaw. OpenClaw remains experimental and user-managed. AutoClaw never silently falls back to another provider. For scripts, use --non-interactive and explicit provider commands; see the getting-started guide.

Run the local server:

autoclaw serve

Open http://127.0.0.1:18125/. The supported browser lane is loopback and same-origin.

To run AutoClaw as a Linux user service:

autoclaw service install
autoclaw service status

Start a task

You can start a task from the console or a local task-compose file. For example:

task:
    key: first-research-brief
    title: My first task
    summary: Produce one concise research brief.
workflow:
    key: topic-research-brief
autoclaw task-compose start --file ./task-compose.yaml --json

Inspect the returned task in the console, through the control API, or with the Operator MCP tools.

Provider boundary

Codex and Claude receive a managed, dispatch-scoped MCP connection. AutoClaw attaches only the Node tools allowed for that dispatch and does not write the connection into global or project provider configuration.

OpenClaw is an experimental compatibility provider. It remains selectable and may be the default, but the user owns the Gateway and openclaw.json. Its static compatibility MCP calls include full task_id and dispatch_id selectors; AutoClaw rereads controller truth and rejects stale or illegal operations.

For every provider:

  • the controller commits the dispatch and request pair before provider start
  • successor opening and provider start happen asynchronously after commit
  • Node MCP operations are the runtime authority
  • provider stdout, final responses, drain, and terminal success do not advance the task

Runtime model

flowchart LR
    D[Definitions] --> R[Controller registry]
    T[Task compose] --> C[Compile and validate]
    R --> C
    C --> F[Controller-owned flow]
    F --> A[Current assignment and attempt]
    A --> P[Provider dispatch]
    P --> N[Node MCP operation]
    N --> F
    F --> O[Console, HTTP, and Operator MCP]

An accepted boundary returns independently from later work. After the source transaction commits, a thin asynchronous handler rereads the exact source and conditionally opens one successor. Duplicate or stale signals lose without changing state.

Human requests and command runs suspend ordinary dispatch progress while their controller-owned source remains active. The watchdog ignores those waits. Its default inactivity deadline is 15 minutes; a still-current stale dispatch may be atomically replaced, while duplicate or outdated watchdog signals lose.

Support files under the task root explain committed state. They can be rebuilt and never replace the database as runtime truth.

Local security

The shipped console and control plane bind to loopback. AutoClaw validates expected loopback Host values and exact allowed browser origins. There is no global browser or Operator API key in this local lane. Do not expose it directly to another machine.

Documentation

License

MIT. See LICENSE.

Release files for autoclaw 0.1.8

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

Source distribution (sdist)

Source distribution for autoclaw 0.1.8
File Size Uploaded
autoclaw-0.1.8.tar.gz 1.2 MB Details

Built distribution (wheel)

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

Total release size: 2.6 MB

Release files / autoclaw-0.1.8.tar.gz

Download URL autoclaw-0.1.8.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e1cb5018a1347fd94f9684f5bb0f750ef5ada7a3755185a7ba997753fdee3ccf
BLAKE2b-256 checksum
How to use checksums
eb47505c29383e178e9c3827ee58d482725feb5be081b651d5414a04da08e58f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / autoclaw-0.1.8-py3-none-any.whl

Download URL autoclaw-0.1.8-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1a82b85656a6a6fae36368c69d9959e76a1c622d5223aa29ff602ccf31af06ef
BLAKE2b-256 checksum
How to use checksums
dcd33ae28f9a8431f784413ae48024552e8f3438309c59885ed21688eca85291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

0.1.9

2 release files

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

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