logo SWE-agent

SWE-agent

Princeton University and Stanford University · Autonomous & Async Agents · Updated
Visit site

SWE-agent is an open-source research framework that enables language models to autonomously solve software engineering tasks by interacting with filesystems and executing terminal commands in a Docker sandbox. It is designed for maximum transparency and research-grade observability, allowing users to trace and debug every action the AI agent takes.

The project is currently in maintenance-only mode as development efforts have shifted to mini-swe-agent, which offers similar performance with significantly reduced complexity.

As of

  • State-of-the-art performance on SWE-bench
  • Agent-computer interface (ACI) for structured tool use
  • Fully configurable via YAML files
  • Comprehensive trajectory logging for debugging
  • EnIGMA mode for automated cybersecurity/CTF challenges
✓ Best For

Researchers, platform engineering teams, and security professionals who need full observability, auditability, and control over their autonomous coding pipelines.

✗ Not Ideal For

Teams seeking a low-maintenance, plug-and-play SaaS experience or those without the engineering capacity to manage local Docker-based infrastructure.

Open Source

The tool is free to use (MIT license). Users are responsible for their own LLM API costs (e.g., GPT-4o, Claude 3.7) and infrastructure costs for running Docker and execution environments.

A powerful, transparent research artifact that delivers top-tier performance for users willing to handle the operational overhead of self-hosting; however, most new users should prioritize the newer mini-swe-agent.
AI AgentSoftware EngineeringOpen SourceAutomated RepairCybersecurity
Is SWE-agent free?

Yes - SWE-agent is Open Source. The tool is free to use (MIT license). Users are responsible for their own LLM API costs (e.g., GPT-4o, Claude 3.7) and infrastructure costs for running Docker and execution environments.

What is SWE-agent best for?

Researchers, platform engineering teams, and security professionals who need full observability, auditability, and control over their autonomous coding pipelines.

Who makes SWE-agent?

SWE-agent is developed by Princeton University and Stanford University. It is listed in the Autonomous & Async Agents category on ai.dosa.dev.

Track SWE-agent in your AI stack

Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.

Content on this page is AI-generated. Please verify details with the vendor's website for accuracy.