LibreAI / AI Agents / SWE-agent
// agents · SWE-agent/SWE-agent

SWE-agent

SWE-agent is an open-source ai agents project by SWE-agent (SWE-agent/SWE-agent on GitHub). It has 20,506 GitHub stars and 2,247 forks, is released under the MIT license, and was last updated on GitHub on 6 October 2026.

Give it a GitHub issue and it tries to fix the code for you - the original SWE-bench agent

★ 20.5k stars⑂ 2.2k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

GitHub stars
20,506
Forks
2,247
License
MIT
Last updated on GitHub
6 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick an issue or benchmark

    Choose a real GitHub issue to attempt, or a SWE-bench split to benchmark against.

  2. Get SWE-agent

    Clone the repository, or try it in your browser with the GitHub Codespaces link in the README.

  3. Install and configure your model

    Install from source per the docs and configure the LM you want to drive the agent.

  4. Run your first fix

    Follow the docs' hello-world command to run the agent on one issue and review the patch it produces.

// features

Why people love it

Automatic issue fixing

Reads a GitHub issue, navigates the repo, edits code and produces a candidate fix.

Your choice of LM

Works with the language model you configure rather than locking you to one provider.

SWE-bench batch mode

Runs and benchmarks the agent across SWE-bench tasks for reproducible research results.

EnIGMA variant

A dedicated mode adapts SWE-agent for offensive cybersecurity and capture-the-flag style challenges.

Codespaces trial

Try it in the browser via GitHub Codespaces without a local install.

Research-grade design

The agent-computer interface design comes from the peer-reviewed SWE-agent paper (NeurIPS 2024).

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/SWE-agent/SWE-agent.git
    cd SWE-agent
  2. Install from source

    The README links to the docs' source installation guide.

    pip install -e . # see README/docs installation for the exact command
  3. Run the hello world example

    The documentation's hello-world page runs the agent on a sample issue from the command line.

    # Follow the 'Hello world from the command line' guide linked in the README
// use cases

What you can build

  • Benchmark a new model on SWE-bench Verified with a reference agent
  • Draft a fix for a well-scoped bug in an open-source repo you maintain
  • Study agent-computer interface design for your own coding agent
  • Run the EnIGMA variant in an authorized security research setting
Advertisement
// faq

Questions, answered

Who maintains this project?

It is maintained by the SWE-agent team (John Yang, Carlos Jimenez and collaborators) on GitHub.

Is it free to use?

Yes - SWE-agent is MIT licensed and free to use.

Does it need a paid API key?

You supply the language model: most setups use a paid provider API key (or a hosted/local model you configure), and long issue-solving runs can consume significant tokens.

How does it compare to alternatives?

Compared with commercial coding agents, SWE-agent is a research-first, fully configurable harness - ideal for benchmarking and modification, less polished as an everyday IDE assistant.

How do I get started?

Try the Codespaces link in the README, or install from source and run the docs' hello-world example on a sample issue.

// keep exploring

Similar tools

AI Agents

Agent-Reach

Give your AI agent eyes on the whole internet: Twitter, Reddit, YouTube, GitHub and more, one CLI

★ 94.0k starsMIT
View guide →
AI Agents

SWE-bench

The benchmark that grades AI on real GitHub issues.

★ 6.0k starsMIT
View guide →
AI Agents

Monid

Monid — OpenRouter for agent tools: one base URL and one key give an agent 2,000+ tools across 72+ providers

★ 4.2k starsMIT
View guide →
AI Agents

ChatDev

ChatDev — zero-code multi-agent platform (DevAll) for developing everything, from software to research, Apache-2.0

★ 34.6k starsApache-2.0
View guide →
AI Agents

exa-mcp-server

Exa's MCP server for web search and crawling — give your AI agent a live, high-quality web index.

★ 5.1k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if SWE-agent is not the right fit.

  • openclaw★ 391.6k

    A personal AI that really does things — on any OS, with your data staying yours.

  • superpowers★ 294.9k

    An agentic skills framework & software development methodology that works.

  • ECC★ 275.2k

    Agent harness optimization system with skills, memory and security for Claude Code, Codex and more

  • hermes-agent★ 252.0k

    The agent that grows with you — a Python framework for adaptive AI agents.

  • deepseek-harness★ 245.5k

    DeepSeek's plugin-based agent harness where everything is a plugin.

// more in agents

More in AI Agents

Nearby AI Agents projects in the catalogue, closest in stars to SWE-agent — keep exploring the shelf either side of it.

  • rasa★ 21.3k

    The veteran open-source framework for conversational AI that you host.

  • suna★ 20.3k

    Kortix - the open-source AI operating system: agents, skills and memory as files in a repo

  • prime-agent★ 21.6k

    A self-improving agent for coding workflows and long-running autonomous tasks

  • Tongyi Deep Research★ 20.0k

    Tongyi Deep Research - Alibaba's open-source deep research agent and 30B model

  • coze-studio★ 21.7k

    A visual all-in-one platform for building, debugging, and deploying AI agents.

  • SkillSpector★ 19.7k

    NVIDIA's security scanner for AI agent skills - check before you install

Get SWE-agent

Free and open — grab the source, star the repo, and start creating.