Skip to content

Chizobaonorh/sweep

 
 

Repository files navigation

Bug Reports & Feature Requests ⟶  Code Changes

Install Docs

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:

  1. 🔍 reads your codebase
  2. 📝 plans the changes
  3. writes a pull request with code

Features 🌠

  • 🌠 Turns issues directly into pull requests (without an IDE)
  • 👀 Addresses developer replies & comments on its PRs
  • 🔎 Uses embedding-based code search

Why Sweep is Unique 🦄

Unlike Copilot, which only provides IDE-based autocompletion, Sweep handles the entire flow end-to-end. Unlike ChatGPT, Sweep does not require copy-pasting files.

sweep.mp4

Getting Started 🚀

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++.

Limitations of Sweep ⚠️

  • 🏗️ 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
  • ⤵️ Accessing external APIs, including fetching API tokens

    • e.g. Set up sign-in using Ethereum

Story 📘

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.

The Stack 📚

  • GPT-4 32k 0613
  • ActiveLoop DeepLake for Vector DB with MiniLM L12 as our embeddings model
  • Modal Labs for infra + deployment

Highlights 🌟

Examine pull requests created by Sweep here.

Pricing

We offer unlimited GPT-3.5 tickets to every user. Every user also starts with 5 GPT-4 issues a month, and you'll be able to use 2 GPT-4 issues 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.

Roadmap 🗺

See 🗺️ Roadmap


Star History ⭐

Star History Chart

Consider starring us if you're using Sweep so more people hear about us!

Contributing 🤝

Contributions are welcome and greatly appreciated! For detailed guidelines on how to contribute, please see the CONTRIBUTING.md file.

Contributors

Thank you for your contribution!

and, of course, Sweep!

About

Sweep is an AI junior developer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%