Local-first orchestration tool for delegated AI work
Project description
AutoClaw
Local-first orchestration for delegated AI work.
Get started · Prepare OpenClaw · Concepts · Guides · Reference
AutoClaw turns agent work into auditable workflow runs. Define reusable roles, policies, and workflows; launch one task-compose file; then let the controller dispatch bounded assignments, collect checkpoints and artifacts, handle human waits and long commands, and keep the whole run inspectable and recoverable.
Chat is a conversation. AutoClaw is a work-order system: agents still do the work, but the work is assigned, bounded, checked, and recorded.
⚠️ Early development. AutoClaw is not production-ready yet. Interfaces, schemas, and workflows may change or break.
Why AutoClaw?
Use AutoClaw when the work needs more than a chat transcript.
- Bounded delegation. Root, parent, and worker nodes each get explicit authority, budgets, and one mission at a time.
- Durable evidence. Assignments, checkpoints, and artifacts survive the session and can be inspected by later nodes, operators, and humans.
- Real recovery. Retry, replan, human waits, and long command runs are controller-owned states, not lost context.
- Controller truth. A run is reconstructed from controller state and generated task-root files, not from hidden provider memory.
- Replaceable harness. The agent loop is an adapter behind MCP tools; AutoClaw owns workflow truth above it.
AutoClaw is not for every prompt. One short answer, one direct command, or one ad hoc assistant session is better served by OpenClaw alone.
AutoClaw and OpenClaw
OpenClaw is the harness. AutoClaw is the orchestration layer above it.
| Dimension | OpenClaw | AutoClaw |
|---|---|---|
| Primary role | Agent harness and assistant runtime | Workflow orchestration for delegated work |
| User motion | Ask an assistant | Launch and supervise a structured task |
| Core loop | Context -> model -> tools -> stream -> transcript | Assign -> execute -> checkpoint -> boundary -> advance |
| State owner | Conversation, tools, skills, sessions, channels | Task, flow, assignment, attempt, checkpoint, artifact |
| Best fit | Personal assistance, local tool use, ad hoc coding/help | Long work with evidence, review, retry, replan, waits |
| Failure mode if stretched | Long work becomes transcript-heavy | Small work becomes over-structured |
OpenClaw executes agent turns. AutoClaw decides which bounded assignment runs next and whether the evidence is good enough to advance.
OpenClaw Gateway is the shipped adapter today. The same MCP-tool boundary can host other capable harnesses, such as Codex or Claude Code, as future adapters.
What AutoClaw is for
Use AutoClaw for:
- feature delivery with implementation, verification, review, and closure
- bugfix pipelines with triage, patch, tests, and release evidence
- research briefs where sources, synthesis, and review must be inspectable
- delivery batches where a parent assigns one bounded scope at a time
- long-running verification where logs, cancellation, and continuation matter
Use OpenClaw directly for:
- "What does this error mean?"
- "Run this one command."
- "Summarize this page."
- unbounded background autonomy with no evidence contract
Supported today
The current shipped support is intentionally narrow:
| Layer | Current support |
|---|---|
| Agent adapter | OpenClaw Gateway only |
| OpenClaw version | 2026.6.10 or newer |
| Model/provider routing | owned by the configured OpenClaw harness |
| Gateway shape | loopback Gateway; token auth recommended |
| Other allowed auth | loopback password auth or explicit loopback no-auth |
| Blocked Gateway shapes | non-loopback, trusted-proxy, ambiguous auth, unresolved secrets |
| Managed service | Linux systemd --user |
| macOS / Windows | foreground autoclaw serve proof path; native service parity is not shipped yet |
| Storage | SQLite by default; Postgres extra for concurrent task runs |
Quickstart
Prepare OpenClaw first. AutoClaw fails fast when the OpenClaw shape is unsupported, so inspect it before onboarding:
# Run or repair OpenClaw's own first-run setup (Gateway, auth, workspace).
openclaw onboard
# Inspect the install, Gateway state, and update channel AutoClaw will rely on.
openclaw status
openclaw gateway status
openclaw update status
openclaw doctor --lint
openclaw gateway status shows the Gateway port, bind, and auth mode. Keep the Gateway on loopback with token auth for the clearest path; see Prepare OpenClaw first.
Then install AutoClaw:
# Install the published package (or: uv tool install autoclaw).
pipx install autoclaw
# Guided first-run setup: writes local config, seeds packaged definitions,
# reconciles the OpenClaw worker/operator agents and MCP servers, and can
# install the managed service. Prompts for the AutoClaw API/MCP port
# (default 18125) and the OpenClaw Gateway port (default 18789).
autoclaw onboard
# Check local config, database, packaged resources, service, and integration health.
autoclaw doctor
# Read-only OpenClaw compatibility probe; run it first whenever setup is blocked.
autoclaw openclaw check
For concurrent task runs, use the Postgres extra:
pipx install "autoclaw[postgres]"
export AUTOCLAW_DATABASE_URL=postgresql+asyncpg://user:pass@127.0.0.1:5432/autoclaw
The fully supported managed-service path is Linux with systemd --user (Ubuntu, Debian, Fedora, Arch, and similar hosts). On macOS and Windows, run autoclaw serve in the foreground.
Let an operator agent drive it
Onboarding creates two dedicated OpenClaw agents:
autoclaw-workerexecutes bounded assignments through node MCP tools.autoclaw-operatoris a trusted agent that inspects tasks, resolves human requests, launches work, and authors definitions through operator MCP tools.
Install the operator skills so you can drive AutoClaw from an OpenClaw chat — "start a research task", "why is task X waiting?", "write me a bugfix workflow":
autoclaw-work-orchestrator— decide whether AutoClaw fits, pick a workflow, draft task-compose, launchautoclaw-runtime-operator— inspect, resolve waits, control, and recover running tasksautoclaw-definition-author— write roles, policies, workflows, and task-compose files
Setup, the annotated OpenClaw config block, and the worker workspace AGENTS.md are in Set up OpenClaw agents and operator skills.
First task: research brief
Create task-compose.yaml in an empty working directory:
task:
key: first-research-brief
title: My first task
summary: Find the best restaurants.
instruction: >-
Find the best restaurants in the world and produce a short evidence-backed brief.
workflow:
key: topic-research-brief
Start it:
autoclaw task-compose start --file ./task-compose.yaml --json
Then watch the run. Ask the operator agent to inspect the task, or read the generated task-root files directly:
_runtime/workflow-manifest.md # current workflow shape
_runtime/attempts/<attempt_id>/assignment.md # the active node's mission
_runtime/attempts/<attempt_id>/latest-checkpoint.md # durable progress or handoff
outputs/artifacts/ # published outputs
A successful first run has a workflow manifest, a controller-issued assignment, a checkpoint, and a research_brief.md artifact that all match the launched topic. See Inspect a task.
How AutoClaw works
flowchart LR
D[Role / policy / workflow definitions] --> R[Definition registry]
T[task-compose.yaml] --> C[Compiler]
R --> C
C --> F[Controller-owned flow]
F --> A[Current assignment]
A --> H[Harness loop<br/>OpenClaw today]
H --> N[MCP node tools<br/>checkpoint / artifacts / assign child / boundary]
N --> F
F --> O[Operator read and control surfaces]
To the harness, record_checkpoint or return_boundary are ordinary tool calls. To AutoClaw, they are validated state transitions against the current task, dispatch, assignment, attempt, and flow revision. That boundary is what makes the harness replaceable while AutoClaw keeps workflow truth.
More detail: Orchestration model.
Core concepts
| Concept | Definition |
|---|---|
| Workflow | Reusable node tree, routing rules, criteria, and evidence contract |
| Task-compose | One launch request with task metadata, instruction, workflow key, and roots |
| Assignment | Controller-owned scope, instructions, and evidence requirements for a node |
| Checkpoint | Controller-recorded progress or handoff record for one assignment attempt |
| Artifact | Durable output published into a workflow-declared slot |
More concepts: Core concepts.
Compared with other agent systems
AutoClaw is an orchestration layer for local-first delegated work with controller-owned evidence.
| System | Strong at | AutoClaw contrast |
|---|---|---|
| LangGraph | Low-level durable graph runtime for stateful agents | AutoClaw decouples orchestration from the harness loop, materializes task evidence outside the graph, and treats replan as a controller-approved change after launch |
| CrewAI | Role-based crews and approachable flow abstractions | AutoClaw makes roles subordinate to controller-minted assignments, checkpoints, artifacts, budgets, waits, and release decisions |
| AutoGen / AG2 | Multi-agent conversation and group-chat patterns | AutoClaw is workflow/tree/evidence centered: handoff happens through controller-validated assignments, checkpoints, and artifacts |
| OpenAI Agents SDK | Lightweight agents, handoffs, guardrails, tracing, sandbox agents | AutoClaw keeps orchestration state, evidence, replan, and recovery outside one provider SDK or agent loop |
| oh-my-claudecode / oh-my-codex | Harness-side workflow layers, team modes, tmux/worktree workers | AutoClaw makes orchestration controller-owned: assignments, checkpoints, artifacts, waits, replan, and release are legal state transitions |
| A2A | Interop between independent opaque agents | AutoClaw can use A2A at external agent boundaries later; internally, handoff records are checked and minted by the controller |
| OpenClaw | Local agent harness, tools, skills, sessions, and channels | AutoClaw adds a real orchestration layer above the harness instead of replacing the harness |
Documentation
- Getting started
- Prepare OpenClaw first
- Set up OpenClaw agents and operator skills
- Orchestration model
- Core concepts
- Runtime model
- Design workflows and instructions
- Write a workflow
- Write a policy
- Inspect and control a task
- CLI reference
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autoclaw-0.1.4.tar.gz.
File metadata
- Download URL: autoclaw-0.1.4.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d310b76048fe8b766be21d41d6359c58a5454b879cab8811323a3df4920c9974
|
|
| MD5 |
2776966b83888bbc360cf9e498d5fb83
|
|
| BLAKE2b-256 |
3d31213a0b03f48bb3e0a7fd706fa53524e6a3a25a348ad44ae17ce4527b72f3
|
File details
Details for the file autoclaw-0.1.4-py3-none-any.whl.
File metadata
- Download URL: autoclaw-0.1.4-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a325338976572190b3bc08d2c56787de47fa6682fcbf7f827f34eea71ec374
|
|
| MD5 |
bd208b50e756266fffa060bc6ca707e5
|
|
| BLAKE2b-256 |
0df29f0b6da7586de917ba95e4b21c2c177b71d489f38f2f52b184d87ec807f7
|