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]
Merge v1.0.0 branch
Kilian Lieretfe3773196f79
diff --cc mkdocs.ymlindex 1db9f043,cdc59d49..a35b17a3--- a/mkdocs.yml+++ b/mkdocs.yml@@@ -48,52 -52,63 +53,63 @@@ markdown_extensionsemoji_index: !!python/name:material.extensions.emoji.twemojiemoji_generator: !!python/name:material.extensions.emoji.to_svgnav:- - Home: index.md- - Project Overview:- - "background/index.md"- - "Agent-Computer Interface": "background/aci.md"- - "Interactive Agent Tools": "background/iat.md"- - "Architecture": "background/architecture.md"- - Installation:- - "installation/index.md"- - "Use in-browser": "installation/codespaces.md"- - "Install from source": "installation/source.md"- - "Run with docker": "installation/docker.md"- - "API keys": "installation/keys.md"- - "Installation tips": "installation/tips.md"- - "Changelog": "installation/changelog.md"- - Usage:+ - Getting Started:+ - index.md+ - "Installation":+ - "installation/index.md"+ - "From source": "installation/source.md"+ - "In browser": "installation/codespaces.md"+ - "Models and keys": "installation/keys.md"+ - "Troubleshooting": "installation/tips.md"+ - "Tutorials":+ - "Hello world": "usage/hello_world.md"+ - "Command line basics": "usage/cl_tutorial.md"+ - "Solving coding challenges": "usage/coding_challenges.md"+ - "Trajectory inspector": "usage/inspector.md"+ - "Batch mode": "usage/batch_mode.md"+ - "Benchmarking": "usage/benchmarking.md"+ - "FAQ": "faq.md"+ - User Guides:- "usage/index.md"- - "Command line usage": "usage/cl_tutorial.md"- - "EnIGMA usage": "usage/enigma.md"- - "Solving coding challenges": "usage/coding_challenges.md"- - "Using the web UI": "usage/web_ui.md"- - "Trajectories": "usage/trajectories.md"- - "Trajectory inspector": "usage/inspector.md"- - "FAQ": "usage/usage_faq.md"- - "Benchmarking": "usage/benchmarking.md"- - Configuration:- - "Config files": "config/config.md"- - "Command definitions": "config/commands.md"- - "Demonstrations": "config/demonstrations.md"- - "Environment variables": "config/env.md"- - "Docker images": "config/docker.md"- - "Summarizers": "config/summarizers.md"- - Development:- - "Contribution guide": "dev/contribute.md"- - "Formatting conflicts": "dev/formatting_conflicts.md"- - Reference:+ - Project overview:+ - "index": "background/index.md"+ - "Architecture": "background/architecture.md"+ - "Agent tools": "background/aci.md"+ # - "Interactive agent tools": "background/iat.md"+ - "Output files": "usage/trajectories.md"+ - Configuration:+ - "index": "config/index.md"+ - "Config files": "config/config.md"+ - "Templates": "config/templates.md"+ - "Demonstrations": "config/demonstrations.md"+ - Development:+ - "Contribution guide": "dev/contribute.md"+ - "Formatting conflicts": "dev/formatting_conflicts.md"+ - "Changelog": "dev/changelog.md"+ - API Reference:- "reference/index.md"- - "Agent": "reference/agent.md"- - "Models": "reference/models.md"- - "Environment": "reference/env.md"- - "Environment utils": "reference/env_utils.md"- - "FAQ": "faq.md"+ - Run config:+ - "Run single": "reference/run_single_config.md"+ - "Run batch": "reference/run_batch_config.md"+ - Instance config:+ - "Problem statements": "reference/problem_statements.md"+ - "Repository": "reference/repo.md"+ - "Batch instances": "reference/batch_instances.md"+ - Agent config:+ - "Agent config": "reference/agent_config.md"+ - "Model config": "reference/model_config.md"+ - "Templates": "reference/template_config.md"+ - "History processors": "reference/history_processor_config.md"+ - "Environment config": "reference/env_config.md"+ - Classes:+ - "Agent class": "reference/agent.md"+ - "Environment class": "reference/env.md"+ - "Exceptions": "reference/exceptions.md"plugins:- - glightbox- - search- - include-markdown- - mkdocstrings:+ - glightbox+ - search+ - include-markdown+ - mkdocstrings:default_handler: pythonhandlers:python:diff --cc pyproject.tomlindex 8750c0f7,7d45297c..071047e6--- a/pyproject.toml+++ b/pyproject.toml@@@ -36,9 -37,32 +37,33 @@@ classifiers ="Programming Language :: Python :: 3 :: Only",]+ dependencies = [+ "datasets",+ "numpy",+ "pandas",+ "rich",+ "ruamel.yaml",+ "tenacity",+ "unidiff",+ "simple-parsing",+ "rich-argparse",+ "flask",+ "flask-cors",+ "flask-socketio",+ "pydantic",+ "python-dotenv",+ "pydantic_settings",+ "litellm",+ "GitPython",+ "ghapi",+ ]++ [project.scripts]+ sweagent = "sweagent.run.run:main"+[project.optional-dependencies]dev = [+ "mike","mkdocs-material","mkdocs-glightbox","mkdocs-include-markdown-plugin",