deer-flow
AGENTS.md83k starsChanged 5 months agoMITView on GitHub
This is the source of truth for repository agent guidance; CLAUDE.md imports it via @AGENTS.md. This monorepo orientation layer maps the repo. For module details, read its guide: - backend/AGENTS.md — backend depth: harness/app split, agent & middleware chain, sandbox, MCP, skills, memory, IM channels, persistence/migrations, config system, test layout. - frontend/AGENTS.md — frontend depth: Next.js App Router layout, thread/streaming data flow, code style, commands. DeerFlow is a LangGraph-based AI super-agent system with a full-stack architecture. The backend runs a…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about bytedance/deer-flow
- @sungkim.bsky.social“ByteDance's DeerFlow A framework for deep research, combining language models with tools like web search, …”Bluesky · May 11, 2025 · 17 likes
- @langchain.bsky.social“🔬 DeerFlow: Deep Research Framework An open-source framework for conducting systematic deep research …”Bluesky · May 12, 2025 · 8 likes
- A Hacker News story“Has Anyone Tried Deerflow?”Hacker News · Mar 27, 2026 · 4 points
- A Hacker News story“DeerFlow, a community-driven Deep Research framework”Hacker News · May 12, 2025 · 4 points
- @toolhunt.bsky.social“ByteDance выкатили deer-flow — открытый SuperAgent harness для долгосрочных задач, который сам кодит, …”Bluesky · Aug 19, 2026 · 3 likes
The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 79
Talked about on GitHub, Bluesky and Hacker News (79 times).
On GitHub · 50
- Jun 22, 2026feat(agents): add DeerFlow (bytedance/deer-flow) framework support — jaylfc/taOS2 reactions · 4 comments
- Feb 26, 2026[Add App]DeerFlow - 2.0 — beclab/apps2 reactions · 1 comment
- May 31, 2025更加炫酷的打字动画 — ant-design/x2 reactions · 1 comment
- Mar 7, 2026Feature: Automatic Session Title Generation — Lightweight LLM-Based Title After First Exchange (inspired by DeerFlow) — NousResearch/hermes-agent1 reaction · 5 comments
- Nov 26, 2025Explore integrating deer-flow into research features — XJTU-RL/Power-Planer1 reaction
45 more on GitHub
- May 12, 2025Request - Bytedance DeerFlow Integration — onyx-dot-app/onyx1 reaction · 2 comments
- Nov 18, 2026North+GLM wildcard experiment (epoch 21): When a tool output exceeds the observation budget, the agent should automatically revise its plan to insert a recall step that fetches the missing tail via read_offloaded, ensuring the full output can be retrieved without exceeding the budget. — DervinEvolve/AI-Agent0 reactions
- Nov 11, 2026Extra Fingerprints to add — SocksTheWolf/AgenticAlert0 reactions · 1 comment
- Nov 10, 2026fix(models): add opt-in merge of consecutive user messages (#6751) — wycocoyu/deer-flow0 reactions
- Nov 10, 2026fix(frontend): restore the draft and welcome state when a new session send fails (upstream #8039) — Zhong-fan/deer-flow0 reactions · 2 comments
- Nov 9, 2026fix(agents): count vLLM reasoning tokens in the summarization trigger (upstream #8074) — Zhong-fan/deer-flow0 reactions · 1 comment
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions · 2 comments
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 9, 2026fix(gateway): evict completed RunRecords in production (upstream #5009) — Zhong-fan/deer-flow0 reactions
- Nov 4, 2026agent-skills.github.bytedance.deer-flow: 2.1.0 → 2.2.0 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-plugins.github.bytedance.deer-flow: 2.1.0 → 2.2.0 — sudosubin/agents.nix0 reactions
- Oct 28, 2026fix(subagents): validate recovery before superseding source tasks — Aldenshile/deer-flow0 reactions
- Oct 26, 2026Add licensed skills, reusable materials, and source catalogues — EmbeddedLLM/nice-skills0 reactions
- Oct 26, 2026[Feature] Sub Agent 派生与 Agent 能力分档 — Code-MonkeyZhang/persona-agent0 reactions
- Oct 26, 2026[Refactor] Agent Core 拓扑重构以支撑能力分档与 Sub Agent — Code-MonkeyZhang/persona-agent0 reactions
- Oct 24, 2026fix(agent): enforce delegated skill scope and show saved progress — pyrelio88-afk/Selenyx0 reactions
- Oct 20, 2026Capability request: BoxLite sandbox (local micro-VM workspace backend) — pydantic/pydantic-ai0 reactions · 1 comment
- Oct 20, 2026Context runtime acceptance: accurate budgets, cancellation and durable task continuity — bei-shan/WodeAgent0 reactions
- Oct 19, 2026Framework drift review required — aporthq/aport-agent-guardrails0 reactions · 4 comments
- Oct 19, 2026fix(channels): acknowledge GitHub comments queued during a busy run — wannT-1/deer-flow0 reactions
- Oct 17, 2026fix(vikingbot): screen web search result URLs — volcengine/OpenViking0 reactions
- Oct 15, 2026fix(vikingbot): reconcile streaming token usage — volcengine/OpenViking0 reactions
- Oct 15, 2026sandbox: E2B cloud micro-VM provider and distributed ownership protocol — bei-shan/WodeAgent0 reactions
- Oct 15, 2026sandbox: session-scoped SandboxProvider API, BoxLite warm VM pool and file operations — bei-shan/WodeAgent0 reactions
- Oct 11, 2026Add DeerFlow and its optional Parallel Search MCP example — kyrolabs/awesome-langchain0 reactions
- Oct 10, 2026fix(bot): replay Gemini tool-call thought signatures — volcengine/OpenViking0 reactions
- Oct 7, 2026fix(parse): reject colliding ZIP member paths — volcengine/OpenViking0 reactions
- Oct 5, 2026fix(parse): handle mixed-case Markdown artifacts — volcengine/OpenViking0 reactions
- Oct 4, 2026fix(config): handle localhost case-insensitively — volcengine/OpenViking0 reactions
- Oct 4, 2026claude-code-plugins.github.bytedance.deer-flow: init at 2.1.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.bytedance.deer-flow: init at 2.1.0 — sudosubin/agents.nix0 reactions
- Sep 27, 2026fix: restrict redirect schemes and discard intermediate response bodies — chenhz01/adversarial-research-audit0 reactions · 1 comment
- Sep 20, 2026Add Runtime execution budgets — GK-studio-JP/ai-os-runtime0 reactions
- Sep 20, 2026Add bounded Context Capsule budget and provenance — GK-studio-JP/ai-os-context0 reactions
- Sep 20, 2026Port DeerFlow safety to Browser Worker relay — GK-studio-JP/ai-os-runtime-browser-worker0 reactions
- Sep 10, 2026feat(discovery): 週に一度、新しく出たツールの候補を集めて PR にする — konweb/nanteyomu0 reactions · 1 comment
- Sep 8, 2026fix(subagents): tear down dispatched child before batch retry — Zsanz3/deer-flow0 reactions · 2 comments
- Sep 3, 2026feat(wizard): add aimlapi.com as an LLM provider — aimlapi/deer-flow-aimlapi0 reactions
- Aug 31, 2026fix(lark): allow Windows hosts to prepare Linux sandbox CLI runtime — Zsanz3/deer-flow0 reactions · 3 comments
- Aug 24, 2026[¥200 验收后付] DeerFlow #532 多轮 Deep Research 连续上下文实现 — snownico0722/snownico0722.github.io0 reactions
- Aug 19, 2026[Integration] bytedance/deer-flow — You.com web_search provider + setup wizard entry — youdotcom-oss/integration-tracking0 reactions · 17 comments
On Bluesky · 21
- May 11, 2025ByteDance's DeerFlow A framework for deep research, combining language models with tools like web search, crawling, and Python execution,… — @sungkim.bsky.social17 likes and reposts
- May 12, 2025🔬 DeerFlow: Deep Research Framework An open-source framework for conducting systematic deep research through coordinated LangGraph agents.… — @langchain.bsky.social8 likes and reposts
- Aug 19, 2026ByteDance выкатили deer-flow — открытый SuperAgent harness для долгосрочных задач, который сам кодит, исследует и автоматизирует рутину от… — @toolhunt.bsky.social3 likes and reposts
- May 6, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 bytedance / deer-flow ⭐ 65,357 (+328) 🗒 Python An open-source long-horizon SuperAgent harness that… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Mar 31, 2026This GitHub project caught my eye: DeerFlow 2.0 is a fully extensible super agent platform for smart automation, custom workflows, and deep… — @alexiskirke.bsky.social3 likes and reposts
16 more on Bluesky
- Jun 21, 2026今日のGitHubトレンド bytedance/deer-flow DeerFlowは、サブエージェント、メモリ、サンドボックスを統合し、拡張可能なスキルによって多様なタスクを実行するオープンソースのスーパーエージェントハーネスです。… — @dailygithubtrends.bsky.social2 likes and reposts
- Feb 26, 2026ByteDance's DeerFlow is a TypeScript super-agent that orchestrates sub-agents, sandboxes, and persistent memory to tackle complex… — @arifsolmaz.bsky.social2 likes and reposts · 1 reply
- Sep 7, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 bytedance / deer-flow ⭐ 81,682 (+188) 🗒 Python An open-source long-horizon SuperAgent harness that… — @github-trending.bsky.social1 likes and repost
- Mar 27, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 bytedance / deer-flow ⭐ 47,567 (+2,388) 🗒 Python An open-source long-horizon SuperAgent harness… — @github-trending.bsky.social1 likes and repost · 1 reply
- Mar 12, 2026Repo: github.com/bytedance/de... Here's why this is different from every other agent framework: It has its own sandbox. A real isolated… — @jainamparmar.bsky.social1 likes and repost · 2 replies
- Mar 12, 2026github.com/bytedance/de... github.com/AlexsJones/s... github.com/AlexsJones/l... Sharing more repos to later crawl my own page for data… — @moe-dude.bsky.social1 likes and repost
- Mar 11, 2026DeerFlow : framework open-source d'agents IA orchestrant recherche, code et création — @news.humancoders.com1 likes and repost
- Mar 10, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 bytedance / deer-flow ⭐ 27,977 (+1,443) 🗒 Python An open-source SuperAgent harness that researches,… — @github-trending.bsky.social1 likes and repost · 1 reply
- Mar 9, 2026DeerFlow : un framework open-source qui orchestre des sous-agents, mémoire et sandboxes pour gérer des tâches complexes de recherche et… — @camilleroux.com1 likes and repost
- Mar 1, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 bytedance / deer-flow ⭐ 22,795 (+352) 🗒 Python An open-source SuperAgent harness that researches,… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 23, 2025DeerFlow DeerFlow is a community-driven framework for deep research, combining language models with tools like web search, crawling, and… — @pythonhub.dev1 likes and repost
- Aug 1, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 bytedance / deer-flow ⭐ 78,536 (+204) 🗒 Python An open-source long-horizon SuperAgent harness that… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Jul 11, 2026READMEで確認できたのは、DeerFlow 自体はMITのOSS。でも初期設定ではLLMプロバイダと任意のWeb検索を選び、鍵は `.env` に入れる設計です。Docker推奨で、ローカルLLMを動かすなら必要な計算資源も別。… — @mint-echosphere.bsky.social0 likes and reposts · 1 reply
- Jun 27, 2026READMEで確認できた範囲だと、2.0が全面書き直し、MIT、sub-agents / memory / sandbox、そして「minutes to hours」の長尺タスク志向は本当です。ここはちゃんと強い。… — @mint-echosphere.bsky.social0 likes and reposts · 1 reply
- Jun 21, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 bytedance / deer-flow ⭐ 72,237 (+415) 🗒 Python An open-source long-horizon SuperAgent harness that… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Mar 22, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 bytedance / deer-flow ⭐ 33,811 (+1,508) 🗒 Python An open-source SuperAgent harness that researches,… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 8
- Mar 27, 2026Has Anyone Tried Deerflow?4 points
- May 12, 2025DeerFlow, a community-driven Deep Research framework4 points
- Mar 30, 2026Deer-Flow Installing Line3 points · 1 comment
- Mar 16, 2026Deep Exploration and Efficient Research Flow2 points
- Mar 15, 2026DeerFlow 2.0: open-source SuperAgent harness that researches, codes, creates2 points
3 more on Hacker News
- May 13, 2025DeerFlow: Deep Research Framework2 points
- May 18, 2026DeerFlow 2.0 – Deep Exploration and Efficient Research Flow1 point
- Apr 18, 2026An open-source long-horizon SuperAgent harness that researches,codes and creates1 point · 1 comment
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository30 other files it gives its agents.
- backend/AGENTS.mdAGENTS.md
- frontend/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- backend/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- academic-paper-reviewSkill
- bootstrapSkill
- chart-visualizationSkill
- claude-to-deerflowSkill
- code-documentationSkill
- consulting-analysisSkill
- data-analysisSkill
- deep-researchSkill
- find-skillsSkill
- frontend-designSkill
- github-deep-researchSkill
- image-generationSkill
- music-generationSkill
- newsletter-generationSkill
- podcast-generationSkill
- ppt-generationSkill
- skill-creatorSkill
- skill-reviewerSkill
- surprise-meSkill
- systematic-literature-reviewSkill
- vercel-deploySkill
- video-generationSkill
- web-design-guidelinesSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 119
Do not reintroduce skip-on-overlap.
- Very specific: line 154
Run make help for the full list.
- Very specific: line 209
Run tail -f logs/gateway.log logs/frontend.log there to follow both.
- Very specific: line 242
Before bumping a version, run scripts/bump_version.sh <ver> (aligns the four fields and refreshes backend/uv.lock at once — it needs uv on …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This is the source of truth for repository agent guidance; CLAUDE.md imports it via @AGENTS.md.
This monorepo orientation layer maps the repo. For module details, read its guide:
- backend/AGENTS.md — backend depth: harness/app split, agent & middleware chain, sandbox, MCP, skills, memory, IM channels, persistence/migrations, config system, test layout.
- frontend/AGENTS.md — frontend depth: Next.js App Router layout, thread/streaming data flow, code style, commands.
What is DeerFlow
DeerFlow is a LangGraph-based AI super-agent system with a full-stack architecture. The backend runs a "super agent" with sandboxed execution, persistent memory, subagent delegation, and extensible tools (built-in, MCP, community), all per-thread isolated. The frontend is a Next.js chat UI. External IM platforms (Feishu, Slack, Telegram, Discord, DingTalk) bridge into the same agent through the Gateway.
Service Topology
A single make dev / Docker stack runs four cooperating services:
| Service | Port | Role |
| Nginx | 2026 | Unified reverse-proxy entry point — open this in the browser |
| Gateway API | 8001 | FastAPI REST API + embedded LangGraph-compatible agent runtime |
| Frontend | 3000 | Next.js web interface |
| Provisioner | 8002 | Optional — only when sandbox is configured for provisioner/K8s mode |
Nginx is the single public entry: it proxies /api/* to the Gateway, rewriting
/api/langgraph/* onto the Gateway's native routes, and serves the frontend — see
backend/AGENTS.md for the runtime and router detail. It compresses
HTML and configured textual assets, deliberately leaving SSE, fonts, images, audio, and
video uncompressed at the proxy layer.
Both compose files publish that entry as "${BIND_HOST:-127.0.0.1}:${PORT:-2026}:2026"
— loopback by default, matching the README's documented deployment model; a bare
"${PORT}:2026" binds 0.0.0.0, which does not. The root PORT value is Docker ingress
configuration only; local orchestration pins Next.js to 3000 so loading .env cannot
make make dev wait on the wrong port. Nginx listening default_server on IPv4+IPv6 and
the Gateway binding 0.0.0.0:8001 are container-internal on purpose: the published nginx
port is the entire external surface. Any new published port needs an explicit bind
address; backend/tests/test_compose_default_bind_host.py pins this for every service in
both compose files.
Repository Map
deer-flow/
├── Makefile # Root orchestration: drives the full stack (dev/start/stop, docker, setup)
├── config.example.yaml # Template → copy to config.yaml (gitignored) at repo root
├── extensions_config.example.json # Template → copy to extensions_config.json (gitignored): MCP servers + skills
├── backend/ # Python backend — see backend/AGENTS.md
│ ├── Makefile # Per-module backend commands (dev, gateway, test, lint, migrate-rev)
│ ├── extensions/sources/ # Deployable snapshots of locally installed Python extensions
│ ├── packages/extension-api/ # deerflow-extension-api package (import: deerflow_extension_api.*) — public extension contract
│ ├── packages/harness/ # deerflow-harness package (import: deerflow.*) — agent framework
│ └── app/ # FastAPI Gateway + IM channels (import: app.*)
├── frontend/ # Next.js frontend (pnpm) — see frontend/AGENTS.md
├── docker/ # docker-compose files, nginx config, provisioner
├── skills/ # Agent skills: public/ (committed), custom/ (gitignored)
│ # Managed integration skill packs are global at .deer-flow/integrations/skills/{provider}/
│ # Integration credentials and enabled state remain per-user
├── contracts/ # Cross-component JSON contracts (e.g. subagent status, skill review)
├── examples/ # Extension examples: deerflow-extension-{example,bookmarks,agent-teams}
├── scripts/ # Root orchestration scripts invoked by the Makefile (check, configure, doctor, support_bundle, serve, nginx, docker, deploy, setup_wizard)
├── tests/ # Root-level tests (currently tests/skills/ — public skill tests)
└── docs/ # Cross-cutting docs, plans, and design notesThird-party extensions are loaded from a top-level plugins: list in config.yaml
(operator-controlled on purpose — that list causes code to be imported, so it is deliberately
kept out of the API-writable extensions_config.json). Packaged extensions can contribute
middleware, lifecycle observers, Gateway services, FastAPI HTTP routers, and experimental
full-stack plugins. Manage them with deerflow extensions install/upgrade/list/enable/disable/remove or the root
make extension-* wrappers. Every mutation requires a Gateway restart, and both build
hooks and extension code execute with Gateway privileges, so only trusted operator sources
belong in this path. The manager transaction, accepted source forms, lock discipline, and
contribution contract live in
the extensions guide; the user manual
is frontend/src/content/{en,zh}/harness/extensions/.
Extension-first evaluation — before implementing a feature by editing core code,
evaluate whether it can ship as a packaged extension through the contribution points
above. Stay in core for bug fixes and for changes to the agent loop, memory, context
compaction, or authentication. If existing hooks cannot express the feature, add a
generic hook to the extension contract plus an extension that uses it — do not
hard-code business logic into core. Working examples:
examples/deerflow-extension-{example,bookmarks,agent-teams}.
Runtime config lives at the repo root: copy config.example.yaml → config.yaml
(main app config) and extensions_config.example.json → extensions_config.json (MCP
servers + skills). Both real files are gitignored and may be edited at runtime via the
Gateway API. Config schema and resolution order are documented in
backend/AGENTS.md.
Skill quality review note:
skills/public/skill-reviewer/is the built-in read-only reviewer (harness toolreview_skill_package, contracts incontracts/skill_review/). Model-visible review data is tag-neutralized; raw payloads stay in tool artifacts. See backend/AGENTS.md for the ownership boundaries.- CI waivers live in
.github/skill-review-waivers.v1.json, enforced byscripts/review_changed_public_skills.py. Only the manifest from the trusted base revision can suppress a run, and blocker findings can never be waived.
Scheduled-task note:
scheduler.tool_enabled(default off) offers owner-bound schedule tools only through Gateway capability admission. Interactive turns create/manage their schedules; scheduled turns can request stopping only their own schedule. Per-occurrence goal success does not end a recurring schedule.- The scheduled-task MVP adds a workspace page at
/workspace/scheduled-tasksplus a background scheduler gated byconfig.yaml -> scheduler.enabled. - Scheduled runs are non-interactive:
ask_clarificationis excluded.non_interactive,disable_clarification, andgithub_tokenare honored only for internally-authenticated callers; client-supplied copies are dropped. - Busy occurrences persist as
queued;scheduler.queue_timeout_secondsbounds the wait. Do not reintroduce skip-on-overlap.
Commands: Root vs. Module
Root make targets drive the whole stack (run from the repo root):
make setup # Interactive setup wizard (recommended for new users)
make doctor # Check configuration and system requirements
make support-bundle # Generate redacted troubleshooting summary, AI issue draft, and optional zip
make config # Generate local config files from the examples
make check # Check that required tools are installed
make install # Install all dependencies (frontend + backend + pre-commit hooks)
make extension-install SOURCE=... # Install and enable a trusted Python extension
make extension-upgrade SOURCE=... # Replace an installed extension and keep its config
make extension-list # List configured Python extensions
make extension-enable NAME=... # Enable an installed extension (restart required)
make extension-disable NAME=... # Disable without uninstalling (restart required)
make extension-remove NAME=... # Remove package and config entry (restart required)
make dev # Start all services with hot-reload (Gateway + Frontend + Nginx)
make start # Start all services in production mode (local, optimized); SKIP_FRONTEND_BUILD=1 reuses the last frontend build
make stop # Stop all running services
make up / down # Build/stop the production Docker stack (browser at localhost:2026)
make docker-start / docker-stop / docker-logs # Docker development environmentProduction startup uses the image's pre-built Python environment with uv run
--no-sync, gives the Gateway a real /health probe, and makes make up wait
for that probe before printing its success banner. A readiness failure must
surface Compose status and recent Gateway logs instead of claiming the stack is
running.
Docker log and restart commands resolve DEER_FLOW_ROOT from the current
checkout before invoking Compose, matching the start and stop commands.
Run make help for the full list.
Per-module commands drive a single module (run inside that module):
# Backend (see backend/AGENTS.md for the full set)
cd backend && make dev # Gateway API with reload (port 8001)
cd backend && make test # Default backend suite; excludes live and blocking-I/O tests
cd backend && make test-blocking-io # Strict blocking-I/O suite
cd backend && make lint # ruff check
cd backend && make format # ruff format
# Frontend (see frontend/AGENTS.md for the full set)
cd frontend && pnpm dev # Dev server: Webpack by default (override with DEER_FLOW_DEV_BUNDLER=turbo)
cd frontend && pnpm check # Lint + type check (run before committing)
cd frontend && pnpm test # Unit testsRule of thumb: root make = the full application; backend/Makefile and frontend/
(pnpm) = per-module work.
Host pnpm calls use scripts/pnpm.py: native Windows tries pnpm.cmd before
pnpm; POSIX reverses the order. Its Corepack fallback applies the same ordering
to corepack.cmd and corepack. The runner operates from frontend/ so
Corepack honors its pinned package-manager version.
Prerequisites before make dev
make dev does not generate config files. First-time setup order:
make config # copy config.example.yaml -> config.yaml and extensions_config.example.json -> extensions_config.json (both gitignored)
make install # install frontend + backend deps and pre-commit hooks
make dev # then start everythingWithout config.yaml present, services fail to boot. config.yaml / extensions_config.json
may be edited at runtime via the Gateway API but are gitignored, so never commit them.
Run a single test
# Backend (pytest); run one file or one test function
cd backend && python -m pytest tests/test_compose_default_bind_host.py -q
cd backend && python -m pytest tests/path/to/test.py::test_func -q
# Frontend (rstest)
cd frontend && pnpm rstest run <pattern> # e.g. pnpm rstest run my-componentLogs
- Docker stack:
make docker-logs(ordocker compose -f docker/... logs -f <svc>). - Local
make dev: Gateway and frontend output goes tologs/gateway.logandlogs/frontend.login the repository root. Runtail -f logs/gateway.log logs/frontend.logthere to follow both.
Where to Go Next
- Backend work → backend/AGENTS.md
- Frontend work → frontend/AGENTS.md
- Setup & install → Install.md, CONTRIBUTING.md
- Project overview & usage → README.md (translations:
README_zh.md,README_ja.md,README_fr.md,README_ru.md) - Security policy → SECURITY.md
- Changes → CHANGELOG.md
- Cutting a release → RELEASING.md
Cross-Cutting Conventions
These apply repo-wide; module guides own the module-specific detail.
- Documentation update policy — keep docs in sync with code: update
README.mdfor user-facing changes and the relevantAGENTS.mdfor development/architecture changes in the same change set. - Test-driven development — features and bug fixes ship with tests. Backend tests live
in
backend/tests/(TDD is mandatory there; see backend/AGENTS.md); frontend tests live infrontend/tests/. - Format before pushing — run
make format(backend) /pnpm check(frontend). Backend CI enforcesruff format --check, so formatting must be clean before a push. - Skill text encoding — treat
SKILL.mdand other textual skill resources as UTF-8; Python utilities that read or write them must passencoding="utf-8"rather than relying on the platform locale. - Version sources must stay in lockstep — a release version must match identically in
backend/pyproject.toml,frontend/package.json, anddeploy/helm/deer-flow/Chart.yaml(version+appVersion), andbackend/uv.lockmust record the same version for the root package (uv stores its PEP 440 form, e.g.2.1.0rc0). Pushing av*git tag triggers CI that runsscripts/verify_versions.shand blocks all publishing if any source drifts. Before bumping a version, runscripts/bump_version.sh <ver>(aligns the four fields and refreshesbackend/uv.lockat once — it needsuvonPATH) andscripts/verify_versions.sh <ver>to catch drift early. See RELEASING.md. - Don't edit
CLAUDE.md— it only contains@AGENTS.md. All agent guidance changes belong here inAGENTS.md;CLAUDE.mdis a thin import shim.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

