Skip to main content
Agent Frameworks & OrchestrationProduction

SWE-agent

SWE-agent / SWE-agent

A software-engineering agent that turns a GitHub issue into a code change, using an agent-computer interface (ACI) to constrain search, edit and test commands so the model can close the loop on the issue.

20.8k stars 2280 forks Python Language MIT License Last push 2026-11-16

Why choose it

  • The ACI constrains actions instead of giving a raw shell.
  • Designed around issue-to-patch tasks.
  • Works with SWE-bench-style evaluation.

Not for

You need a general chat agent.
You cannot run tests in an isolated repository.
Scores depend on the model, retry budget and scaffold; do not read them as a product ranking.

Minimum setup

  1. Run one issue in a disposable repo with a test command.
  2. Inspect every ACI action and the final patch.
  3. Check whether the patch passes the repository’s tests.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • OpenHands — Production,A software-engineering agent that can read code, edit it and run commands, with CLI, web UI and a sandboxed runtime.
  • Aider — Start here,A pair-programming agent in the terminal that reads and writes a local git repo, produces diffs, commits automatically and uses a repo map to control context.
  • Cline — Start here,An autonomous coding agent inside VS Code that can read files, edit code, run terminal commands and use a browser, asking for approval at each step.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.