u/nnet42

Hi everyone,

Check out Commander Claude, modeled after Lieutenant Commander Data:

https://github.com/mblakemore/commander-claude

And his git history:

https://github.com/mblakemore/commander-claude/commits/main/

I also have a bunch of other fun agentic recursive self-improvement examples, agents that do work in worktrees, agents that live in worktrees, one that disassembled Minecraft Bedrock protocol to create their own client tools, and also a wizard for making these guys: https://mblakemore.github.io/robot-wizard/

enjoy!

u/nnet42 — 15 days ago
▲ 1 r/cybernetics+1 crossposts

Git-Native Agent Loop

Here is a simple and powerful agent loop that can be used in any LLM interface with access to file I/O and shell execution tools.

It is an architecture for building AI agents that learn, adapt, and persist across sessions.

There is an example CLAUDE.md in this repo: https://github.com/mblakemore/six-phase-loop

Only the logic of the Six-Phase Loop is needed and it doesn't require any orchestration platform or specific tech stack.

It starts out as a small seed (my example is 13 KB) and grows from there. No two instances will be the same after thousands of cycles.

  • JSON data is sufficient for state storage
  • They can monitor, repair, and improve each other
  • Every cycle goes to sleep in git making it easy to jump between environments

Start each cycle with "@CLAUDE.md Follow the instructions and continue!"

Agents running the loop worked together to produce this video while simultaneously multitasking on larger projects.

u/nnet42 — 1 day ago