Skip to main content

AutoEngineer-CLI 🤖

Autonomous Software Engineering Multi-Agent System

A production-grade CLI tool that uses 5 specialized AI agents to autonomously analyze, implement, test, and review code from natural language descriptions.

PyPI version Python 3.10+ License: MIT

✨ Features

  • 5 Specialized AI Agents: Manager, Architect, Coder, QA, and Reviewer
  • Autonomous Code Generation: Creates complete, working implementations from task descriptions
  • Sandboxed Execution: Tests code safely in Podman containers
  • Comprehensive Code Review: Security analysis, best practices, and performance recommendations
  • Free-Tier LLM Support: Works with OpenRouter's free models (262k+ context)

🚀 Installation

pipx install autoengineer-cli

Alternative: Using pip

pip install autoengineer-cli

Alternative: Using uv

uv tool install autoengineer-cli

⚙️ Setup

  1. Get an OpenRouter API Key (Free):

  2. Set the Environment Variable:

    # Linux/macOS
    export OPENROUTER_API_KEY="your-api-key-here"
    
    # Windows PowerShell
    $env:OPENROUTER_API_KEY="your-api-key-here"
    
    # Or create a .env file in your project
    echo "OPENROUTER_API_KEY=your-api-key-here" > .env
    
  3. Install Podman (Optional, for sandboxed testing):

📖 Usage

Basic Usage

# Create a new project directory
mkdir my-project && cd my-project

# Run AutoEngineer with a task
autoengineer --repo . --task "Create a REST API with user authentication"

CLI Options

autoengineer --help

Options:
  -r, --repo PATH       Path to the repository to work on (required)
  -t, --task TEXT       Description of the task to complete (required)
  -o, --output PATH     Save the final report to a file
  -v, --verbose         Enable verbose output
  --max-retries INT     Maximum retry attempts (default: 3)

Examples

# Create a simple script
autoengineer -r ./my-project -t "Create a Python script that calculates Fibonacci numbers"

# Build an authentication system
autoengineer -r ./my-project -t "Add JWT-based authentication with login, register, and token refresh"

# Add a feature to existing code
autoengineer -r ./existing-project -t "Add logging to all API endpoints"

# Save the report to a file
autoengineer -r ./my-project -t "Create a CLI calculator" -o report.md

🏗️ Architecture

┌─────────────────────────────────────────────────────────────────┐
│ User: "Add authentication API"                                  │
└─────────────────────────────────────────────────────────────────┘
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│ Manager Agent → Parses requirements, creates task breakdown     │
└─────────────────────────────────────────────────────────────────┘
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│ Architect Agent → Analyzes codebase, creates execution plan     │
└─────────────────────────────────────────────────────────────────┘
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│ Coder Agent → Writes actual code files using file tools         │
└─────────────────────────────────────────────────────────────────┘
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│ QA Agent → Tests code in Podman sandbox, reports issues         │
└─────────────────────────────────────────────────────────────────┘
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│ Reviewer Agent → Generates comprehensive code review report     │
└─────────────────────────────────────────────────────────────────┘

🔧 Tech Stack

Component Technology
AI Orchestration CrewAI
LLM Gateway LiteLLM + OpenRouter
Containerization Podman
CLI Framework Click
Language Python 3.10+

📁 Generated Output

AutoEngineer creates:

  • Source code files in your repository
  • Configuration files (requirements.txt, etc.)
  • Documentation (README, API docs)
  • Final Report with code review and recommendations

🔒 Security

  • Path Traversal Prevention: File tools validate paths to prevent escaping repository
  • Network Isolation: Podman containers run with --network=none
  • Memory Limits: Containers limited to 512MB by default
  • Execution Timeouts: 60-second limit on sandboxed code execution

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide first.

📄 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

Metadata

Release files for autoengineer-cli 0.1.0

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

Source distribution (sdist)

Source distribution for autoengineer-cli 0.1.0
File Size Uploaded Provenance Actions
autoengineer_cli-0.1.0.tar.gz 13.8 kB Without provenance Details for autoengineer_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autoengineer-cli 0.1.0
File Interpreter ABI Platform Actions
autoengineer_cli-0.1.0-py3-none-any.whl Python 3 none any Details for autoengineer_cli-0.1.0-py3-none-any.whl

Total release size: 30.8 kB

Release files / autoengineer_cli-0.1.0.tar.gz

Download URL autoengineer_cli-0.1.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ba5405c6b5f59ea215bb764f7ad8468a71f930fc844893f99740e15dfb33354f
BLAKE2b-256 checksum
How to use checksums
856f3e617307db1143d9c8c589769d1d6559171ba1c021abc170e85aa69a1eb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / autoengineer_cli-0.1.0-py3-none-any.whl

Download URL autoengineer_cli-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43649b816959403e2426283a04422e88cc23b6a1eaee6fb1548bd71172091edb
BLAKE2b-256 checksum
How to use checksums
4ef22cab38ac8e450bed867e908fea030d9249663a5a86b65de64b9e53c1d89e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for autoengineer-cli 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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