Skip to content

https-gitcom/sweep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

165 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spend time reviewing code generated by AI, not writing it.

📚 Docs   •   📢 Discord

Sweep allows you to create and review GitHub issues with easy. Simply describe any issue and Sweep will do the rest. It will plan out what needs to be done, what changes to make, and write the changes to a PR.


✨ Demo

For the best experience, install Sweep to one of your repos and see the magic happen.

sweep.mp4

🚀 Getting Started

Setting up Sweep is as simple as adding the GitHub bot to a repo, then creating an issue for the bot to address.

  1. Add the Sweep GitHub app to desired repos
  2. Create new issue in repo, like "Sweep: Write tests"
  3. "👀" means it is taking a look, and it will generate the desired code
  4. "🚀" means the bot has finished its job and created a PR

For more detailed docs, see 🚀 Quickstart.

📚 Story

We were frustrated by small tickets such as simple bug fixes, annoying refactors and small features that could just be fed to ChatGPT. So we fed it to ChatGPT.

Unlike copilot, this can solve entire tickets and can be parallelized: someone can spin up 10 tickets and have it solve them all at once.

The Stack

  • GPT-4 32k 0613 (default) / Claude v1.3 100k
  • ActiveLoop DeepLake for Vector DB with MiniLM L12 as our embeddings model
  • Modal Labs for infra + deployment

🌠 Features

  • Vector search using DeepLake
  • CoT internal search using GPT Functions
  • Issue comment reply handling
  • PR auto self-review + comment handling (effectively Reflexion https://arxiv.org/abs/2303.11366)

🗺️ Roadmap

We're currently working on responding to linters and external search. For more, see 🗺️ Roadmap.


Contributors

Thank you for your contribution!

and of course, Sweep!

About

Sweep: open-source AI-powered Software Developer for small features and bug fixes.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 47.7%
  • Python 44.8%
  • TypeScript 6.6%
  • Shell 0.5%
  • CSS 0.1%
  • JavaScript 0.1%
  • Other 0.2%