Bug Reports & Feature Requests ⟶ Code Changes
Sweep is an AI junior developer that transforms bug reports & feature requests into code changes.
Describe bugs, small features, and refactors like you would to a junior developer, and Sweep:
- Reads your codebase
- Plans the changes
- Writes a pull request with code ⚡
- Turns issues directly into pull requests (without an IDE)
- Addresses developer replies & comments on its PRs
- Uses embedding-based code & online document search
- Validates its changes with GitHub Actions and self-review
We're not a toy project or a proof-of-concept. We're a production devtool used by startups including ourselves to ship features everyday, with example features here. Unlike Copilot, which only provides IDE-based autocompletion, Sweep handles the entire flow end-to-end. Unlike ChatGPT, Sweep is able to automatically understand and search through your code base, removing the need to tediously copy-and-paste files.
Sweep vs. GPT-Engineer, Smol Developer and AutoGPT
Sweep is built to improve on an existing codebase, which is a more frequent and higher need, than generating boilerplate, which is mostly a solved problem since you can just fork existing boilerplates.Sweep vs. Cody and Bloop
We do more than just chat-with-your-code by actually writing code changes.sweep.mp4
Install Sweep by adding the Sweep GitHub App to your desired repositories.
-
For more details, visit our Installation page.
-
Note: Sweep only considers issues with the "Sweep:" title on creation and not on update. If you want Sweep to pick up an issue after it has been created, you can add the "Sweep" label to the issue.
-
We support all languages GPT-4 supports, including Python, JS/TS, Rust, Go, Java, C# and C++.
-
Large-scale refactors: >3 files or >150 lines of code changes (we're working on this!)
- e.g. Refactor the entire codebase from TensorFlow to PyTorch
-
Editing images and other non-text assets
- e.g. Use the logo to create favicons for our landing page
-
Performing actions involving a dashboard, including fetching API tokens
- e.g. Set up sign-in using Ethereum
We were frustrated by small tickets, like simple bug fixes, annoying refactors, and small features. Each task required us to open our IDE to fix simple bugs. So we decided to leverage the capabilities of ChatGPT to address this directly in GitHub.
Unlike existing AI solutions, this can solve entire tickets and can be parallelized + asynchronous: developers can spin up 10 tickets and Sweep will address them all at once.
- GPT-4 32k & GPT-3.5 16k
- GTE-base embedding model
- ActiveLoop DeepLake Vector DB
- Modal Labs for infra + deployment
Examine pull requests created by Sweep here.
Every user receives unlimited GPT-3.5 tickets and 5 GPT-4 tickets per month. To prevent abuse, users can use 2 GPT-4 tickets a day.
For professionals who want more tickets and priority support/feature requests, check out Sweep Pro now at $480/month. In addition, we're also offering 15 PRs for $60 as a one-time purchase for anyone interested in eventually purchasing Sweep Pro. You can purchase this here.
We plan on rapidly improving Sweep. To see what we're working on, check out our Roadmap.
Bare-metal self-hosting is currently not available due to tight integration with Modal infrastructure. However, if you want to deploy a private instance of Sweep for testing or development purposes, check out our Modal Deployment page.
Consider starring us if you're using Sweep so more people hear about us!
Contributions are welcome and greatly appreciated! For detailed guidelines on how to contribute, please see the CONTRIBUTING.md file.
Thank you for your contribution!
and, of course, Sweep!