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.3.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.3-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iclaw-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f4e416d6896aadc70c30dbcc43c0d634728833eb82fa93441deed220e9170743
MD5 b55a17cda40dee34cd50d4c154ba20a7
BLAKE2b-256 dcf11da2da0a92d57135b29f60fefe90c47262d86d67fa4cedbc11869562e13e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iclaw-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 72.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 05653c79a23089dddcae636e63eaf696ba2201fe048fb3bfbe9f9106c2d77f06
MD5 7036864a2af2c65c1a73e2eee29145b7
BLAKE2b-256 03b42bcacafc8e882e9f67a6b727eb51c11bc03e9dd56f9babf982eb9df63612

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