> ## 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.

# 执行终点

在 Xpert Agents 中，`END` 节点是一个特殊的节点，用于表示图的终止点。当执行流程到达 `END` 节点时，表示图的执行已完成，流程将停止。

在定义 Xpert 智能体编排结构时，可以使用 `END` 的智能体或者工具节点来明确指定流程的结束。

![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]
>
> 需要注意的是，确保图的逻辑设计正确，以避免在到达 `END` 节点后出现意外的循环或继续执行的情况。


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