File size: 859 Bytes
f201cf6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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:

    <div align="center">
        <img src="../../../assets/mini_control_flow.svg" alt="Agent control flow" style="max-width: 500px;" />
    </div>

::: minisweagent.agents.default.AgentConfig

::: minisweagent.agents.default.DefaultAgent

::: minisweagent.agents.default.NonTerminatingException

::: minisweagent.agents.default.TerminatingException

{% include-markdown "../../_footer.md" %}