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.3.0.tar.gz (15.1 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.3.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autonomous_claude-0.3.0.tar.gz
  • Upload date:
  • Size: 15.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 0704148faed424c89c9390f6c76bab740de39a8700bfd0553055a92f6ac3834d
MD5 143a26ae7a1c9cdd708154b304b7a6d2
BLAKE2b-256 384c1a844e9c44ea7ef91f04ba6f0cdff9b95cb484a1cb02fa31018ee6e2546c

See more details on using hashes here.

Provenance

The following attestation bundles were made for autonomous_claude-0.3.0.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autonomous_claude-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 544db2b618361daf342375e41bedc28a911eb623f0e487669d6a7324dae31fd1
MD5 eb4fc42a6a64c8e0a52c2597c47904cb
BLAKE2b-256 3fb29300839e8269848a29e636876d98c1ce03120cb246e7aa1974087973dadd

See more details on using hashes here.

Provenance

The following attestation bundles were made for autonomous_claude-0.3.0-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