autopilot  by fjrdomingues

AI tool for codebase understanding and task automation

created 2 years ago
618 stars

Top 54.2% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Autopilot is an AI-powered developer tool designed to automate code-related tasks by leveraging GPT models. It assists developers by reading codebases, generating context, and implementing requested changes, aiming to streamline workflows and resolve issues efficiently.

How It Works

Autopilot analyzes a specified codebase and creates a metadata database of its files. It then uses this database to identify relevant files for a given task and attempts to implement the requested changes. The tool supports parallel agent calls for efficiency and provides detailed logs of AI interactions and code modifications, including an interactive mode for user review and control.

Quick Start & Requirements

  • Install: Clone the repository, run npm ci for dependencies.
  • Prerequisites: Node.js v18+, OpenAI API key, CODE_DIR environment variable set to your codebase path.
  • Setup: Create a .env file from .env.template and configure OPENAI_API_KEY and CODE_DIR.
  • Run: node ui -t "YOUR_TASK" for auto-apply, or node ui -i for interactive mode.
  • Docs: https://github.com/fjrdomingues/autopilot

Highlighted Details

  • Supports referencing code by file, file name, function, or business concept.
  • Can create new files based on existing ones and update multiple files.
  • Offers an interactive mode with retry, continue, and abort options.
  • Provides detailed logs of AI interactions and code changes.

Maintenance & Community

The project is active, with contributions welcomed via pull requests. An associated GitHub app is available for direct integration. A Discord server is available for community discussion: https://discord.gg/r72ykfvyx7.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial or closed-source integration.

Limitations & Caveats

Autopilot cannot currently create new files from scratch, delete files, integrate new third-party libraries, or cascade updates to related files like tests. Self-testing and fixing of generated code is also a future feature.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
3 more.

AutoPR by irgolic

0.1%
1k
AI-powered workflows for codebase automation
created 2 years ago
updated 1 year ago
Starred by Chris Van Pelt Chris Van Pelt(Cofounder of Weights & Biases), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

developer by smol-ai

0.1%
12k
Agent for embedding a developer in your app
created 2 years ago
updated 1 year ago
Feedback? Help us improve.