FRENES

Coding agents · AI agent

SWE-agent: review, pricing, security and alternatives

SWE-agent is an open-source AI agent published by SWE-agent, in the coding agents family. SWE-agent uses a language model and an execution environment to inspect repositories and attempt to resolve GitHub issues. Its repository has 20,630 stars and its last commit is from July 16, 2026.

Open sourceSelf-hostableLast commit 3 months agoHigh risk

What SWE-agent does

SWE-agent belongs to the coding agents family: they read a repository, edit files, run the tests and fix things until everything passes, in a terminal or an editor. On our grid it ranks #41 of the 74 projects of this family listed in the directory.

You use it from: terminal (CLI). Usable models: Claude (Anthropic), GPT (OpenAI), Gemini (Google), local models (Ollama, llama.cpp, vLLM…), and any OpenAI-compatible model. It can run on your own machine or server.

Who is SWE-agent for?

It is aimed at developers and technical teams who want to hand off part of the work on their codebase while keeping the final review. Typical tasks people give it:

  • fix a bug from an issue or an error message
  • write or extend tests
  • migrate code to a new library version
  • explain an unfamiliar codebase

It is a good candidate if you are comfortable in a terminal, your data must stay on your machines, and you want the option of a local model, with no API fees.

Access and human control

According to its documentation, SWE-agent can:

  • run commands in a terminal
  • read and edit files
  • call online services and APIs

By default it acts without asking for confirmation. Turn on an approval mode if it has one, or limit its rights to the bare minimum.

Run commands in a terminalRun commands in a terminal : 59 %59 %Read and edit filesRead and edit files : 73 %73 %Drive a web browserDrive a web browser : 12 %12 %Call online services and APIsCall online services and APIs : 34 %34 %Read and send messagesRead and send messages : 1 %1 %Control the screen, keyboard and mControl the screen, keyboard and m : 3 %3 %
Share of the 74 agents in the family that have each access, according to their documentation. In orange, SWE-agent's access.

SWE-agent pricing

The code is free, under the MIT licence.

Getting started with SWE-agent

  1. Install it: the project ships as a Python package (install with pip or uv). The exact command is in the repository README.
  2. Pick the model: an API key from a provider, or a local model if your machine has enough graphics memory (the VRAM calculator tells you).
  3. Give it a first playground with nothing at stake: a test folder, a secondary account or a throwaway project. Only open your real accounts once you have seen how it behaves.
  4. Give it a short, checkable task, review the result and its action log, then raise the difficulty step by step.

Security: risk level

A coding agent runs commands on your machine: work on a Git branch, review the changes and isolate it in a container for long tasks.

Points found for SWE-agent:

  • Sensitive access: it can run commands in a terminal, with no established default human approval.
  • Outside content: it reads web pages or API responses, which may contain booby-trapped instructions (prompt injection).

Three habits: least privilege (minimal rights, dedicated keys), human approval for irreversible actions, a sandbox for code execution. The AI agent security check reviews your setup in a few minutes.

Project activity and releases

Created on April 2, 2024, the SWE-agent/SWE-agent repository has 20,630 stars, 2,263 forks and 58 open issues, with 2,182 commits in total. Last change 3 months ago.

Over the last 52 weeks: 55 commits, an average of 1.1 per week.

Nov 2, : 0 · Nov 2, 2025Nov 2,Nov 9, : 0 · Nov 9, 2025Nov 16, : 0 · Nov 16, 2025Nov 23, : 0 · Nov 23, 2025Nov 30, : 0 · Nov 30, 2025Dec 7, : 1 · Dec 7, 2025Dec 14, : 0 · Dec 14, 2025Dec 21, : 0 · Dec 21, 2025Dec 28, : 0 · Dec 28, 2025Dec 28,Jan 4, : 1 · Jan 4, 2026Jan 11, : 0 · Jan 11, 2026Jan 18, : 0 · Jan 18, 2026Jan 25, : 1 · Jan 25, 2026Feb 1, : 0 · Feb 1, 2026Feb 8, : 9 · Feb 8, 2026Feb 15, : 2 · Feb 15, 2026Feb 22, : 1 · Feb 22, 2026Feb 22,Mar 1, : 8 · Mar 1, 2026Mar 8, : 2 · Mar 8, 2026Mar 15, : 1 · Mar 15, 2026Mar 22, : 3 · Mar 22, 2026Mar 29, : 2 · Mar 29, 2026Apr 5, : 0 · Apr 5, 2026Apr 12, : 0 · Apr 12, 2026Apr 19, : 0 · Apr 19, 2026Apr 19,Apr 26, : 0 · Apr 26, 2026May 3, : 0 · May 3, 2026May 10, : 0 · May 10, 2026May 17, : 0 · May 17, 2026May 24, : 0 · May 24, 2026May 31, : 0 · May 31, 2026Jun 7, : 6 · Jun 7, 2026Jun 14, : 3 · Jun 14, 2026Jun 14,Jun 21, : 1 · Jun 21, 2026Jun 28, : 0 · Jun 28, 2026Jul 5, : 8 · Jul 5, 2026Jul 12, : 4 · Jul 12, 2026Jul 19, : 2 · Jul 19, 2026Jul 26, : 0 · Jul 26, 2026Aug 2, : 0 · Aug 2, 2026Aug 9, : 0 · Aug 9, 2026Aug 9,Aug 16, : 0 · Aug 16, 2026Aug 23, : 0 · Aug 23, 2026Aug 30, : 0 · Aug 30, 2026Sep 6, : 0 · Sep 6, 2026Sep 13, : 0 · Sep 13, 2026Sep 20, : 0 · Sep 20, 2026Sep 27, : 0 · Sep 27, 2026Oct 4, : 0 · Oct 4, 2026Oct 4,Oct 11, : 0 · Oct 11, 2026Oct 18, : 0 · Oct 18, 2026Oct 25, : 0 · Oct 25, 2026Oct 25,
Commits per week on the main repository, last 52 weeks (GitHub API, checked October 25, 2026).

