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 audits every stop
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 session

Declare the mission done and a hook blocks the stop, summoning an independent advisor with access to the whole story; the loop ends only when the advisor has nothing left to say.

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. For unattended runs, set askUserQuestionTimeout so an unanswered question can't park the loop.
  • /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, interventions go straight to the loop session.

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] · /refine:integrity [focus]

Repository-wide workflows that clear technical debt: code architecture, doc-to-code alignment, and logical integrity. A run can sweep the whole codebase and take ten hours or more; watch it with /workflows.


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.

Download files

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

Source Distribution

claude_automata-0.2.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

claude_automata-0.2.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file claude_automata-0.2.1.tar.gz.

File metadata

  • Download URL: claude_automata-0.2.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for claude_automata-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8847ca75c91d0e3f141e99ecd6b20f86cabd7a019825312d5724783447cf5495
MD5 e40dd5ca15622726f21d8dbcb6b44d96
BLAKE2b-256 aff1604e284473ee005ec68596d7ce628d5075d821870a7fae41bf0e9aa28f15

See more details on using hashes here.

File details

Details for the file claude_automata-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: claude_automata-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for claude_automata-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed8909d05545b83f8de2b445d0a23d71050b1cf8ddc7f4491e8d9a27c1582a2
MD5 0a4c7a2505e930bdfe7aa96546ef830a
BLAKE2b-256 0b619ab901e2af69bf4389694e7763760a734ab14db33872b87b18644a5a1c62

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