SkillsApr 1, 2026·1 min read

SWE-agent — Autonomous GitHub Issue Solver

SWE-agent lets LLMs autonomously fix GitHub issues and find security vulnerabilities. 18.9K+ stars. State-of-the-art on SWE-bench. MIT.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

# Install
pip install sweagent

# Fix a GitHub issue
sweagent run --agent.model.name=claude-sonnet-4-20250514 \
  --problem_statement.github_url=https://github.com/owner/repo/issues/123

# Or run on SWE-bench
sweagent run --problem_statement.swe_bench_id=django__django-11905

Intro

SWE-agent enables language models like GPT-4o or Claude Sonnet to autonomously fix GitHub issues, identify cybersecurity vulnerabilities, or tackle custom coding challenges. With 18,900+ GitHub stars and MIT license from Princeton and Stanford, it achieves state-of-the-art performance on SWE-bench among open-source tools. Features flexible agent design, single YAML configuration, and a research-friendly hackable codebase.

Best for: Teams wanting AI to automatically resolve GitHub issues and bugs Works with: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf


Key Features

  • Autonomous GitHub issue resolution
  • State-of-the-art on SWE-bench
  • Claude, GPT-4o, and other LLM support
  • Single YAML configuration
  • Cybersecurity mode (EnIGMA)
  • Research-friendly, hackable codebase

FAQ

Q: What is SWE-agent? A: Autonomous coding agent with 18.9K+ stars that fixes GitHub issues using LLMs. State-of-the-art on SWE-bench. Princeton/Stanford. MIT.

Q: How do I install SWE-agent? A: pip install sweagent. Then sweagent run --problem_statement.github_url=.


🙏

Source & Thanks

SWE-agent/SWE-agent — 18,900+ GitHub stars

Related Assets