10 releases in total; 0 in the last twelve months. Latest release: v1.1.0, on May 22, 2025.

v0.2.0 · Apr 15, 2024v0.2.0Apr 15, 2024v0.3.0 · May 2, 2024v0.4.0 · May 9, 2024v0.5.0 · May 28, 2024v0.6.0 · Jun 5, 2024v0.6.1 · Jun 20, 2024v0.7.0 · Sep 25, 2024v1.0.0 · Feb 13, 2025v1.0.1 · Feb 28, 2025v1.1.0 · May 22, 2025v1.1.0May 22, 2025
The latest 10 releases published on GitHub (hover a point for details).

SWE-agent vs other coding agents

GitHub stars of the best-rated open-source projects in the coding agents family. Stars measure attention, not quality: a heavily promoted project collects them fast, a specialised tool will have few.

OpenCodeOpenCode : 221K221KClineCline : 70.8K70.8KOpenHandsOpenHands : 91.7K91.7KCodexCodex : 130.8K130.8KOpen InterpreterOpen Interpreter : 68.7K68.7KQwen CodeQwen Code : 28.7K28.7KKilo CodeKilo Code : 27.7K27.7KGemini CLIGemini CLI : 107.8K107.8KSWE-agentSWE-agent : 20.6K20.6K
Log scale; SWE-agent in orange. Checked October 25, 2026.

SWE-agent and other coding agents at a glance

The 7 best-ranked agents in the same family, 7 of them open source. The score out of 100 only applies to open-source projects; for proprietary services we show the published entry price. A dash marks information the documentation does not state.

Quick comparison: coding agents
AgentModelScoreStars or entry priceSelf-hostableHuman approval
SWE-agentopen source6220.6K ★yesno
OpenCodeopen source95221K ★yes–
Clineopen source9470.8K ★yesyes
OpenHandsopen source9191.7K ★yes–
Codexopen source89130.8K ★yesyes
Open Interpreteropen source8968.7K ★yes–
Qwen Codeopen source8928.7K ★yesyes
Kilo Codeopen source8927.7K ★yesyes

How we rated it

Score: 62/100, computed only from public, verifiable data, with no subjective testing or partnership:

  • Adoption 28/40: 20,630 stars on a log scale (40 points from about 200,000).
  • Activity 9/30: last commit 3 months ago, 0 releases in six months, 55 commits in a year.
  • Framework 25/30: licence, default human approval, self-hosting, model choice and documentation site.

The score does not say whether the agent will succeed at your tasks: it measures how solid the project is. The full grid is on the method page.

Verdict

SWE-agent is a serious option; check the limitations below before granting it access.

Strengths

  • Widely followed: 20.6K stars
  • Can run on your side: data under control
  • Free choice of model
  • Permissive licence (MIT)

Limitations

  • Broad access without default approval

Avoid if…

  • You cannot isolate it (container, virtual machine)

Frequently asked questions

Is SWE-agent free?

The software is free (MIT licence). You still pay for the model calls, unless you use a local model.

Is SWE-agent safe?

Our risk level: high. Points found: sensitive access and outside content. Give it minimum rights and approve irreversible actions.

Which models does SWE-agent use?

According to its documentation: Claude (Anthropic), GPT (OpenAI), Gemini (Google), local models (Ollama, llama.cpp, vLLM…), and any OpenAI-compatible model.

Can SWE-agent be installed on your own server?

Yes, from the SWE-agent/SWE-agent repository. Data then stays with you, but security and updates are your job.

What are the alternatives to SWE-agent?

In the same family: OpenCode, Cline, OpenHands, and Codex.

SWE-agent or OpenCode: what is the difference?

Both belong to the coding agents family. SWE-agent has 20.6K stars against 221K for OpenCode. The right choice mostly depends on the access you are willing to give it.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score