# 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. ::: minisweagent.agents.default.AgentConfig ::: minisweagent.agents.default.DefaultAgent ::: minisweagent.exceptions.InterruptAgentFlow ::: minisweagent.exceptions.Submitted ::: minisweagent.exceptions.LimitsExceeded ::: minisweagent.exceptions.FormatError ::: minisweagent.exceptions.UserInterruption {% include-markdown "../../_footer.md" %}