Skip to main content

Local-first orchestration tool for delegated AI work

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoclaw-0.1.7.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoclaw-0.1.7-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file autoclaw-0.1.7.tar.gz.

File metadata

  • Download URL: autoclaw-0.1.7.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for autoclaw-0.1.7.tar.gz
Algorithm Hash digest
SHA256 7449e6b5cfdbd09e6d21cddbfb29db0bc1580110db90f0140634fa0a04bc2ef7
MD5 d89a5722d639c45b777ae754271c6288
BLAKE2b-256 404d3cff242d351720d4707899b9c9032adcdd7cee420ebb3a0df92c1987742e

See more details on using hashes here.

File details

Details for the file autoclaw-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: autoclaw-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for autoclaw-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fb036dcd7b5201b224aebaf858357dcc65b8559a9304fd3771294b976007f12d
MD5 eb4d426f4815ed172af4844d08d7be6e
BLAKE2b-256 aa64adf92a9c1ecc9f4b1005b9a3611f5024f255970c0193f406c23c963852a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page