Skip to content
FossShelf
Home / Categories / For AI Engineers

SWE-agent

Autonomous AI agent that reads code and resolves GitHub issues

Replaces Devin Ai, Github Copilot, Modulo Ai

20.82K starsMITreviewed 5 Mar 2025last commit 9 Nov 2026
Screenshot of SWE-agent

Who it's for

AI researchers testing coding-agent ideas

Use SWE-agent to run repeatable experiments on repository tasks and measure whether prompt or tool changes improve outcomes.

Skip if you only need a hosted coding assistant for everyday developer autocomplete.

Platform teams prototyping internal agents

The framework helps teams test issue-to-patch workflows before building deeper infrastructure.

Skip if you need enterprise policy controls, audit workflows, and human approval out of the box.

The problem

Coding agents are hard to evaluate when they operate in opaque chats or toy tasks. Real software work requires reading files, running tests, editing code, and recovering from failures inside a repository. Teams building or evaluating agents need a repeatable harness. Without one, every experiment becomes a custom script with unclear prompts, inconsistent tools, and weak evidence about whether the agent actually fixed the issue.

How it works

Repository-based agent loop

Runs an agent against a real codebase with shell commands, file edits, and test feedback instead of only chat messages.

Benchmark and evaluation focus

The project is closely tied to software engineering benchmark workflows, making it useful for comparing agent changes across tasks.

Configurable agent environment

Lets researchers adjust models, prompts, tools, and execution settings for controlled experiments.

Features

  • Repository-based agent loop
  • Benchmark and evaluation focus
  • Configurable agent environment

Recommended for this setup

Strengths

  • Built for agent research: SWE-agent gives researchers and platform teams a concrete framework for studying coding behavior, not just a demo assistant.
  • MIT licensed framework: The permissive license supports internal experimentation and modification for teams building their own agent workflows.

Trade-offs

  • Requires careful sandboxing: Running agents that can execute shell commands and edit files needs strong environment isolation, task scoping, and review before any output reaches production.

Tech stack

Languages
Python, JavaScript, CSS, Shell, C++, Perl, Dockerfile, HTML, C
Frameworks
Flask
Databases
—
Tooling
—

FAQ

Is SWE-agent open source?

Yes. SWE-agent is open source under the MIT license.

What is SWE-agent used for?

It is used to build, run, and evaluate software engineering agents that work inside real repositories.

How does SWE-agent compare to GitHub Copilot?

GitHub Copilot assists developers inside editors. SWE-agent is a framework for autonomous issue-solving experiments and benchmark runs.

Similar tools

More in AI Engineers