Skip to main content

Autopilot CLI

PyPI version Python 3.12+ CI License

Autonomous multi-agent development orchestrator. Autopilot CLI manages multi-agent development workflows with task management, anti-pattern enforcement, hive-mind coordination, deployment monitoring, and interactive REPL — all from the terminal.

Features

  • Task Management — Sprint planning, task tracking, and velocity reporting with Fibonacci point estimation
  • Anti-Pattern Enforcement — 11-category detection engine across 5 enforcement layers (editor, pre-commit, CI, guardrails, protected regions)
  • Hive-Mind Orchestration — Spawn multi-agent sessions via claude-flow with Jinja2 objective templates, resource gating, and session tracking
  • Agent Coordination — Document-mediated communication via markdown board files, question queues, and decision tracking
  • Session Lifecycle — Daemon-based autonomous sessions with usage quotas, circuit breakers, and workspace isolation
  • Deployment Monitoring — Health checking for services with Render integration
  • Interactive REPL — Rich terminal UI with prompt-toolkit and command history
  • Configuration — Pydantic v2 models with three-level YAML merge (global, project, CLI)

Installation

pip install autopilot-cli

Or with uv:

uv pip install autopilot-cli

Requires Python 3.12+.

Quick Start

# Initialize a project
autopilot init --name my-project

# Start an autonomous session
autopilot start

# Run a single cycle
autopilot cycle

# Enter interactive REPL
autopilot

# Show all commands
autopilot --help

CLI Commands

Command Description
autopilot init Initialize a new project
autopilot start Start an autonomous session daemon
autopilot stop Stop the running session
autopilot cycle Run a single scheduler cycle
autopilot watch Live dashboard
autopilot task Task management and sprint planning
autopilot session Session lifecycle (start, stop, pause, resume, list)
autopilot enforce Anti-pattern enforcement engine
autopilot hive Hive-mind orchestration (spawn, status, stop)
autopilot project Project registry management
autopilot config Configuration management
autopilot report Reporting and analytics

Development

This project uses just as a task runner and uv for package management.

Requirements

Setup

git clone https://github.com/mandelbro/autopilot-cli.git
cd autopilot-cli
asdf install # installs python, uv, and just
just init

Running locally

# Run the CLI via just (pass args after --)
just run -- --help
just run -- init --name my-project
just run -- hive spawn tasks/tasks-1.md --task-ids 001-008 --dry-run

# Or directly with uv
uv run autopilot --help

Commands

# Run all checks (format, lint, typecheck, test)
just

# Individual commands
just test          # uv run pytest
just lint          # uv run ruff check --fix src/ tests/
just format        # uv run ruff format src/ tests/
just typecheck     # uv run pyright
just coverage      # pytest --cov --cov-fail-under=80

Project Structure

src/autopilot/
  cli/           # Typer CLI application and display helpers
  core/          # Configuration (Pydantic), data models, project management
  coordination/  # Board management, question queue, announcements
  enforcement/   # Anti-pattern enforcement engine and rules
  monitoring/    # Deployment health checking
  orchestration/ # Agent dispatch, scheduling, hive-mind coordination
  reporting/     # Metrics and reports
  uat/           # User acceptance testing pipeline
  utils/         # Shared utilities (subprocess, paths, git, sanitizer)

License

Apache 2.0 — see LICENSE for details.

Metadata

Release files for autopilot-cli 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autopilot-cli 1.1.2
File Size Uploaded
autopilot_cli-1.1.2.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for autopilot-cli 1.1.2
File Interpreter ABI Platform
autopilot_cli-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.7 MB

Release files / autopilot_cli-1.1.2.tar.gz

Download URL autopilot_cli-1.1.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9dade2c65c4c9670038bbee590c37a69463d2bc3378021f7d327ea8c03d694c2
BLAKE2b-256 checksum
How to use checksums
a25c72f2a1180e872bfd597b4aaaa7a42b0a20685e6a3c07b86f3b687e4013bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.

Transparency log

Release files / autopilot_cli-1.1.2-py3-none-any.whl

Download URL autopilot_cli-1.1.2-py3-none-any.whl
Size 254.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52e208298150c121fa26a6a4d62c866eaef67cd7e5ad712a9f43074dcf301fcf
BLAKE2b-256 checksum
How to use checksums
0585c3db185d7d741a92a726e89c6a89f648f642ee2c2832b723792c6dc3f079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page