# Sweep — Turn GitHub Issues into Pull Requests > AI agent that turns GitHub issues into pull requests automatically. Handles bug fixes and small features with context-aware code generation. ## Install Save as a script file and run: ## Quick Use > **Note**: The Sweep team has pivoted to building a JetBrains AI coding assistant plugin. The original GitHub bot is no longer actively maintained, but the codebase remains available. Visit the [JetBrains plugin page](https://plugins.jetbrains.com/plugin/sweep-ai) for the team's current product. For the original Sweep bot (legacy): 1. Install the Sweep GitHub App on your repository 2. Create a GitHub issue describing the change you want 3. Sweep automatically creates a PR with the implementation --- ## Intro Sweep was an AI-powered GitHub bot that turned issues into pull requests automatically. You'd describe a bug fix or small feature in a GitHub issue, and Sweep would read your codebase, write the code, and open a PR. It handled planning, code generation, and even responded to PR review comments. 7,600+ GitHub stars. > **Status**: The team has pivoted to building a JetBrains AI coding assistant. The original Sweep bot code is still on GitHub but is no longer the team's focus. **Works with**: GitHub Copilot --- ## How Sweep Worked 1. **You create a GitHub issue** describing the change ("Fix the login redirect bug" or "Add dark mode toggle to settings") 2. **Sweep reads your codebase** — understands the project structure, dependencies, patterns 3. **Sweep writes code** — creates the implementation following your project's conventions 4. **Sweep opens a PR** — with descriptive title, summary, and the actual code changes 5. **You review** — leave comments on the PR, and Sweep can respond to feedback and make adjustments ## What It Could Handle - Bug fixes from issue descriptions - Small feature implementations - Code refactoring tasks - Documentation updates - Test additions ## Limitations - Worked best on small, well-defined changes - Large features or architectural changes were beyond scope - Required clear issue descriptions for best results --- ### FAQ **Q: What is Sweep?** A: AI agent that turns GitHub issues into pull requests automatically. Handles bug fixes and small features with context-aware code generation. **Q: How do I install Sweep?** A: Check the Quick Use section above for step-by-step installation instructions. Most assets can be set up in under 2 minutes. ## Source & Thanks > [sweep](https://github.com/sweepai/sweep) — ⭐ 7,600+ > [JetBrains AI Plugin](https://plugins.jetbrains.com/plugin/sweep-ai) Thanks to the Sweep team for pioneering the issue-to-PR workflow. The concept influenced many subsequent AI coding tools. --- Source: https://tokrepo.com/en/workflows/41907c03-6866-46b0-a559-c0d21d6298ed Author: Script Depot