AI Agent Hub
AI エージェント / プラグイン情報メディア
← 一覧へ
SWE-agent
OTHER

SWE-agent

SWE-agent

GitHub の Issue や脆弱性を自動修正する自律エージェント。Princeton NLP の研究プロジェクトで SWE-bench でも上位の精度を達成している。

原文: 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]
#研究#自律エージェント#SWE-bench#agent#agent-based-model#ai#cybersecurity#developer-tools#llm#lms
REPO STATS

リポジトリ統計

⭐ Stars
19.2k
🍴 Forks
2.1k
⚠️ Open Issues
52
🌿 Language
Python
📄 License
MIT
🕒 最終更新
2026.04.28 (1週間前)
📅 公開日
2024.04.02
🌿 Branch
main
README

ドキュメント

— AI による自動翻訳 (2026.05.07 更新)

swe-agent.com

Docs Slack arxiv 2405.15793

mini-swe-agent.com

警告

当社の現在の開発努力の大部分は mini-swe-agent に注力しており、 これが SWE-agent に取って代わりました。これは SWE-agent と同等のパフォーマンスを実現しながら、 はるかにシンプルです。 相違点についての詳細は FAQ を参照してください。 当社の一般的な推奨事項は、今後は SWE-agent ではなく mini-SWE-agent を使用することです。

SWE-agent により、選択した言語モデル(GPT-4o や Claude Sonnet 4 など)が自律的にツールを使用して、 実際の GitHub リポジトリの問題を修正したり、 サイバーセキュリティの脆弱性を発見したり、 カスタムタスクを実行できるようになります。

  • SWE-bench でオープンソースプロジェクト中で最先端
  • 自由度が高く & 汎用的:言語モデルに最大限の自律性を与えます
  • カスタマイズ可能 & 完全にドキュメント化:単一の yaml ファイルで管理されます
  • 研究向けに設計:シンプルで改造しやすい設計

SWE-agent はプリンストン大学とスタンフォード大学の研究者により構築・保守されています。

📣 ニュース

🚀 始めてみましょう!

👉 ブラウザで SWE-agent を試してみてください:GitHub Codespaces で開く (詳細情報)

詳しく学ぶには、当社の ドキュメント をご覧ください:

攻撃的なサイバーセキュリティ(EnIGMA)向けの SWE-agent

SWE-agent: EnIGMA は攻撃的なサイバーセキュリティ(キャプチャ・ザ・フラッグ)チャレンジを解くためのモードです。 EnIGMA は複数のサイバーセキュリティベンチマークで最先端の結果を達成しています(リーダーボードを参照)。 EnIGMA を 1.0 に向けて更新している間、SWE-agent 0.7 をご使用ください。

さらに、他のプロジェクトにもご興味があるかもしれません:

Mini-SWE-Agent SWE-ReX SWE-bench SWE-smith sb-cli

貢献

コードベースへの貢献をご希望の場合は、issue および pull request をお待ちしています!大規模なコード変更については、まず issue で議論することをお勧めします。

引用・お問い合わせ

SWE-agent はプリンストン大学で John Yang*、Carlos E. Jimenez*、Alexander Wettig、Kilian Lieret、Shunyu Yao、Karthik Narasimhan、Ofir Press により開始されたアカデミックプロジェクトです。 担当者:John YangCarlos E. JimenezKilian Lieret(メール:johnby@stanford.educarlosej@cs.princeton.edukl5675@princeton.edu)。

このワークをお役に立つと感じていただけた場合は、以下を使用して引用することをご検討ください:

