autopilot  by fjrdomingues

AI tool for codebase understanding and task automation

Created 2 years ago
619 stars

Top 53.3% 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 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

2.4%
2k
CLI tool for agentic terminal interactions using natural language
Created 1 year ago
Updated 18 hours 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.7%
9k
AI tool for pull request automation, feedback, and suggestions
Created 2 years ago
Updated 1 day 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
30 more.

developer by smol-ai

0.1%
12k
Agent for embedding a developer in your app
Created 2 years ago
Updated 1 year ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 20 hours ago
Feedback? Help us improve.