SweepAI – AI Junior developer

Sweep is an AI junior developer tool available on GitHub that converts bug reports and feature requests into actual code changes.


Introduce SweepAI

Sweep is an AI junior developer tool available on GitHub that converts bug reports and feature requests into actual code changes. It can describe bugs, small features, and refactors, generating pull requests with code based on your codebase. Unlike other AI solutions, Sweep handles the entire process end-to-end without requiring an IDE. It supports various programming languages and code search using embeddings. However, it has some limitations, like handling large-scale refactors and certain non-text assets. Sweep is an efficient solution for addressing multiple tickets in parallel, making it a valuable tool for developers looking to streamline their workflow on GitHub.

SweepAI - AI Junior developer

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 pasting files.

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 entire codebase from Tensorflow to PyTorch
  • ⏲️ Using the latest APIs that have changed past 2022

    • e.g. Set up a vector store using LlamaIndex Typescript
    • 🎩 If you provide the relevant docs however, then Sweep can do this
  • 🖼️ 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 (default)
  • 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.


We offer unlimited GPT3.5 tickets to every user. You also start with 5 GPT4 credits which are used when a PR is created.

For professionals who want more tickets and priority support/feature requests, check out Sweep Pro

Roadmap 🗺

See 🗺️ Roadmap

Star History ⭐

SweepAI - AI Junior developer

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.