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.4.2.tar.gz
(19.4 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.4.2-py3-none-any.whl
(25.9 kB
view details)
File details
Details for the file wiggum-0.4.2.tar.gz.
File metadata
- Download URL: wiggum-0.4.2.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6723433547785c101c0355a58de3c85fe2d2982f622b70d71db6744a41f8d913
|
|
| MD5 |
c2afd848f83916264e2d52ba44d7ae99
|
|
| BLAKE2b-256 |
1456c6032af44e450fc176345f72a756a9ae03ba33aa5d1f109bfa749dd928e3
|
File details
Details for the file wiggum-0.4.2-py3-none-any.whl.
File metadata
- Download URL: wiggum-0.4.2-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ac4cecb1ef351371167dd112a9645dd91ea340ca30b4359ac96563703dadb4d
|
|
| MD5 |
934242b6da4fadedaf2e5d87cfadef81
|
|
| BLAKE2b-256 |
9a5787c8222fd4d634bf66ab8cbbb2d62676cff77349da344f8e64bc5a2dd9d6
|