← Back to Skills Marketplace
bevanding

Deerflow

by bevanding · GitHub ↗ · v1.1.3 · MIT-0
linuxdarwin ✓ Security Clean
264
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install deerflow
Description
Deep research and async task execution via DeerFlow LangGraph engine. Submit multi-step research tasks through a lightweight API-only Docker deployment (no f...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptorequires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install deerflow
  3. After installation, invoke the skill by name or use /deerflow
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug deerflow
Version 1.1.3
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 264 downloads so far.

How do I install Deerflow?

Run "/install deerflow" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Deerflow free?

Yes, Deerflow is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Deerflow support?

Deerflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin).

Who created Deerflow?

It is built and maintained by bevanding (@bevanding); the current version is v1.1.3.

💬 Comments