Skills2026年4月1日·1 分钟阅读

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
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

# 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

介绍

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=.


🙏

来源与感谢

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

相关资产