Skip to main content

Sweep

AI developer that writes PRs from GitHub issues — autonomous bug fixes and feature implementation

Code / DevToolsFreemiumCoding Assistants

Sweep is an AI coding agent that converts GitHub issues into pull requests autonomously. Mention @sweep in a GitHub issue comment, and it reads the codebase, writes the code changes, runs tests, and opens a draft PR — without human coding intervention. Handles bugs, small features, test coverage gaps, and refactoring tasks. 22K+ GitHub stars.

This tool appears to be discontinued. sweep.dev no longer resolves (checked 2026-11-12).

Key specs
7,709 GitHub stars source
as of 2026-11-12

What we know

PricingFreemiumfrom our original listing, not yet re-checked

Skills matrix

SkillStatusDeliveryMaturityEvidence
Code generationPartialModel-dependentModel-limitedNot publicly documented
RefactoringPartialModel-dependentModel-limitedNot publicly documented
Multi-file reasoningPartialModel-dependentModel-limitedNot publicly documented
Test generationPartialModel-dependentModel-limitedNot publicly documented
Static analysis supportPartialModel-dependentModel-limitedNot publicly documented
Codebase indexingPartialModel-dependentModel-limitedNot publicly documented
Semantic retrievalPartialModel-dependentModel-limitedNot publicly documented
Memory retention across sessionsPartialModel-dependentModel-limitedNot publicly documented
Context injection controlPartialModel-dependentModel-limitedNot publicly documented
Inline editingPartialModel-dependentModel-limitedNot publicly documented
Chat-first interactionPartialModel-dependentModel-limitedNot publicly documented
File diff previewPartialModel-dependentModel-limitedNot publicly documented
Git integrationPartialModel-dependentModel-limitedNot publicly documented
Terminal / command executionPartialModel-dependentModel-limitedNot publicly documented
Model switchingPartialModel-dependentModel-limitedNot publicly documented
Multi-model orchestrationPartialModel-dependentModel-limitedNot publicly documented
Prompt augmentation layerPartialModel-dependentModel-limitedNot publicly documented
Agent loop executionPartialModel-dependentModel-limitedNot publicly documented
Local model supportPartialModel-dependentModel-limitedNot publicly documented
Offline capabilityPartialModel-dependentModel-limitedNot publicly documented
Enterprise policy controlPartialModel-dependentModel-limitedNot publicly documented

Why it matters

  • 22K+ GitHub stars validates developer enthusiasm for autonomous GitHub issue-to-PR pipelines.
  • Reduces developer time on routine, well-defined tasks — bug fixes, test additions, and small features that are boring to implement manually.
  • GitHub-native workflow means no new tools for the team — issues and PRs are already the workflow; Sweep adds automation.
  • Open source self-hosting enables privacy-sensitive organizations to run the agent on their own infrastructure.

Key capabilities

  • Issue-to-PR automation: @sweep mention in any GitHub issue triggers autonomous code generation and PR creation.
  • Codebase search: Vector search across the repository to find relevant files without reading everything.
  • Test execution: Runs existing tests and fixes failures before opening the PR.
  • PR documentation: Detailed PR descriptions explaining the changes made and reasoning.
  • Iterative improvement: Comment on Sweep's PR to request changes; it revises and updates.
  • Multi-file changes: Handles changes across multiple files coherently.
  • Self-hosted: Deploy on your own infrastructure with your own OpenAI API key.
  • GitHub Actions integration: Can run as a GitHub Actions workflow triggered by issue labels.

Technical notes

  • License: Apache 2.0 (open source)
  • GitHub: github.com/sweepai/sweep (22K+ stars)
  • Trigger: @sweep mention in GitHub issues/PRs; or sweep: label on issues
  • LLM: GPT (hosted); configurable for self-hosted
  • Self-host: Docker Compose; requires OpenAI API key
  • Cloud pricing: 5 free/month (public); $240/mo (30 issues private)

Ideal for

  • Engineering teams with backlogs of well-defined, bounded issues they'd assign to a junior developer.
  • Open-source maintainers who want to automate routine contributions (test coverage, small bug fixes).
  • Teams who want to reduce developer time on mechanical, low-creativity coding tasks.

Not ideal for

  • Complex architectural changes or features requiring system design decisions.
  • Teams where code quality review is critical — Sweep's code should be treated as a first draft.
  • Repos without tests — Sweep works best when it can validate its changes against an existing test suite.

See also

  • GitHub Copilot Workspace — Microsoft's equivalent issue-to-PR automation; more polished, requires Copilot subscription.
  • Cursor — AI IDE for controlled, human-supervised coding; more precise but more manual.
  • Aider — Terminal AI coding agent; similar autonomy with more developer control.

FAQ

What is Sweep?

Sweep is an AI software engineer that lives in your GitHub repository. When you create an issue or comment '@sweep' on an existing issue, Sweep reads your codebase, plans the implementation, writes the code changes, runs any available tests, and opens a pull request. It handles bugs ('fix the null pointer on line 43'), small features ('add pagination to the user list'), and test additions ('add unit tests for the payment service').

Is Sweep free?

Sweep is open source (Apache 2.0) and can be self-hosted. The hosted cloud service (sweep.dev) offers 5 free issues/month for public repos; paid plans for private repos start at $240/mo for 30 issues/month. Self-hosting with your own OpenAI key is free beyond compute costs.

How does Sweep handle large codebases?

Sweep uses vector search to find relevant code in large repositories. It embeds the codebase and retrieves the most relevant files for the issue, rather than reading the entire codebase. This allows it to work with repositories of 100K+ lines of code. The search understands both file names and code content, finding relevant functions even in files not directly mentioned in the issue.

What types of tasks is Sweep best at?

Sweep excels at: (1) Bug fixes with a clear reproduction path, (2) Adding tests for existing functions, (3) Small, bounded features (add a field to a model, implement an API endpoint), (4) Refactoring specific functions, (5) Documentation updates. It struggles with: large architectural changes, features requiring many interconnected changes, and tasks requiring business context not in the codebase.

Competitive positioning

DimensionCursorGitHub CopilotClaude CodeContinueWindsurf
Multi-file editsYesYesYesYesYes
Context depthCodebase + @-mentionsRepo-awareLong contextConfigurableCodebase
Model switchingYes (OpenAI, Anthropic)LimitedAnthropicAny API / localCodeium
Local modelsNoNoNoYesNo
Git awarenessYesYesYesYesYes
Enterprise readinessPartial (Team/Business)YesVendor-dependentSelf-managedNot publicly confirmed

Compare directly: sweep vs Cursor coding and agents use cases.

Alternatives

Is your tool an alternative to Sweep? Sponsor this spot for 30 days, marked Sponsored.

Integrations

None listed.

Built on

Good for these tasks

Listed 2026-02-22 · updated 2026-11-12