> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Execution Endpoint

In Xpert Agents, the `END` node is a special node used to represent the termination point of a graph. When the execution flow reaches the `END` node, it signifies that the execution of the graph is complete, and the process will stop.

When defining the orchestration structure of an Xpert agent, you can use an `END` agent or tool node to explicitly specify the end of the process.

![End agent](https://mintcdn.com/xpertai/CUk-Ab9Rv7YWeJmd/public/img/ai/terminal-agent.png?fit=max\&auto=format\&n=CUk-Ab9Rv7YWeJmd\&q=85\&s=86c52435568648e692c67f736b17ec99)

![End tool](https://mintcdn.com/xpertai/CUk-Ab9Rv7YWeJmd/public/img/ai/terminal-tool.png?fit=max\&auto=format\&n=CUk-Ab9Rv7YWeJmd\&q=85\&s=1f6543cd8b58a47fb1143a69ca868d28)

> [!TIP]
>
> It is important to ensure that the logic of the graph is correctly designed to avoid unexpected loops or continued execution after reaching the `END` node.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.