Skip to main content

claude-automata: 24/7 full self-driving for Claude Code

Your agent stops when it thinks it's done. This one stops when it's actually done.

An agent environment for Claude Code, modeled on human memory.
Hand it months of work and rest: it finishes in days.

See more

This README is the summary. The site walks the whole system, animated.

PyPI License

English | 한국어


Claude Code ends its turn the moment it believes it's finished, and loses the detail at the next compaction. claude-automata rebuilds it around the way human memory works:

Plugin Memory role
ploop working memory: a single session sails autonomously for days; an independent advisor judges every completion claim
tx consolidation: the screening gate into long-term memory (independent verify, CI, squash merge)
refine re-grounding: large-scale workflows that eliminate technical debt

Long-term memory is the repository's own git-tracked text, not a database. Recall is grep. Whatever never passes the gate dies with the loop, on purpose.

Getting started

Enter the following instruction in Claude Code:

Read https://raw.githubusercontent.com/clomia/claude-automata/refs/heads/main/INSTALL.md with curl -sSL and install claude-automata.

Your agent reads INSTALL.md and installs claude-automata. Needs Claude Code and uv on POSIX (macOS / Linux / WSL).

Operating the loop

/ploop:define-mission          # an agent interviews you, interprets your intent, and writes the anchor
/ploop:launch [anchor text]    # hand it to the loop in a fresh bypassPermissions session

Declare the mission done and a hook blocks the stop, demanding an audit by an independent advisor with access to the whole story; the loop ends only when the advisor certifies completion.

agent   › Mission accomplished. Stopping.
advisor › Not yet. The mobile layout was never measured. …resuming.

Six rounds later the advisor ends the turn. Watch a full round on the site. The anchor survives every auto-compaction, and the loop fully complies with your subscription plan's terms of service.

Pause, resume, observe
  • init sets Auto-Compact; keep it on. The loop runs unattended: open its session with claude --permission-mode bypassPermissions (it refuses to launch otherwise), and nothing in it waits for a human — every approval it would ask for is declined and the loop moves on.
  • /ploop:off pauses the loop. /ploop:on resumes or restores it, even after an accidental ESC, an API error, or a session limit (interrupt with ESC first if a turn is running). Nothing else stops the loop.
  • /ploop:docent reports the loop's progress. Run it in a separate session, same directory: questions go to the docent, and the loop session stays untouched.
  • /ploop:prepare-compact goes before a manual /compact: the agent brings the loop memory up to date. Ahead of an automatic compaction the loop is told the same on its own.
  • /ploop:rebalance is the mid-course review of a long loop: the agent reviews the path so far, the path ahead and its strategy from the records, and amends the anchor itself where the direction has moved.

Change as transactions

Agents drive tx on their own. Every change lands as one verified, CI-green squash merge behind an integrity boundary, and tx blocks writes to the base branch in between. You review merged results, not work in progress.

Keep the repository lean

/refine:code [focus] · /refine:docs [focus]

Repository-wide workflows that clear technical debt: code architecture and doc-to-code alignment. They touch only the representation layer and never change behavior. A run can sweep the whole codebase and take ten hours or more; watch it with /workflows. Like the loop, it runs unattended and starts only in a bypassPermissions session.


See more

Apache-2.0 · Recursive self-improvement: claude-automata is developed inside claude-automata. A Claude Code agent running this environment authored every contribution in this repository.

Metadata

Release files for claude-automata 0.6.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 claude-automata 0.6.0
File Size Uploaded Provenance Actions
claude_automata-0.6.0.tar.gz 13.5 kB Without provenance Details for claude_automata-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for claude-automata 0.6.0
File Interpreter ABI Platform Actions
claude_automata-0.6.0-py3-none-any.whl Python 3 none any Details for claude_automata-0.6.0-py3-none-any.whl

Total release size: 29.8 kB

Release files / claude_automata-0.6.0.tar.gz

Download URL claude_automata-0.6.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3bc567bba39bb5cfa18396878768094fa7b533873c4c62880fafd8f8051ea7fa
BLAKE2b-256 checksum
How to use checksums
b095ff3eb9e1b4c51c50fa37470258c22fdc92c4b21fc76f068f79a35cccdf72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / claude_automata-0.6.0-py3-none-any.whl

Download URL claude_automata-0.6.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b43f217af84ed953934d1c063a081201165a9407e52cd6e9a8f84685dd49c4ec
BLAKE2b-256 checksum
How to use checksums
341b8c8a4d128d856682850ba757589f042fdbe90567e56e1b8dc82eb0283a85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for claude-automata 0.6.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files No provenance

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