Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

docs: add DeerFlow agent runner documentation#165

Merged
zouyonghe merged 5 commits intoAstrBotDevs:v4from
zouyonghe:docs/deerflow-agent-runner
Mar 8, 2026
Merged

docs: add DeerFlow agent runner documentation#165
zouyonghe merged 5 commits intoAstrBotDevs:v4from
zouyonghe:docs/deerflow-agent-runner

Conversation

@zouyonghe
Copy link
Copy Markdown
Member

@zouyonghe zouyonghe commented Mar 8, 2026

Summary

  • add bilingual DeerFlow Agent Runner setup guides for AstrBot and document the supported DeerFlow configuration fields
  • wire DeerFlow into the Agent Runner navigation and overview pages in both Chinese and English
  • update Agent Runner usage and introduction copy so the supported runner list stays aligned with current AstrBot behavior

Verification

  • npm run docs:build

Summary by Sourcery

在英文和中文指南及导航中,将 DeerFlow 记录为受支持的 Agent Runner 提供商。

文档:

  • 添加用于在 AstrBot 中集成 DeerFlow 作为 Agent Runner 的双语安装和配置指南。
  • 更新现有的 Agent Runner 使用和概览文档,将 DeerFlow 与其他第三方提供商一起纳入其中。
  • 将 DeerFlow 链接进 Agent Runner 提供商列表、站点导航菜单和 AstrBot 的高层功能描述中,使其作为一等公民集成呈现。
Original summary in English

Summary by Sourcery

Document DeerFlow as a supported Agent Runner provider in both English and Chinese guides and navigation.

Documentation:

  • Add bilingual setup and configuration guides for integrating DeerFlow as an Agent Runner in AstrBot.
  • Update existing Agent Runner usage and overview docs to include DeerFlow alongside other third-party providers.
  • Link DeerFlow into the Agent Runner provider lists, site navigation menus, and high-level AstrBot feature descriptions so it appears as a first-class integration.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances AstrBot's documentation by introducing detailed guides for integrating the DeerFlow Agent Runner. It ensures that users have clear instructions for deployment, configuration, and troubleshooting, while also updating existing sections to reflect the expanded list of supported agent runners. The changes are applied consistently across both English and Chinese versions of the documentation.

Highlights

  • DeerFlow Agent Runner Documentation: Added comprehensive bilingual documentation for setting up and configuring the DeerFlow Agent Runner within AstrBot.
  • Navigation and Overview Integration: Integrated DeerFlow into the Agent Runner navigation and overview pages for both English and Chinese documentation.
  • Updated Agent Runner References: Modified existing Agent Runner usage and introduction texts to consistently include DeerFlow as a supported third-party runner.
Changelog
  • .gitignore
    • Fixed newline at the end of the file.
  • .vitepress/config.mjs
    • Added 'DeerFlow' to the Agent Runner sidebar navigation for both English and Chinese documentation.
  • en/providers/agent-runners.md
    • Updated the introductory text to include DeerFlow in the list of supported third-party Agent Runner services.
    • Added a link to the new DeerFlow documentation page.
  • en/providers/agent-runners/deerflow.md
    • Added a new documentation page detailing how to connect to DeerFlow, including deployment preparation, configuration fields, and common checks.
  • en/use/agent-runner.md
    • Updated the introduction to mention DeerFlow support as an Agent Runner provider.
    • Revised the list of supported Agent Runners to include DeerFlow.
    • Modified usage examples to include DeerFlow alongside other platforms.
  • en/what-is-astrbot.md
    • Updated the 'AI Provider Integration' section to list DeerFlow as a supported third-party Agent Runner service.
  • zh/providers/agent-runners.md
    • Updated the introductory text to include DeerFlow in the list of supported third-party Agent Runner services (Chinese).
    • Added a link to the new DeerFlow documentation page (Chinese).
  • zh/providers/agent-runners/deerflow.md
    • Added a new documentation page detailing how to connect to DeerFlow, including deployment preparation, configuration fields, and common checks (Chinese).
  • zh/use/agent-runner.md
    • Updated the introduction to mention DeerFlow support as an Agent Runner provider (Chinese).
    • Revised the list of supported Agent Runners to include DeerFlow (Chinese).
    • Modified usage examples to include DeerFlow alongside other platforms (Chinese).
  • zh/what-is-astrbot.md
    • Updated the 'AI 模型提供商接入' section to list DeerFlow as a supported third-party Agent Runner service (Chinese).
Activity
  • The author verified the changes by running 'npm run docs:build'.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我在这里给出了一些整体反馈:

  • zh/providers/agent-runners.md 中,DeerFlow 在介绍性句子里被提到,但没有添加到 Agent Runner 服务商的项目符号列表中;建议在列表中增加一个 DeerFlow 条目(与英文页面保持一致),这样用户就可以从中文的服务商列表中导航到新的 DeerFlow 指南。
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `zh/providers/agent-runners.md`, DeerFlow is mentioned in the introductory sentence but not added to the bullet list of Agent Runner providers; consider adding a `DeerFlow` entry (mirroring the English page) so users can navigate to the new DeerFlow guide from the Chinese provider list.

