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]
Doc: Add news banner and use enigma color scheme
Kilian Lieret50e67d32b1b3
diff --git a/docs/assets/custom.css b/docs/assets/custom.cssnew file mode 100644index 00000000..cc93d3df--- /dev/null+++ b/docs/assets/custom.css@@ -0,0 +1,11 @@+.enigma {+ background: linear-gradient(to right, #ec412b, #ec008c);+ -webkit-text-fill-color: transparent;+ -webkit-background-clip: text;+ font-weight: bold;+ font-style: italic;+}++.clickable-banner {+ color: white !important;+}diff --git a/docs/background/iat.md b/docs/background/iat.mdindex a42f0828..c6e56f37 100644--- a/docs/background/iat.md+++ b/docs/background/iat.md@@ -1,6 +1,6 @@# Interactive Agent Tools (IATs)-Interactive Agent Tools were first developed as part of our [EnIGMA](../background#enigma) project, but are compatible with all uses of SWE-agent.+Interactive Agent Tools were first developed as part of our <span class="enigma">[EnIGMA](../../background#enigma)</span> project, but are compatible with all uses of SWE-agent.This page focuses on their usage for capture the flag (CTF) challenges.Tools useful for debugging (`gdb`, `radare2`), remote server interaction (`netcat`, `socat`) and penetration testing (`metasploit`) are widely used during CTF problem-solving and by cybersecurity experts. These tools are all interactive, i.e., they wait for user input, evaluate it, and print the results (read-eval-print loop, REPL).diff --git a/docs/background/index.md b/docs/background/index.mdindex ffd197fb..5ae7b1f7 100644--- a/docs/background/index.md+++ b/docs/background/index.md@@ -33,9 +33,9 @@ If you found this work helpful, please consider using the following citation:}```-## EnIGMA <a name="enigma"></a>+## <span class="enigma">EnIGMA</span> <a name="enigma"></a>-EnIGMA (Enhanced Interactive Generative Model Agent) is an LM agent built on top of SWE-agent for solving Capture The Flag (CTF) cybersecurity challenges.+<span class="enigma">EnIGMA</span> (Enhanced Interactive Generative Model Agent) is an LM agent built on top of SWE-agent for solving Capture The Flag (CTF) cybersecurity challenges.The challenges range in various categories: cryptography, reverse-engineering, forensics, binary exploitation, web security and miscellaneous.diff --git a/docs/index.md b/docs/index.mdindex c5147971..10206081 100644--- a/docs/index.md+++ b/docs/index.md@@ -1,11 +1,11 @@-# SWE-agent: Turn LMs into SWE agents!+# Turn LMs into SWE agents (and more)!SWE-agent turns LMs (e.g. GPT-4) into agents that can[fix issues in real GitHub repositories](background#swe-agent),[solve coding challenges](usage/coding_challenges.md), and-[solve capture the flag challenges (EnIGMA mode)](background#enigma).+[solve capture the flag challenges](background#enigma) (<span class="enigma">EnIGMA</span> mode).<div class="grid cards" markdown>@@ -22,7 +22,7 @@ SWE-agent turns LMs (e.g. GPT-4) into agents that can---- EnIGMA agent turns SWE-agent to a cybersecurity expert that can solve Capture The Flag (CTF) challenges.+ <span class="enigma">EnIGMA</span> turns SWE-agent to a cybersecurity expert that can solve Capture The Flag (CTF) challenges.[:octicons-arrow-right-24: Learn more](background/index.md#enigma)diff --git a/docs/overrides/main.html b/docs/overrides/main.htmlindex d1f1c223..0cb8442d 100644--- a/docs/overrides/main.html+++ b/docs/overrides/main.html@@ -1,7 +1,9 @@{% extends "base.html" %}-{#{% block announce %}<!-- This link won't work in local preview -->-Forked/branched off of SWE-agent? Please use our latest formatting to resolve merge conflicts. See <a href="SWE-agent/dev/formatting_conflicts">here</a> for details.+<a href="SWE-agent/background#enigma" class="clickable-banner">+ <div>+ News: <span class="enigma">EniGMA</span> uses SWE-agent to solve cybersecurity and CTF challanges to achieve <span class="enigma">3.5x SOTA!</span>+ </div>+</a>{% endblock %}-#}diff --git a/mkdocs.yml b/mkdocs.ymlindex 6a44124e..6fa643dd 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -99,3 +99,5 @@ plugins:repo_url: https://github.com/princeton-nlp/SWE-agentrepo_name: princeton-nlp/SWE-agentedit_uri: edit/main/docs/+extra_css:+ - assets/custom.css\ No newline at end of file