Skip to main content

CLI-first local AI developer environment setup assistant.

Project description

DevPilot AI

DevPilot AI is a CLI-first local developer environment setup assistant.

It clones unfamiliar repositories, detects the stack deterministically, installs dependencies, starts services in managed terminals, captures logs, and uses AI only for explanations, repository chat, and debugging help.

Features

  • devpilot setup <github-url> for end-to-end repository onboarding
  • Deterministic detection for languages, frameworks, package managers, Docker, CI/CD, databases, and monorepos
  • Managed service runtime for frontend, backend, database, workers, and queues
  • Local-first configuration under ~/.devpilot/
  • Provider-independent AI layer with Gemini, OpenAI, and OpenRouter support
  • Repository intelligence with chunking, embeddings, ChromaDB retrieval, and grounded chat
  • Local security controls for command risk, workspace isolation, path protection, and audit logs

Installation

pip install devpilot-labs

Recommended full install:

pip install "devpilot-labs[all]"

With uv:

uv tool install "devpilot-labs[all]"

For local development:

python -m pip install -e ".[dev]"

Quick Start

devpilot auth login
devpilot setup https://github.com/aarjjun/LinkedInSpeak
devpilot ps
devpilot logs frontend
devpilot chat

CLI Commands

Command Purpose
devpilot Show the command map
devpilot setup <url> Clone, analyze, install, start, and report
devpilot run [path] Start services for an already setup repository
devpilot analyze <path> Deterministically inspect a repository
devpilot chat [path] Ask grounded repository questions
devpilot explain [path] Explain repository architecture
devpilot doctor Check local tools and readiness
devpilot self-test Verify package, storage, tools, provider, and network
devpilot ps Show managed services
devpilot logs [service] Show setup or service logs
devpilot stop [service] Stop managed services
devpilot auth login Select provider and save an API key securely
devpilot auth status Show active provider and credential status
devpilot auth switch Switch active provider
devpilot auth logout Remove saved credentials
devpilot about Show project and author information
devpilot version Print the semantic version
devpilot update Show update instructions

Configuration

DevPilot stores local user data outside the installed package:

~/.devpilot/
  config.json
  credentials.enc
  workspace/
  logs/
  history/
  database/
  cache/
  indexes/

API keys are never written into repositories.

Supported Providers

  • Gemini: pip install "devpilot-labs[gemini]"
  • OpenAI: pip install "devpilot-labs[openai]"
  • OpenRouter: pip install "devpilot-labs[openrouter]"
  • Everything: pip install "devpilot-labs[all]"

Supported Frameworks

DevPilot uses deterministic strategies for common Python, Node.js, Docker, and compiled-language projects, including FastAPI, Flask, Django, React, Vite, Next.js, Express, Spring Boot, Go, Rust, .NET, Docker Compose, and workspace-style monorepos.

Architecture

CLI
  -> Workflows
  -> Agents
  -> Tools
  -> Operating System

The CLI is the product. Any local API/dashboard code is optional visualization and must not contain setup business logic.

Development

python -m pip install -e ".[dev]"
python -m ruff check .
python -m mypy
python -m pytest
python -m build

Troubleshooting

Run:

devpilot self-test
devpilot doctor
devpilot logs

If AI commands fail, check:

devpilot auth status
devpilot auth switch

Contributing

See CONTRIBUTING.md.

License

MIT. See LICENSE.

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

devpilot_labs-0.1.3.tar.gz (130.4 kB view details)

Uploaded Source

Built Distribution

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

devpilot_labs-0.1.3-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

Details for the file devpilot_labs-0.1.3.tar.gz.

File metadata

  • Download URL: devpilot_labs-0.1.3.tar.gz
  • Upload date:
  • Size: 130.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for devpilot_labs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cb90e9e3e916f0de4e76fe8f0a6fdbbe073d54ab0c9c9b0aff99bd01985ba74b
MD5 00c6b505669e88466b2ee40477bb0072
BLAKE2b-256 0078debf098fc7b1ecaeea36dafa414cd486d9e9b7977d5dd5f4e52c11f63788

See more details on using hashes here.

File details

Details for the file devpilot_labs-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: devpilot_labs-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 117.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for devpilot_labs-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f5b9c2346a858cdd74257aefd238a9b810673e25d00e6a5d45ea7236321ff227
MD5 1e58de8fa1e49a1fa24fdbd4951c4dfb
BLAKE2b-256 bf7e0e9c35fac3cff5bc6f881b4af11dd3d61281aaa6ef06bd5dd32664a320b3

See more details on using hashes here.

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