Skip to main content

Autonomous iterative coding agent, ship while you sleep

Project description

InductiveClaw

Autonomous iterative coding agent — builds until the vibe is right.

InductiveClaw wraps the Claude Agent SDK in a persistent autonomous loop. Unlike Claude Code, which stops after completing one task and waits for the next prompt, InductiveClaw continuously builds, verifies, evaluates, and iterates on a software project until it reaches a quality threshold or exhausts its budget.

Installation

pip install iclaw

For screenshot-based visual evaluation (optional):

pip install iclaw[screenshot]
playwright install chromium

Requires the Claude Code CLI (npm install -g @anthropic-ai/claude-code) because the Agent SDK shells out to claude. Run claude login once if you plan to use a Max/Pro subscription.

Setup

On first run, iclaw auto-detects your Claude Code login. You can also run guided setup:

iclaw --setup

This walks you through configuring providers (currently Anthropic/Claude; OpenAI and Gemini are planned future features).

Anthropic has blocked third-party projects from routing Max/Pro subscription OAuth tokens through unofficial API gateways. Using claude login locally for personal dev is fine, but keep your usage personal and off public-facing services.

Usage

Interactive mode (default)

iclaw                          # REPL in current directory
iclaw -p ./my-project          # REPL in specific directory

Type /help for available commands, /config to change providers, /quit to exit.

Autonomous mode

# Build a game from scratch
iclaw -g "Build a roguelike deckbuilder with pixel art style"

# Continue on existing project
iclaw -p ./my-game -g "Polish visuals, add sound effects"

# Quick prototype with low quality bar
iclaw -g "Simple snake game in the browser" --threshold 5 --max-iterations 10

# Non-visual project
iclaw -g "Build a CLI tool for CSV analysis" --no-screenshot

How It Works

Interactive mode: A conversational REPL (like Claude Code) with multi-turn context. The agent has access to Bash, file tools, and your project directory.

Autonomous mode:

  1. You give it a goal
  2. It initializes the project, creates a backlog, and builds the first feature
  3. Each iteration: orient, plan, build, verify, evaluate, document, continue
  4. Stops when quality threshold is met, max iterations reached, or Ctrl+C

Project state persists on disk (BACKLOG.md, EVALUATIONS.md, source files), so you can stop and resume.

CLI Reference

iclaw [-g GOAL] [--setup] [-p DIR] [-m MODEL] [-t N]
      [--max-iterations N] [--eval-frequency N]
      [--no-screenshot] [--port PORT] [-q] [-v]
Flag Default Description
-g, --goal (none) What to build (omit for interactive mode)
--setup off Run guided provider setup
-p, --project . / ./project Project directory
-m, --model provider default Model override
-t, --threshold 8 Quality threshold 1-10 (autonomous)
--max-iterations 100 Max iterations (autonomous)
--eval-frequency 3 Evaluate every N iterations
--no-screenshot off Disable visual evaluation
--port 3000 Dev server port for screenshots
-q, --quiet off Minimal output
-v, --verbose off Full agent output

Architecture

inductiveclaw/
├── __init__.py
├── __main__.py        # CLI routing (interactive vs autonomous)
├── interactive.py     # REPL mode (ClaudeSDKClient)
├── agent.py           # Autonomous iteration loop
├── setup.py           # Guided provider setup
├── tools.py           # Custom MCP tools
├── config.py          # Configuration + usage tracking
├── display.py         # Terminal output (Rich)
├── providers/         # Multi-provider abstraction
│   ├── anthropic.py   # Claude (implemented)
│   ├── openai.py      # Future feature
│   └── gemini.py      # Future feature
└── prompts/           # Prompt templates (.md files)

Landing Page

The web/ submodule contains the project landing page — a Next.js 16 app with scroll-driven animations, an Art Nouveau-inspired philosophy section, and an animated terminal demo. See docs/web.md for architecture details.

Future Features

  • OpenAI Codex — Codex app-server and API key integration
  • Gemini — Google OAuth and API key integration
  • Provider cycling — automatic failover between providers on rate limits

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

iclaw-0.1.4.tar.gz (66.0 MB view details)

Uploaded Source

Built Distribution

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

iclaw-0.1.4-py3-none-any.whl (72.4 kB view details)

Uploaded Python 3

File details

Details for the file iclaw-0.1.4.tar.gz.

File metadata

  • Download URL: iclaw-0.1.4.tar.gz
  • Upload date:
  • Size: 66.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for iclaw-0.1.4.tar.gz
Algorithm Hash digest
SHA256 75762b9c605bc59deb145bb3565306a52a1c7264f565f8fbe5d743ffb4d3e4b2
MD5 4772005f7b785d0e93716aa7f91ce12d
BLAKE2b-256 203b56dea8735b003738a563e3c26f9d3d06e830b3850bb9a85843c53340100e

See more details on using hashes here.

File details

Details for the file iclaw-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: iclaw-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 72.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for iclaw-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d284d33d666e0318eb5f58831e4fbba3ee90809ecf1949432e140d0659442f
MD5 6117239d913ceccd437ff82e462496f3
BLAKE2b-256 ed0dd571fa2b107364cd188c1183a46c72bdd8149cbdc7e78716a49422e727b2

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