autopilot  by fjrdomingues

AI tool for codebase understanding and task automation

Created 2 years ago
619 stars

Top 53.4% on SourcePulse

GitHubView on GitHub
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

Inactive

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

Explore Similar Projects

Starred by Patrick von Platen Patrick von Platen(Author of Hugging Face Diffusers; Research Engineer at Mistral), Simon Willison Simon Willison(Coauthor of Django), and
1 more.

mistral-vibe by mistralai

4.1%
3k
Conversational CLI coding agent for project interaction
Created 1 month ago
Updated 3 days ago
Starred by Matt Schrage Matt Schrage(Cofounder of Fig), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
2 more.

amazon-q-developer-cli by aws

0.5%
2k
CLI tool for agentic terminal interactions using natural language
Created 1 year ago
Updated 2 days ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Chaoyu Yang Chaoyu Yang(Founder of Bento), and
6 more.

pr-agent by qodo-ai

0.6%
10k
AI tool for pull request automation, feedback, and suggestions
Created 2 years ago
Updated 15 hours ago
Feedback? Help us improve.