Skip to main content
← Frameworks

SWE-agent

Princeton / Stanford (academic teams)
Open source MIT Research-focused Code fixes ACI SWE-bench 8 axes checked Active Checked 2026-10-30

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

SWE-agent is a research harness for agent-driven code repair (MIT…

How you use it

Local / self-hosted · Framework / SDK

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The full model-interface catalog (kept at category level one by one)
  • Details of the current default container-isolation configuration (kept at category level)
  • The relationship with the mini-SWE-agent lightweight line (the official docs have a slim line; kept at category level)

SWE-agent is a research harness for agent-driven code repair (MIT, Princeton/Stanford): ACI (agent-computer interface) is its core thesis, co-origin with the SWE-bench evaluation ecosystem. Production out-of-the-box is not its positioning — it is a reference implementation for research and evaluation.

When to use it, when not to

Fits: evaluating/researching coding agents, ACI design references, SWE-bench runs. Not a fit: production coding assistants out of the box; product form factors.

China availability domestic / direct access / CAC filing · snapshot 2026-10-21

Origin
foreign-made Princeton / Stanford academic teams (US).
Direct access
direct OK swe-agent.com measured 200 direct (2026-10-21); the GitHub repo's mainland reachability fluctuates (200 via proxy the same day).
CAC filing
not in filing list:not in the CAC public registry (searched 2026-10-21); the open-source project does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

Various LLMs connect through an interface layer (OpenAI/Anthropic/HF etc., per the official docs, kept at category level one by one); its core contribution is the ACI (agent-computer interface) — a file-editing/command-interaction interface designed for agents.

Where it runs

A Python library + command line (pip install); GitHub 20,682★, last push 2026-10-26 (API verified). Academic origins (the Princeton/Stanford paper line); deeply tied to the SWE-bench evaluation ecosystem (the benchmark line from the same team).

Local files

The agent reads/writes files and runs commands inside a container or local environment — file operations really happen in the environment you give it; the official docs recommend running containerized (the isolation position).

Tasks after shutdown

Task-form runs: given an issue → run the fix → done; no resident semantics. Batch evaluation runs (SWE-bench style) are one of its main uses.

Tools & extensions

The tool surface is the core of its ACI design: file viewing/editing, search, command execution — "an interface designed for agents" is its research thesis, not a general tool ecosystem.

Context & memory

Single-task context-window management is its research point (history compression / window policies); cross-session memory is not its narrative.

Permissions & limits

Command execution = the real permissions surface: the agent can run shell commands, and the official docs recommend container isolation — the risk framing of running bare-metal is flagged in the official docs (details kept at category level).

Best for

Fits: researching/evaluating "agents fixing code" (the SWE-bench line), wanting a reference implementation of ACI design. Does not fit: a batteries-included production coding assistant (it is a research-oriented harness; productization is on you); wanting a GUI product form.

Licence and terms of use

MIT (GitHub API verified 2026-10-21).

Top misconception

  • Treating it as a production coding agent — it is a research harness (paper and evaluation lines); productizing is on you
  • Running the command-execution surface on bare metal — the official recommendation is container isolation; do not skip that layer
  • Blurring it with the SWE-bench benchmark — SWE-bench is the eval set (another product by the same team); SWE-agent is the framework that runs it

Evidence sources

Checked 2026-10-30,Content updated 2026-10-21。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repoSWE-agent/SWE-agent · repository (MIT; 20,682★, last push 2026-10-26, GitHub API verified)https://github.com/SWE-agent/SWE-agent
docsSWE-agent · official docs sitehttps://swe-agent.com
changelogSWE-agent/SWE-agent · Releases (changelog)https://github.com/SWE-agent/SWE-agent/releases

Test notes

This site has not completed measured runs. The test protocol is at protocols/framework/_protocol.md.

Related entries

  • OpenHands Agent CanvasBoth on the "agents fixing code" line: OpenHands goes the productized-harness route, SWE-agent the research-evaluation route.
  • Claude Code CLICross-category contrast: the use-case divide between a production coding agent and an evaluation harness.
  • Codex CLIOther layer · AI coding

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
DSPyLocal / self-hostedOpen licence8 questions checked
Active
DSPy turns 'tuning prompts' into a programming problem (MIT, Stanford NL
HaystackLocal / self-hostedOpen licence8 questions checked
Active
Haystack is the RAG framework of the 'retrieval-quality engineering' sch
LangChainLocal / self-hostedOpen licence8 questions checked
Active
LangChain is the main body of the LLM-app framework ecosystem (MIT, 148k

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.