Code structure and reference
This section is in development
Some submodules are missing. We also do not strive for completeness, but provide this as an easy entry point for people who want to start reading the code. Also note that SWE-agent is still developed very actively, so the python implementation details are still changing. See the changelog for more information.
SWE-agent architecture
Please first read the architecture page for an overview of SWE-agent.
The core:
- The
sweagent/agent/
submodule implements the agent. - The
sweagent/environment/
submodule handles the communication with the docker container where we execute code.
More subfolders
- See the
scripts/
folder for other useful scripts and details. - See the
config/
folder for details about how you can define your own configuration! - See the
trajectories/
folder for details about the output ofrun.py
.