SWE-agent の引用
@inproceedings{yang2024sweagent,
  title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
  author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
  year={2024},
  url={https://arxiv.org/abs/2405.15793}
}

SWE-agent のサマライザー、インタラクティブコマンド、または攻撃的なサイバーセキュリティ機能を使用した場合は、以下の引用も合わせてご検討ください:

EnIGMA の引用
@misc{abramovich2024enigmaenhancedinteractivegenerative,
      title={EnIGMA: Enhanced Interactive Generative Model Agent for CTF Challenges},
      author={Talor Abramovich and Meet Udeshi and Minghao Shao and Kilian Lieret and Haoran Xi and Kimberly Milner and Sofija Jancheska and John Yang and Carlos E. Jimenez and Farshad Khorrami and Prashanth Krishnamurthy and Brendan Dolan-Gavitt and Muhammad Shafique and Karthik Narasimhan and Ramesh Karri and Ofir Press},
      year={2024},
      eprint={2409.16165},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2409.16165},
}

🪪 ライセンス

MIT です。LICENSE を確認してください。

Pytest build-docs codecov pre-commit.ci status Markdown links

— GitHub から取得した原文(一部省略の場合あり)

swe-agent.com

Docs Slack arxiv 2405.15793

mini-swe-agent.com

Warning

Most of our current development effort is on mini-swe-agent, which has superseded SWE-agent. It matches the performance performance of SWE-agent, while being much simpler. See the FAQ for more details about the differences. Our general recommendation is to use mini-SWE-agent instead of SWE-agent going forward.

SWE-agent enables your language model of choice (e.g. GPT-4o or Claude Sonnet 4) to autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities, or perform any custom task.

  • State of the art on SWE-bench among open-source projects
  • Free-flowing & generalizable: Leaves maximal agency to the LM
  • Configurable & fully documented: Governed by a single yaml file
  • Made for research: Simple & hackable by design

SWE-agent is built and maintained by researchers from Princeton University and Stanford University.

📣 News

🚀 Get started!

👉 Try SWE-agent in your browser: Open in GitHub Codespaces (more information)

Read our documentation to learn more:

SWE-agent for offensive cybersecurity (EnIGMA)

SWE-agent: EnIGMA is a mode for solving offensive cybersecurity (capture the flag) challenges. EnIGMA achieves state-of-the-art results on multiple cybersecurity benchmarks (see leaderboard). Please use SWE-agent 0.7 while we update EnIGMA for 1.0.

In addition, you might be interested in our other projects:

Mini-SWE-Agent    SWE-ReX    SWE-bench    SWE-smith    sb-cli

Contributions

If you'd like to contribute to the codebase, we welcome issues and pull requests! For larger code changes, we always encourage discussion in issues first.

Citation & contact

SWE-agent is an academic project started at Princeton University by John Yang*, Carlos E. Jimenez*, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. Contact person: John Yang, Carlos E. Jimenez, and Kilian Lieret (Email: johnby@stanford.edu, carlosej@cs.princeton.edu, kl5675@princeton.edu).

If you found this work helpful, please consider citing it using the following:

SWE-agent citation
@inproceedings{yang2024sweagent,
  title={{SWE}-agent: Agent-Computer Interfaces Enable Automated Software Engineering},
  author={John Yang and Carlos E Jimenez and Alexander Wettig and Kilian Lieret and Shunyu Yao and Karthik R Narasimhan and Ofir Press},
  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
  year={2024},
  url={https://arxiv.org/abs/2405.15793}
}

If you used the summarizer, interactive commands or the offensive cybersecurity capabilities in SWE-agent, please also consider citing:

EnIGMA citation
@misc{abramovich2024enigmaenhancedinteractivegenerative,
      title={EnIGMA: Enhanced Interactive Generative Model Agent for CTF Challenges},
      author={Talor Abramovich and Meet Udeshi and Minghao Shao and Kilian Lieret and Haoran Xi and Kimberly Milner and Sofija Jancheska and John Yang and Carlos E. Jimenez and Farshad Khorrami and Prashanth Krishnamurthy and Brendan Dolan-Gavitt and Muhammad Shafique and Karthik Narasimhan and Ramesh Karri and Ofir Press},
      year={2024},
      eprint={2409.16165},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2409.16165},
}

🪪 License

MIT. Check LICENSE.

Pytest build-docs codecov pre-commit.ci status Markdown links

RELATED

同じカテゴリの他のツール