Sourcery 对开源项目免费使用——如果你觉得我们的评审对你有帮助,欢迎帮忙分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续评审。
Original comment in English

Hey - I've left some high level feedback:

  • In zh/providers/agent-runners.md, DeerFlow is mentioned in the introductory sentence but not added to the bullet list of Agent Runner providers; consider adding a DeerFlow entry (mirroring the English page) so users can navigate to the new DeerFlow guide from the Chinese provider list.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `zh/providers/agent-runners.md`, DeerFlow is mentioned in the introductory sentence but not added to the bullet list of Agent Runner providers; consider adding a `DeerFlow` entry (mirroring the English page) so users can navigate to the new DeerFlow guide from the Chinese provider list.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive support for DeerFlow as a new Agent Runner in AstrBot. The changes include adding new documentation pages in both English and Chinese (en/providers/agent-runners/deerflow.md and zh/providers/agent-runners/deerflow.md) that detail the setup, configuration options (such as API Base URL, API Key, Assistant ID, model override, thinking mode, plan mode, subagent settings, and recursion limit), and troubleshooting steps for integrating DeerFlow. Additionally, existing documentation files and navigation configurations (.vitepress/config.mjs, en/providers/agent-runners.md, en/use/agent-runner.md, en/what-is-astrbot.md, and their Chinese counterparts) have been updated to reflect DeerFlow's inclusion as a supported third-party Agent Runner. A minor formatting change was also made to the .gitignore file. Review comments highlight the need to clarify the description for "thinking mode" in the DeerFlow configuration documentation, both in English and Chinese, by explaining its function or effect, and suggest improving the readability and consistency of technical terms and default values in the Chinese documentation by wrapping them in backticks.

- `Authorization Header`: Optional. Custom Authorization header value. This takes precedence over `DeerFlow API Key`
- `Assistant ID`: Maps to LangGraph `assistant_id`. Default: `lead_agent`
- `Model name override`: Optional. Overrides the default model configured in DeerFlow
- `Enable thinking mode`: Whether to enable DeerFlow thinking mode
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for Enable thinking mode is a bit circular ("Whether to enable DeerFlow thinking mode"). Could you add a brief explanation of what "thinking mode" does in DeerFlow, or what effect enabling it has? This would help users understand when they should enable this option.

Comment on lines +28 to +34
- `Assistant ID`:对应 LangGraph 的 `assistant_id`,默认为 `lead_agent`
- `模型名称覆盖`:可选。覆盖 DeerFlow 默认模型
- `启用思考模式`:是否启用 DeerFlow 的思考模式
- `启用计划模式`:对应 DeerFlow 的 `is_plan_mode`
- `启用子智能体`:对应 DeerFlow 的 `subagent_enabled`
- `子智能体最大并发数`:对应 `max_concurrent_subagents`,仅在启用子智能体时生效,默认 `3`
- `递归深度上限`:对应 LangGraph 的 `recursion_limit`,默认 `1000`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

为了提高可读性和一致性,建议将技术术语(如 API 属性和字符串默认值)用反引号包裹起来。此外,“默认”的用法也应保持一致。

Suggested change
- `Assistant ID`:对应 LangGraph 的 `assistant_id`,默认为 `lead_agent`
- `模型名称覆盖`:可选。覆盖 DeerFlow 默认模型
- `启用思考模式`:是否启用 DeerFlow 的思考模式
- `启用计划模式`:对应 DeerFlow 的 `is_plan_mode`
- `启用子智能体`:对应 DeerFlow 的 `subagent_enabled`
- `子智能体最大并发数`:对应 `max_concurrent_subagents`,仅在启用子智能体时生效,默认 `3`
- `递归深度上限`:对应 LangGraph 的 `recursion_limit`默认 `1000`
- `Assistant ID`:对应 LangGraph 的 `assistant_id`,默认为 `lead_agent`
- `模型名称覆盖`:可选。覆盖 DeerFlow 默认模型
- `启用思考模式`:是否启用 DeerFlow 的思考模式
- `启用计划模式`:对应 DeerFlow 的 `is_plan_mode`
- `启用子智能体`:对应 DeerFlow 的 `subagent_enabled`
- `子智能体最大并发数`:对应 `max_concurrent_subagents`,仅在启用子智能体时生效,默认为 `3`
- `递归深度上限`:对应 LangGraph 的 `recursion_limit`默认为 `1000`

- `Authorization Header`:可选。自定义 Authorization 请求头,优先级高于 `DeerFlow API Key`
- `Assistant ID`:对应 LangGraph 的 `assistant_id`,默认为 `lead_agent`
- `模型名称覆盖`:可选。覆盖 DeerFlow 默认模型
- `启用思考模式`:是否启用 DeerFlow 的思考模式
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

启用思考模式 的描述有些循环(“是否启用 DeerFlow 的思考模式”)。能否简要解释一下“思考模式”在 DeerFlow 中的作用,或者启用它会有什么效果?这将帮助用户理解何时应该启用此选项。

@zouyonghe zouyonghe merged commit 166deaa into AstrBotDevs:v4 Mar 8, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant