# DefaultAgent !!! note "DefaultAgent class" - [Read on GitHub](https://github.com/swe-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py) ??? note "Full source code" ```python --8<-- "src/minisweagent/agents/default.py" ``` !!! tip "Understanding the control flow" Check out the [control flow guide](../../advanced/control_flow.md) for a visual explanation of the agent's control flow following this picture: