-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
zh providers agent runners deerflow
github-actions[bot] edited this page Apr 13, 2026
·
2 revisions
在 v4.19.2 及之后,AstrBot 支持接入 DeerFlow Agent Runner。
当前适配面向 DeerFlow 2.0 main 分支。DeerFlow 官方已将原始 Deep Research 框架迁移到 main-1.x 分支持续维护,因此如果你使用的是 2.0,请以 main 分支文档和后端 API 为准。
如果你还没有部署 DeerFlow,请先参考 DeerFlow 官方文档完成安装和启动:
请确认 DeerFlow 已正常启动,并且 AstrBot 可以访问 DeerFlow 的网关地址。默认情况下,DeerFlow 网关地址为 http://127.0.0.1:2026。
Tip
-
API Base URL必须以http://或https://开头。 - 如果 AstrBot 与 DeerFlow 运行在不同容器或主机上,请将
127.0.0.1替换为 DeerFlow 实际可访问的内网地址、主机名或域名。
在 WebUI 中,点击「模型提供商」->「新增提供商」,选择「Agent 执行器」,选择「DeerFlow」,进入 DeerFlow 的配置页面。
填写以下配置项:
-
API Base URL:DeerFlow API 网关地址,默认为http://127.0.0.1:2026 -
DeerFlow API Key:可选。若你的 DeerFlow 网关使用 Bearer 鉴权,可在此填写 -
Authorization Header:可选。自定义 Authorization 请求头,优先级高于DeerFlow API Key -
Assistant ID:对应 DeerFlow 2.0 LangGraph 的assistant_id,默认为lead_agent -
模型名称覆盖:可选。覆盖 DeerFlow 默认模型 -
启用思考模式:是否启用 DeerFlow 的思考模式 -
启用计划模式:对应 DeerFlow 2.0 运行时config.configurable.is_plan_mode -
启用子智能体:对应 DeerFlow 2.0 运行时config.configurable.subagent_enabled -
子智能体最大并发数:对应 DeerFlow 2.0 运行时config.configurable.max_concurrent_subagents,仅在启用子智能体时生效,默认3 -
递归深度上限:对应 LangGraph 的recursion_limit,默认1000
填写完成后点击「保存」。
Tip
- 如果 DeerFlow 侧已经配置了默认模型,可以将
模型名称覆盖留空。 - 只有在 DeerFlow 侧已经启用了相应能力时,才建议开启
计划模式或子智能体相关选项。 - AstrBot 会同时发送 DeerFlow 2.0 推荐的
config.configurable运行时参数,并保留兼容字段,便于对接上游近期版本。
进入左边栏配置页面,点击「Agent 执行方式」,选择「DeerFlow」,然后在下方出现的新的配置项中选择你刚刚创建的 DeerFlow Agent 执行器提供商 ID,点击右下角「保存」,即可完成配置。
如果请求没有正常通过 DeerFlow 执行,请优先检查以下内容:
- DeerFlow 服务是否已经正常启动
-
API Base URL是否能从 AstrBot 所在环境访问 - 鉴权配置是否填写正确
-
Assistant ID是否与 DeerFlow 中实际可用的 assistant 一致 - 如果通过
/reset、/new、/del重置 DeerFlow 会话,AstrBot 会尝试同步清理 DeerFlow 远端 thread;若 DeerFlow 网关不可达,则只会清理 AstrBot 本地会话标识
- 首页
- 文档入口
- Top Level
- community events
- deploy
- dev
- others
- platform
- 接入 OneBot v11 协议实现
- 接入钉钉 DingTalk
- 接入 Discord
- 接入 Kook
- 接入飞书
- 接入 LINE
- 接入 Matrix
- 接入 Mattermost
- 接入 Misskey 平台
- 接入 QQ 官方机器人平台
- 通过 QQ官方机器人 接入 QQ (Webhook)
- 通过 QQ官方机器人 接入 QQ (Websockets)
- 接入 Satori 协议
- 接入 server-satori (基于 Koishi)
- 接入 Slack
- 接入消息平台
- 接入 Telegram
- 接入 VoceChat
- AstrBot 接入企业微信
- 接入企业微信智能机器人平台
- AstrBot 接入微信公众平台
- 接入个人微信
- providers
- use
- Home
- Docs Entry
- Top Level
- config
- deploy
- Deploy AstrBot on 1Panel
- Deploy AstrBot on BT Panel
- Deploy AstrBot on CasaOS
- Deploy AstrBot from Source Code
- Community-Provided Deployment Methods
- Deploy via Compshare
- Deploy with AstrBot Desktop Client
- Deploy AstrBot with Docker
- Deploy AstrBot with Kubernetes
- Deploy AstrBot with AstrBot Launcher
- Other Deployments
- Package Manager Deployment (uv)
- Installation via System Package Manager
- Preface
- dev
- AstrBot Configuration File
- AstrBot HTTP API
- Developing a Platform Adapter
- plugin
- AI
- Text to Image
- Handling Message Events
- Plugin Configuration
- Plugin Internationalization
- Plugin Pages
- Sending Messages
- Session Control
- Minimal Example
- Plugin Storage
- AstrBot Plugin Development Guide 🌠
- Publishing Plugins to the Plugin Marketplace
- ospp
- others
- platform
- Connect OneBot v11 Protocol Implementations
- Connect to DingTalk
- Connecting to Discord
- Connect to KOOK
- Connecting to Lark
- Connecting to LINE
- Connecting to Matrix
- Connecting to Mattermost
- Connecting to Misskey Platform
- Connect QQ Official Bot
- Connect QQ via QQ Official Bot (Webhook)
- Connect QQ via QQ Official Bot (Websockets)
- Connect to Satori Protocol
- Connect server-satori (Koishi)
- Connecting to Slack
- Messaging Platforms
- Connecting to Telegram
- Connect to VoceChat
- Connect AstrBot to WeCom
- Connect to WeCom AI Bot Platform
- Connect AstrBot to WeChat Official Account Platform
- Connect Personal WeChat
- providers
- Connect 302.AI
- Agent Runners
- Built-in Agent Runner
- Connect to Coze
- Connect to Alibaba Cloud Bailian Application
- Connect to DeerFlow
- Connect to Dify
- Connect AIHubMix
- coze
- dashscope
- dify
- 大语言模型提供商
- NewAPI
- Connect PPIO Cloud
- Connect LM Studio to Use DeepSeek-R1 and Other Models
- Integrating Ollama
- Connecting to SiliconFlow
- Connecting Model Services
- Connecting to TokenPony
- use
- Agent Runner
- Agent Sandbox Environment ⛵️
- astrbot sandbox
- Docker-based Code Interpreter
- Built-in Commands
- Computer Use
- Context Compression
- Custom Rules
- Function Calling
- AstrBot Knowledge Base
- MCP
- AstrBot Star
- Proactive Capabilities
- Anthropic Skills
- Agent Handoff and SubAgent
- Unified Webhook Mode
- Web Search
- WebUI