SWE-agent/SWE-agent

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

What it solves

SWE-agent 旨在自动化软件工程任务。它允许大型语言模型(LLM)自主地在真实的 GitHub 仓库中修复问题、识别网络安全漏洞,或执行自定义编码挑战。

How it works

系统让选定的语言模型(如 GPT-4o 或 Claude Sonnet 4)使用工具与代码库交互。它通过单个 YAML 文件高度可配置,设计简洁且易于 hack,以供研究使用,最大化模型的自主解决问题能力。

Who it’s for

软件工程师、AI 研究者和网络安全专业人士,想要自动化 bug 修复、漏洞扫描以及其他复杂编码任务的人。

Highlights

  • State of the Art: 在 SWE-bench 基准中于开源项目中实现最高性能。
  • Cybersecurity Focus: 包含名为 EnIGMA 的专用模式,用于解决进攻性网络安全(Capture the Flag)挑战。
  • Flexible: 支持多种 LLM,且文档完整,易于配置。
  • Research-Oriented: 由普林斯顿大学和斯坦福大学的研究人员开发。