Skip to main content

Build apps autonomously with Claude Code CLI

Project description

autonomous-claude

Build apps autonomously with Claude Code CLI. Uses your existing Claude subscription - no API key required.

Based on Anthropic's long-running agents guide.

Installation

# Install uv if you haven't
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install autonomous-claude
uv tool install autonomous-claude

Or install from source:

git clone https://github.com/ferdousbhai/autonomous-claude.git
cd autonomous-claude
uv tool install .

Prerequisites

Claude Code CLI must be installed and authenticated:

npm install -g @anthropic-ai/claude-code
claude login

Usage

Build a new app

# From a description
autonomous-claude build "A todo app with React and SQLite"

# From a spec file
autonomous-claude build ./my-app-spec.txt -o ./my-app

# With options
autonomous-claude build "Blog with markdown" -o ./blog -n 5

Resume an existing project

autonomous-claude resume ./my-app

Continue with new features

Add new features to any existing project - whether built with this tool or not:

# Adopt an external project for maintenance
autonomous-claude continue ./existing-app "Add dark mode and fix login bug"

# Add new features to a project built with this tool
autonomous-claude continue ./my-app "Add user authentication"

Options

Option Short Description Default
--output -o Output directory auto-generated
--model -m Claude model Claude Code default
--max-iterations -n Max iterations unlimited
--timeout -t Timeout per session (seconds) 1800

How It Works

Building new projects (build)

  1. Session 1 (Initializer): Creates feature_list.json with testable features
  2. Sessions 2+ (Coding Agent): Implements features one by one, marking them as passing

Adopting existing projects (continue)

  1. Session 1 (Adoption Initializer): Analyzes codebase, creates feature_list.json for requested tasks
  2. Sessions 2+ (Coding Agent): Implements the new features

Adding features to existing projects (continue with feature_list.json)

  1. Session 1 (Enhancement Initializer): Appends new features to existing feature_list.json
  2. Sessions 2+ (Coding Agent): Implements the new features

Progress is persisted via feature_list.json and git commits. Press Ctrl+C to stop, then resume to continue.

Example

$ autonomous-claude build "A simple notes app with tags and search"

╔═╗╦ ╦╔╦╗╔═╗╔╗╔╔═╗╔╦╗╔═╗╦ ╦╔═╗
╠═╣║    ║║║║║ ║║║║║ ║║ ║╚═╗
╩ ╩╚═╝  ╚═╝╝╚╝╚═╝╩ ╩╚═╝╚═╝╚═╝
     Claude Code CLI

  Project     /home/user/simple-notes-app
  Model       Claude Code default
  Iterations  unlimited

Starting new project - initializer will run first
...

Security Note

This tool uses --dangerously-skip-permissions for autonomous operation. Only run in trusted environments.

License

MIT - Based on Anthropic's claude-quickstarts

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

autonomous_claude-0.4.2.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

autonomous_claude-0.4.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file autonomous_claude-0.4.2.tar.gz.

File metadata

  • Download URL: autonomous_claude-0.4.2.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autonomous_claude-0.4.2.tar.gz
Algorithm Hash digest
SHA256 759fecbfb1e09e3f19531f1143be5aa57022e771965bac95f172fdaab1d679cd
MD5 324dfdf47421ec84a8ed38cbbc44ddee
BLAKE2b-256 1428bd1ffbfa3b724dc4d37d6889c149797e3b308224efde4789fa9e28def8af

See more details on using hashes here.

Provenance

The following attestation bundles were made for autonomous_claude-0.4.2.tar.gz:

Publisher: release.yml on ferdousbhai/autonomous-claude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autonomous_claude-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for autonomous_claude-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c63f48d4a2c499851509a8e2348110fdc01f6bdd9e445b08b82cdf2a62b4afe7
MD5 04ff2a1651feaa87b8220a149da32f9b
BLAKE2b-256 0e55be3b549ed4861edc8e26021e9d3cd092ad3ae8a153212f2d00875f8bda17

See more details on using hashes here.

Provenance

The following attestation bundles were made for autonomous_claude-0.4.2-py3-none-any.whl:

Publisher: release.yml on ferdousbhai/autonomous-claude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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