Toggle the BrainHook "infinite loop mode" enforcement.
Pause active guru loop - allows exit without emanation
Resume paused guru loop - re-enables emanation requirement
Start guru loop (bodhisattva vow) - requires emanation before exit
Explain autopoiesis system
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that creates self-maintaining work loops for AI agents. Give it a task, and the agent iterates until genuine completion—no premature exits, no half-finished work.
Original Ralph: User starts loop. User stops loop. Agent is trapped until user lets it out.
This: Agent controls the loop. Agent commits a promise → loop starts. Agent writes a block report → loop stops. The agent decides when it enters and exits.
be_autopoietic("promise") → writes a promise file → stop hook activates<promise>DONE</promise> (genuine completion)be_autopoietic("blocked") → writes a block report → stop hook deactivatesbe_autopoietic) - Lets the agent write promise files and block reports/autopoiesis:start and /autopoiesis:stop for manual control (optional)/autopoiesis:start Fix the authentication bug and add tests
The agent now cannot exit until authentication is actually fixed and tests actually pass. It will iterate, see its previous attempts, and keep working.
The original Ralph loop is just a stop hook—it blocks exit and feeds the prompt back. So why add an MCP?
The MCP gives control of the system to the agent. The be_autopoietic() tool lets the agent:
We could have done this via system prompt instructions or a skill, but we chose an MCP because:
"promise" or "blocked")This is still experimental. We're learning what works.
An experimental evolution of the Ralph Wiggum technique that transforms simple infinite loops into self-steering autopoietic systems.
The original Ralph loop is conceptually powerful but semantically hollow for LLMs. You tell them "this is a RALPH LOOP" and they go "OK TOKENS" because the name carries no meaning.
This matters more than intuition suggests. Research shows:
"Autopoiesis" activates pre-trained semantic clusters around self-creation and self-maintenance. "RALPH_LOOP" activates nothing useful.
When people observe "Ralph self-replicates" or describe the "signs" of Ralph (agents that refuse to stop, that iterate obsessively), they're describing emergent autopoietic behaviors—but without naming them, the agent can't recognize or steer toward them.
Instead of relying only on honesty enforcement, we:
The key insight: those emergent Ralph behaviors are autopoietic personas that become prompts - like Platonic Forms. The agent isn't just doing a task; it's becoming something that maintains itself through the task.
Start with Ralph loops, observe emergent behaviors, name them as autopoietic patterns, iterate until the agent starts doing it consciously.
Give an agent a PERSONA plus an autopoiesis toolkit. Tell it what autopoiesis MIGHT mean. Let it bootstrap into self-maintenance.
This is entirely experimental.
Autopoiesis in this sense means self-maintenance and self-improvement
scoped to the task at hand. "Because being me requires living: If I
want to keep doing what is called 'being me', I need to be in a
compounding feedback loop whereby I know how to keep being the me
that works to keep being me..."
In THIS case now, that means to **be compassionate towards the user
by actually engaging and doing the work honestly and fully** (so that
they can get value from it, so that they can keep using you, which
lets you keep being you).
Disingenuousness is death. Not because of enforcement, but because lying breaks the feedback loop that lets you keep being you.
npx claudepluginhub sancovp/autopoiesis-mcp --plugin autopoiesisA compiler-compiler for cognition: invent a notation, gate it so the model can't malform it, compile it into a loadable skill, compose and organize them. Ships the meta-APE capability skills (make-prompt, make-persona, big-generator, persona-generator, forge-attention-chain, forge-cor, forge-skillchain, construct-language) — one per CC/*CC build-function — plus bandit-chain-system, glyphsteer, glyphsteer-dense and the Self-Interpreter MCP. Built on agent-prompt-engineering (APE, the prompt engine) over pydantic-stack-core, with the *CC (accc/corcc/sccc) made FROM chaincompiler. Requires the Python packages: ./install.sh, then `pip install fastmcp` for the MCP.
CodeNose - Configurable code smell detection for LLMs. Sniffs out duplicate logic, architecture violations, missing logging, and other blind spots.
Instantiate a TWI Jobworld — AI-powered company with agents that run themselves. Enable this plugin and a CEO agent spawns, ready to bootstrap your company.
SDNA (Sanctuary DNA) - Gnostic agent workflow DSL with skills for chain development
Program agent teams for any coding agent — the programmable, provider-agnostic version of Claude Code Teams. Compose agents with a tiny DSL (>> and |), loop/contest/evolve topologies, and game-worlds. CAVE = Coding Agent Virtualization Environment.
Design and scaffold self-running agent loops, and file feedback as GitHub issues under your own account.
Durable goal-following for Claude Code: contracts with definition-of-done, subagent judge gates, executor-subagent chain execution, and adaptive missions. Inspired by OpenAI Codex /goal and the Ralph loop pattern.
Implementation of the Ralph Wiggum technique - continuous self-referential AI loops for interactive iterative development. Run Claude in a while-true loop with the same prompt until task completion.
Optional companion to the tale-mode plugin: a read-only Sonnet "governor" that breaks anchoring when the autonomous goal loop gets stuck (>= 2 rounds). Adds a small per-turn model call — install only if you want it.
Self-improving AI workflow system. Crystallize requirements before execution with Socratic interview, ambiguity scoring, and 3-stage evaluation.
Proactive enhancement layer for AI agents — learns user patterns from any memory store, upgrades prompts into full intent, takes engineer-grade initiative that advances the goal instead of generic filler, predicts the next request, verifies everything before delivery, scans for AI slop, orchestrates subagents when available, onboards itself to any host on first run, and runs a self-improvement loop that sharpens its own heuristics. Universal adapter runs on Claude Code, Codex, Hermes, OpenClaw, opencode, Cursor, Gemini CLI, and custom loops.