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

SWE-bench

The benchmark that grades AI on real GitHub issues.

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

Project facts

SWE-bench is an open-source ai agents project by SWE-bench (SWE-bench/SWE-bench on GitHub). It has 5,986 GitHub stars and 1,004 forks, is released under the MIT license, and was last updated on GitHub on 18 September 2026.

GitHub stars
5,986
Forks
1,004
License
MIT
Last updated on GitHub
18 September 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Start with a use case

    Pick one concrete task so you can judge whether the project fits.

  2. Fetch the source

    Clone the repo and check the prerequisites listed in the README.

  3. Set up the environment

    Install what it needs and configure credentials or model access.

  4. Try the sample workflow

    Run a minimal example end to end before wiring it into your stack.

// features

Why people love it

Real-world tasks

Built from genuine GitHub issues, not toy problems.

Standard yardstick

Widely cited for coding-agent evaluation.

Test-based scoring

Resolves are verified with real test suites.

Research artifact

Accompanied by published methodology.

Python tooling

Harness and datasets in Python.

MIT licensed

Permissive licensing.

Advertisement
// run it

Run it yourself

  1. Step 1 — Install the harness

    Install the SWE-bench package.

    pip install swebench
  2. Step 2 — Get the dataset

    Pull the task instances you want to evaluate on.

    # see docs for dataset options
  3. Step 3 — Run an eval

    Evaluate a model per the documentation.

    swebench --help
    # see docs for eval commands
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains SWE-bench?

It is maintained by the SWE-bench organization at SWE-bench/SWE-bench, with 1,004 forks.

Is SWE-bench free to use?

Yes. It is released under the MIT license, which permits commercial use, modification, and redistribution. Read the LICENSE file for the exact terms.

Do I need a paid API to use it?

Running evals needs model access and compute; the benchmark itself is free.

How does it compare to other benchmarks?

It targets real-world software engineering; compare with AgentBench or GPQA for different agent capabilities.

How do I get started?

Read the paper and site docs, install the harness, and run a small evaluation.

// keep exploring

Similar tools

AI Agents

SWE-agent

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

★ 20.5k starsMIT
View guide →
AI Agents

tau2-bench

A benchmark for tool-agent-user interaction in real-world domains.

★ 2.2k starsMIT
View guide →
AI Agents

SWE-bench_Pro-os

A benchmark testing whether agents can solve long-horizon coding tasks.

★ 539 starsMIT
View guide →
AI Agents

github-mcp-server

GitHub's official MCP server — let AI tools work with repos, issues and pull requests

★ 33.4k starsMIT
View guide →
AI Agents

open-kritt

Self-hosted AI vulnerability research: agents find, validate, deduplicate, and rank real security issues.

★ 2.2k starsAGPL-3.0
View guide →
AI Agents

OSWorld-V2

Benchmark computer-use agents on long, real-world desktop tasks.

★ 353 starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

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

Get SWE-bench

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