← 返回 Skills 市场
bevanding

Deerflow

作者 bevanding · GitHub ↗ · v1.1.3 · MIT-0
linuxdarwin ✓ 安全检测通过
264
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install deerflow
功能描述
Deep research and async task execution via DeerFlow LangGraph engine. Submit multi-step research tasks through a lightweight API-only Docker deployment (no f...
使用说明 (SKILL.md)

DeerFlow Integration

What This Skill Does

DeerFlow is a LangGraph-based deep research engine that chains web search, reasoning, and synthesis into structured reports. This skill provides OpenClaw integration for submitting and monitoring research tasks against a running DeerFlow API.

Runtime contract: The skill itself runs entirely locally (python3 only) and communicates with DeerFlow over HTTP. It does not install or run any external Docker images — those are operated independently by the user as the DeerFlow host.

This skill does NOT install DeerFlow or manage its services. It assumes a DeerFlow instance is already running and reachable.

Prerequisites

⚠️ External dependency — your DeerFlow host. DeerFlow itself runs as a separate service on your infrastructure (or a VPS). Its Docker images are maintained by the bytedance/deer-flow project. Review their security posture before deployment.

Required at runtime

Binary Purpose Notes
python3 Run submit_task.py / check_status.py Declared in skill metadata

Required only for initial DeerFlow deployment (one-time setup)

Binary Purpose Notes
git Clone the DeerFlow repository Not needed once DeerFlow is deployed
docker Run DeerFlow services Not needed once DeerFlow is running

If DeerFlow is already running somewhere (yours, a colleague's, or a cloud instance), skip straight to Quick Start — no git/docker needed.

Deploying DeerFlow (if you don't have one)

🔴 Security note: The following steps pull Docker images and run services from the bytedance/deer-flow GitHub repository. You are responsible for reviewing those images and configurations before running them in your environment.

1. Clone and configure

git clone https://github.com/bytedance/deer-flow.git
cd deer-flow
cp .env.example .env

Edit .env with your model API keys:

# Required: at least one LLM provider
OPENAI_API_KEY=sk-...
# Or MiniMax
MINIMAX_API_KEY=...
MINIMAX_API_BASE=https://api.minimax.com

# Optional: Tavily for web search
TAVILY_API_KEY=tvly-...

2. Start API-only services

# No nginx, no frontend — just gateway + langgraph
docker compose up -d deer-flow-gateway deer-flow-langgraph

Verify:

curl http://localhost:2024/openapi.json | head   # should return OpenAPI spec
curl http://localhost:8001/health               # should return 200

3. Test with a manual task

curl -X POST http://localhost:2024/threads \
  -H "Content-Type: application/json" \
  -d '{}'
# Returns: { "thread_id": "..." }

Then submit a task:

curl -X POST http://localhost:2024/threads/{thread_id}/runs \
  -H "Content-Type: application/json" \
  -d '{
    "assistant_id": "lead_agent",
    "input": {
      "messages": [{
        "type": "human",
        "content": [{ "type": "text", "text": "Your research query here" }]
      }]
    },
    "config": {
      "recursion_limit": 200,
      "configurable": {
        "model_name": "minimax-m2.7",
        "thinking_enabled": true,
        "is_plan_mode": false,
        "subagent_enabled": false
      }
    }
  }'
# Returns: { "run_id": "..." }

Poll for completion:

curl http://localhost:2024/threads/{thread_id}/runs/{run_id}

When status = success, fetch results:

curl http://localhost:2024/threads/{thread_id}/history

Quick Start

/deerflow \x3Cresearch topic>

Example: /deerflow Analyze the Chinese AI companion market

The skill returns a thread_id and run_id for status tracking.

Architecture

This skill targets the minimal API-only DeerFlow deployment. Only two services are relevant to this skill:

Service Port Role
deer-flow-gateway 8001 Business logic & channel glue
deer-flow-langgraph 2024 Core agent orchestration (the only endpoint this skill calls)

Model Configuration

Set model_name in the configurable block:

Model Config Value Notes
MiniMax M2.7 minimax-m2.7 Default, reasoning-capable
MiniMax M2.5 minimax-m2.5 Lighter alternative
Kimi kimi Requires DeerFlow .env to have Kimi credentials

Set thinking_enabled: true to enable extended chain-of-thought reasoning (recommended for research tasks).

Skill Scripts

This skill includes two helper scripts in scripts/:

submit_task.py

cd ~/.openclaw/workspace/skills/deerflow
python3 scripts/submit_task.py "Your research topic"
# Returns thread_id and run_id

check_status.py

python3 scripts/check_status.py \x3Cthread_id> \x3Crun_id>
# Polls until completion, then prints the full report

OpenClaw Tool Injection

The skill is auto-injected into OpenClaw as the deerflow tool. OpenClaw agents call it directly when the user triggers the keyword.

Resource Comparison

Deployment Services RAM Est. Use Case
API-only (this skill) gateway + langgraph ~2 GB Self-hosted agents, VPS
Full stack + nginx + frontend ~4+ GB Team shared UI

Troubleshooting

LangGraph returns 404

Verify the container is healthy:

docker ps | grep langgraph
curl http://localhost:2024/openapi.json

Task hangs or returns "error" status

Check LangGraph logs:

docker logs deer-flow-langgraph --tail 50

Model API errors

Ensure credentials in DeerFlow's .env are valid and the model_name in your request matches a configured provider.

File Structure

skills/deerflow/
├── SKILL.md           # This file
└── scripts/
    ├── submit_task.py  # Submit a research task
    └── check_status.py # Poll and retrieve results
安全使用建议
This skill appears to be a straightforward DeerFlow client. Before installing or using it: 1) Ensure you point DEERFLOW_URL / DEERFLOW_LANGGRAPH to a DeerFlow instance you control or trust; the skill will send HTTP requests to those endpoints. 2) If you intend to deploy DeerFlow yourself, review the bytedance/deer-flow images and .env usage (they will require model API keys) before running docker compose. 3) Note a minor naming inconsistency in configuration files (SKILL metadata and scripts use DEERFLOW_LANGGRAPH while config.yaml references DEERFLOW_LANGGRAPH_URL) — confirm which env var you set. 4) Do not provide unrelated cloud/secret credentials to this skill; it does not need them. If you need higher assurance, inspect the DeerFlow service images and run the service in isolated infrastructure before connecting this skill.
功能分析
Type: OpenClaw Skill Name: deerflow Version: 1.1.3 The deerflow skill is a legitimate integration for the DeerFlow research engine. It consists of two Python scripts (submit_task.py and check_status.py) that use standard libraries to interact with a user-configured API endpoint. The documentation in SKILL.md provides clear instructions for deployment and correctly identifies security responsibilities regarding external Docker dependencies. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
The skill is described as an API-only client for a DeerFlow service and the included scripts only make HTTP calls to DeerFlow endpoints. Declared binaries (python3; optional git/docker for one-time deployment) and environment variables correspond to that purpose.
Instruction Scope
SKILL.md includes optional instructions for cloning and running bytedance/deer-flow Docker images; this is outside the skill itself and is flagged as an explicit user responsibility. The runtime scripts only call configured HTTP endpoints and do not read unrelated files or system secrets.
Install Mechanism
There is no install spec (instruction-only skill with small helper scripts), so nothing is automatically downloaded or executed by the skill itself. Optional deployment steps in the documentation pull Docker images from the bytedance repo — expected for deploying DeerFlow but worth reviewing before running.
Credentials
Required env vars (DEERFLOW_URL, DEERFLOW_LANGGRAPH, DEERFLOW_ASSISTANT_ID, DEERFLOW_MODEL, DEERFLOW_RECURSION) are specific to targeting a DeerFlow instance and are justified by the skill. The SKILL.md does mention model API keys (OPENAI/MiniMax/Tavily) but those are for the DeerFlow deployment itself, not this client.
Persistence & Privilege
The skill does not request persistent 'always' inclusion, does not modify other skills, and contains no code that writes configuration outside its own workspace. Autonomous invocation is allowed (platform default) but not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install deerflow
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /deerflow 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.3
- Clarified that the skill does not install or manage DeerFlow services; it requires an already running DeerFlow API endpoint. - Added a new prerequisites section distinguishing required tools for runtime (python3) vs. initial DeerFlow deployment (git, docker). - Improved security and deployment warnings about running external Docker images from the bytedance/deer-flow project. - Refined documentation for quicker onboarding, especially for users who already have a DeerFlow host. - No changes to APIs or core functionality.
v1.1.2
- Version bump to 1.1.2. - Added license field (`mit-0`) to skill metadata. - Expanded `openclaw.requires.env` to list all supported environment variables for configuration: `DEERFLOW_URL`, `DEERFLOW_LANGGRAPH`, `DEERFLOW_ASSISTANT_ID`, `DEERFLOW_MODEL`, `DEERFLOW_RECURSION`. - No changes to scripts, usage, architecture, or functionality.
v1.1.1
- Updated the GitHub repository URL in setup instructions to use bytedance/deer-flow. - No functional changes to the skill code or APIs. - Documentation only update; deployment and usage remain the same.
v1.1.0
**Changelog for deerflow v1.1.0** - Major update: Supports minimal, API-only Docker deployment (no frontend, no nginx) for resource-constrained environments. - Updated documentation to focus on direct calls to LangGraph API (port 2024); Nginx and full frontend stack removed from required services. - Simplified setup instructions, troubleshooting, and file structure for API-only mode. - Clarified model configuration and API usage for submitting and tracking research tasks. - Minor updates to OpenClaw integration and metadata for improved clarity.
v1.0.1
Fix env var consistency, remove stale MINIMAX_API_KEY reference from config.yaml, rewrite SKILL.md entirely in English with accurate metadata
v1.0.0
Initial release: DeerFlow LangGraph integration for deep research tasks
元数据
Slug deerflow
版本 1.1.3
许可证 MIT-0
累计安装 1
当前安装数 0
历史版本数 6
常见问题

Deerflow 是什么?

Deep research and async task execution via DeerFlow LangGraph engine. Submit multi-step research tasks through a lightweight API-only Docker deployment (no f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 264 次。

如何安装 Deerflow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install deerflow」即可一键安装,无需额外配置。

Deerflow 是免费的吗?

是的,Deerflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Deerflow 支持哪些平台?

Deerflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin)。

谁开发了 Deerflow?

由 bevanding(@bevanding)开发并维护,当前版本 v1.1.3。

💬 留言讨论