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.8.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.8.0
File Size Uploaded Provenance Actions
claude_automata-0.8.0.tar.gz 13.8 kB Without provenance Details for claude_automata-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 30.3 kB

Release files / claude_automata-0.8.0.tar.gz

Download URL claude_automata-0.8.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fe10fa1db5aa00cb47d1f09737712836927204dd4fe47c3cedc2f16b9970f183
BLAKE2b-256 checksum
How to use checksums
ff07c233f2d36b4cff559fd1c84b19b918867f512bfcecaea6bc2aa675acc189
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.8.0-py3-none-any.whl

Download URL claude_automata-0.8.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1b68663284f8c784b5e9ca7a38236a876da46f015aacd8c4f23b0d197b7a297
BLAKE2b-256 checksum
How to use checksums
81e1ede53d99d6d90d094f2a401f0cbd620a311e14574b82b796ac10cadb72c9
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.8.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.8.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