Skip to content

Ralph loop for codex — continuously reconciles codebase toward your instructed state

License

Notifications You must be signed in to change notification settings

breezewish/CodexPotter

Repository files navigation

CodexPotter banner

CodexPotter screenshot

💡 Why CodexPotter

CodexPotter continuously reconciles code base toward your instructed state (Ralph Wiggum pattern):

  • 🤖 Codex-first — Codex subscription is all you need; no extra LLM needed.
  • 🧭 Auto-review / reconcile — Review and polish multi rounds until fully aligned with your instruction.
  • 🚀 Never worse than Codex — Drive Codex, nothing more; no business prompts which may not suit you.
  • 🧩 Seamless integration — AGENTS.md, skills & MCPs just work™ ; opt in to improve plan / review.
  • 🧠 File system as memory — Store instructions in files to resist compaction and preserve all details.
  • 🪶 Tiny footprint — Use <1k tokens, ensuring LLM context fully serves your business logic.
  • 📚 Built-in knowledge base — Keep a local KB as index so Codex learns project fast in clean contexts.

⚡️ Getting started

1. Prerequisites: ensure you have codex CLI locally. CodexPotter drives your local codex to perform tasks.

2. Install CodexPotter via npm or bun:

# Install via npm
npm install -g codex-potter
# Install via bun
bun install -g codex-potter

3. Run: Start CodexPotter in your project directory, just like Codex:

# --yolo is recommended to be fully autonomous
codex-potter --yolo

⚠️ Note: Unlike Codex, every follow up prompt turns into a new task, not sharing previous contexts. Assign tasks to CodexPotter, instead of chat with it.

Roadmap

  • Skill popup
  • Resume / project management
  • Better sandbox support
  • Interoperability with codex CLI sessions (for follow-up prompts)
  • Allow opting out knowledge base
  • Recommended skills for PRD and code review
  • Better handling of stream disconnect / similar network issues

Development

# Formatting
cargo fmt

# Lints
cargo clippy

# Tests
cargo nextest run

# Build
cargo build

License

This project is community-driven fork of openai/codex repository, licensed under the same Apache-2.0 License.

About

Ralph loop for codex — continuously reconciles codebase toward your instructed state

Topics

Resources

License

Stars

Watchers

Forks