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 檔案高度可設定,且設計簡潔、易於駭客改造,供研究使用,讓模型擁有最大的解題自主權。

Who it’s for

軟體工程師、AI 研究者與資安專業人士,想要自動化錯誤修復、漏洞掃描與其他複雜程式碼任務的人。

Highlights

  • State of the Art: 在 SWE-bench 基準測試中於開源專案中取得最佳表現。
  • Cybersecurity Focus: 包含名為 EnIGMA 的專門模式,用於解決進攻性資安(Capture the Flag)挑戰。
  • Flexible: 支援多種 LLM,且文件完整,易於配置。
  • Research-Oriented: 由普林斯頓大學與史丹佛大學的研究人員開發。