Run iterative agent loops with task tracking
Project description
wiggum
A minimal, opinionated tool for running agent loops.
while true; do cat PROMPT.md | claude --print; done
This is the "Ralph Wiggum loop" - the simplest possible agent loop. wiggum adds just enough guardrails to make it practical.
Philosophy
- Simple - prefer simplicity whenever possible
- Minimal - does one thing well: run a prompt in a loop until tasks are done
- Opinionated - sensible defaults, few options
- Unobtrusive - infer what you can, don't ask obvious questions
- Task-driven - stops when TASKS.md has no unchecked items
- Test-driven - write tests first for new behavior; skip tests for trivial changes (renames, constants, config)
Installation
# Run directly (no install needed)
uvx wiggum init
# Or install globally
uv tool install wiggum
# Upgrade to latest version
uv tool upgrade wiggum
Quick Start
# Set up (Claude helps plan your tasks)
wiggum init
# Run the loop
wiggum run
How It Works
initcreatesLOOP-PROMPT.md(workflow) andTASKS.md(task list)runexecutes Claude with the prompt, checks TASKS.md after each iteration- Loop stops when all tasks are checked off (
- [x])
Options
wiggum run # Run (skips permission prompts by default)
wiggum run --no-yolo # Ask for permissions
wiggum run -n 5 # Max 5 iterations
wiggum run --continue # Keep context between iterations
wiggum run --keep-running # Continue even when tasks complete (agent can add new tasks)
wiggum run --identify-tasks # Analyze codebase and add refactoring tasks to TASKS.md
wiggum run --agent codex # Use a different agent (codex, gemini, etc.)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wiggum-0.2.2.tar.gz
(13.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wiggum-0.2.2-py3-none-any.whl
(19.9 kB
view details)
File details
Details for the file wiggum-0.2.2.tar.gz.
File metadata
- Download URL: wiggum-0.2.2.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3834e5456fe896c17359c078a5950e1f829ec689ffedf58a8eb920d9169273ef
|
|
| MD5 |
c2e94adc00f9a2baf9e38a213cc2b9b0
|
|
| BLAKE2b-256 |
20ad5d87bbb2b159c2e09d8fad8322ace3832bdef4447ab376e8e61e853314bb
|
File details
Details for the file wiggum-0.2.2-py3-none-any.whl.
File metadata
- Download URL: wiggum-0.2.2-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1326f6c7e6f8218a9b14bc4d1c260fa0ebb382e6d8ec8f1843edec492ff12ac4
|
|
| MD5 |
206edace6ec1e74c006844536acec963
|
|
| BLAKE2b-256 |
38cc54653ab654d7360e1b578ac1577a0eaa15230251eb31e6622cbdc7be02d7
|