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.5.0.tar.gz (16.5 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.5.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autonomous_claude-0.5.0.tar.gz
  • Upload date:
  • Size: 16.5 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.5.0.tar.gz
Algorithm Hash digest
SHA256 8405f78d349c6a4ed8f06cdfb3ca87e129578abd65af39230da127d8d0481b06
MD5 180138689242be52520010d4d77e1683
BLAKE2b-256 5cbcf55869b240a681ce709ad4642fffac8c82f206c4eeea961b78f21f2e8c72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for autonomous_claude-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d595a8986c8e0576a46686eb9c04c97da7d8ad90aa6b3ff25e988f3bdca18e8
MD5 a759b28a09dcd135e9e08ebec78da42b
BLAKE2b-256 07001a5b28803da86be96a2ace8044529e532137ab84b8ce5d518609dea02be2

See more details on using hashes here.

Provenance

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