Skip to main content

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

  1. init creates LOOP-PROMPT.md (workflow) and TASKS.md (task list)
  2. run executes Claude with the prompt, checks TASKS.md after each iteration
  3. 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


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.6.0.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiggum-0.6.0-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file wiggum-0.6.0.tar.gz.

File metadata

  • Download URL: wiggum-0.6.0.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wiggum-0.6.0.tar.gz
Algorithm Hash digest
SHA256 24edc288ffedaa1d75da7eeda1f766e2c151f317f10eb7e408308121891c5079
MD5 27ed14604377c5f714312b64d0d5dd76
BLAKE2b-256 5efdac365feb94a8ac425e8ee53b258870d9e9751223a2e1e8b869c5062d25c1

See more details on using hashes here.

File details

Details for the file wiggum-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: wiggum-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wiggum-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a0cbd794ab8d19da9aac0de00161193e8fd0cfe1a7e11a54283c5136f2104ac
MD5 7a1688eec77a4a870ac094e31bf1bcf3
BLAKE2b-256 f6ab803b999cd096e995361cf85b505174acff53914df8d1a58a2571d371f914

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page