| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-09-24 | 22.8 kB | |
| v2.1.0 Release source code.tar.gz | 2026-09-24 | 26.3 MB | |
| v2.1.0 Release source code.zip | 2026-09-24 | 28.0 MB | |
| Totals: 3 Items | 54.3 MB | 1 | |
DeerFlow 2.1.0
DeerFlow 2.1 builds on the 2.0 super-agent harness with a focus on trust, scale, and operability: verifiable agent execution, durable batch delegation, pluggable memory backends, four new sandbox providers, an out-of-tree extension system, and enterprise-grade authentication and authorization β wrapped in a much richer workspace with projects, conversation branching, and referenced conversations.
This release closes the 2.1.0 milestone with 772 merged PRs since the 2.0.0 release.
π Full notes: CHANGELOG.md Β· δΈζη
β οΈ Breaking changes
- Trace ids are unconditional β every Gateway HTTP response carries an
X-Trace-Idheader, andlogging.enhance.enablednow controls log output only. Client-supplieddeerflow_trace_idvalues in run metadata are overwritten so header, logs, and the persisted run cannot disagree β send theX-Trace-Idrequest header to pin a correlation id. ([#5119]) /mnt/skillsis reserved for managed enabled-only skill projections.DEER_FLOW_HOST_SKILLS_PATH/SKILLS_HOST_PATHare no longer used, and E2B operator mounts targeting that path are skipped with a warning. ([#4178])sandbox.replicasis enforced for E2B as a capacity limit; the defaultwaitpolicy can now fail the agent turn instead of growing past the cap. ([#4391])- A
SKILL.mddirectory is a runtime package boundary β nestedSKILL.mdfiles are supporting data, no longer registered as independent skills. ([#4098]) - Memory is pluggable (
memory.manager_class): DeerMem-private settings move intomemory.backend_config(auto-migrated with a warning),/memory/configchanged shape,storage_pathis now a root directory (legacy file-style values are dropped with a warning), custom storage classes move to a new path and takeconfigin__init__, and a backend withoutsearch()fails fast intoolmode. ([#4122], [#4023], [#4324]) database.checkpoint_delta_snapshot_frequencymoved todatabase.checkpoint_delta.snapshot_frequencyand its default changed from1000to10β set it explicitly to keep the old cadence. ([#4516])- Docker binds loopback by default β the published entry port binds
127.0.0.1in both compose files, matching the documented local-trust deployment model; setBIND_HOSTto expose the stack on other interfaces. ([#4618])
β¨ Highlights
- Verifiable agent execution β every tool call carries a tamper-evident,
runtime-stamped receipt and a bounded receipt ledger reaches the model
context; subagent reports must cite tool receipts with verifiable deliverable
handles that the lead agent cross-checks; and
acceptance_criteriaon delegations are checked deterministically parent-side (file existence, recorded test-command exit status), with anything undecidable reported UNVERIFIED. ([#4659], [#5076], [#5090], [#5109], [#4365]) - Subagents at scale β a system-maintained delegation ledger prevents
redundant re-delegation and a total cap bounds fan-out ([#3877], [#4115]);
one process-wide capacity controller governs concurrency, and the opt-in
batch_tasktool runs large collections of independent items as durable, resumable SQL-backed batches with leases, retries, pause/resume/cancel, and a chat progress panel ([#4998], [#5289]);task(context_mode="snapshot")carries a dispatch-time copy of the parent conversation ([#5367]); and subagent step history is persisted and displayed in the thread. ([#3845]) - Scheduled tasks grow up β
intervalschedules joinonceandcron([#5291]); upcoming cron occurrences can be previewed before saving ([#5381]); run history filters server-side by status and pages backwards in the UI ([#5384], [#5363]); tasks can pinlead_agentor a custom agent ([#5286], [#5288]); busy occurrences queue durably across restarts ([#4918]); and multi-instance recovery no longer interrupts live runs. ([#4713]) - Pluggable memory β new OpenViking, mem0, and Honcho backends over HTTP ([#4509], [#4528], [#4730]); a built-in FTS5/BM25 retrieval adapter ([#4360]); LLM-assisted consolidation and staleness pruning ([#3996], [#3860], [#4143]); incremental per-agent fact storage ([#4279]); a hybrid eviction policy ([#4789]); guaranteed correction-fact injection ([#3592]); and opt-in write-side fact dedup. ([#5254])
- More sandboxes, tighter control β new E2B, BoxLite (micro-VM with warm
pool), Tenki, and OpenSandbox providers ([#3883], [#3940], [#3951], [#4382],
[#4877]); opt-in
isolated/ domain-allowlistnetwork egress for local Docker sandboxes, with denied domains approvable through the Human Input card ([#5152]); and hardened local containers β bridge-gateway port binds, default seccomp, dropped capabilities. ([#4986]) - Out-of-tree extensions β Python extensions contribute middleware,
lifecycle and system-model observers, Gateway services, and HTTP routers,
managed with
deerflow extensions install/upgrade/enable/disable/remove([#4636], [#4684], [#4780], [#5347]); a 0.2 extension API lets extensions observe what the agent did ([#4863]); and a newRunEvidenceReadercontract drives durable, cursor-based changed-run discovery. ([#5405]) - Enterprise auth & authorization β generic OIDC/SSO with Keycloak support ([#3506]); personal access tokens with scoped route policies ([#5041]); a built-in RBAC provider with tool, model, and sandbox authorization enforced at both assembly and runtime ([#4260], [#4370], [#4540], [#4911], [#4439]); local self-registration can be closed to SSO-only provisioning ([#4311]); and account preferences survive a cleared browser. ([#5397])
- MCP as production infrastructure β a durable task runtime survives Gateway restarts and reports progress in the chat UI ([#4665], [#4690], [#4833]); shared servers can inject per-user credentials or map request-scoped secrets to headers ([#4868], [#5010]); servers are managed from Settings ([#5022]); and a hung stdio server can no longer stall the Gateway or agent assembly. ([#4657], [#5217])
- Richer runtime β per-run token budgets shared additively across the lead agent and subagents ([#3412]); goal continuations with a tracked, capped count ([#3858]); dual-mode checkpoint storage cuts long-run thread storage from O(NΒ²) to near-linear ([#4292], [#4638]); durable context survives summarization ([#3556], [#3887], [#3906]); opt-in task notes and compacted-history recall ([#5382]); a run can read referenced earlier conversations, grantable from the SDK and the composer ([#5399], [#5463], [#5465]); structured clarification form fields ([#4406]); and configurable recursion limits for Gateway and scheduled runs. ([#5390], [#4848])
- Models & knowledge β per-agent model and generation settings ([#4347]);
an optional request-admission limiter paces calls per provider ([#5432]);
per-user model favorites ([#5441]); a Z.AI GLM-5.3-Flash profile and MiniMax
Code ACP support ([#5074], [#4846]); opt-in
knowledge_searchover RAGFlow or LightRAG ([#4955], [#5209]); Playwright-backed agentic browser control ([#4187]); and new search providers β Serply, Tencent Cloud WSA, Sofya, GroundRoute, Crawl4AI, fastCRW, and Parallel β with native recency filters. ([#5023], [#5057], [#5099], [#5239], [#3675], [#3821], [#3585], [#3881], [#3866], [#5028]) - Workspace β Projects organize chats, with per-project instructions, a
document shelf, and two-way file promotion ([#5265], [#5443]); assistant
turns branch into side conversations with distinguishing titles ([#3950],
[#3934], [#4983]); the latest answer regenerates and user turns edit and
rerun in place ([#3637], [#4377]); chats archive, restore, and pin
([#5236], [#4442]); a conversation outline navigates long chats ([#5025]);
CSV/TSV artifacts preview as tables ([#5284]); text artifacts stream over
byte ranges and a run's files download as one zip ([#5056], [#5117]);
MCP servers, integrations, and skills move into a dedicated Capability
Center ([#5468]); and Custom Agents get display names, a deployment-level
subagent catalog, and stateless
memory_enabled: falsemode. ([#5324], [#4887], [#5167]) - Channels β a new Buzz (Nostr) connector ([#4649], [#4727]);
/agent list//agent useIM commands switch a conversation to the owner's Custom Agents ([#5168]); Postgres-backed webhook dedup lets several pods serve the same channel ([#4210]); and DingTalk gains file/image attachments. ([#4423])
π Performance
- Dual-mode checkpoint storage with LangGraph
DeltaChannelcuts thread storage from O(NΒ²) to near-linear for long research/coding runs. ([#4292]) - Chat streams request
messages-tuple+updates+custominstead of fullvaluessnapshots β retransmitted history was ~75% of SSE payload. ([#5159]) - Index
MemoryRunStorebythread_idandMemoryRunEventStoreevents byrun_idto eliminate O(n) scans. ([#3562], [#3686]) read_filereads only the requested line range from the sandbox instead of fetching the whole file first. ([#3824])view_imageinjects content viawrap_model_call, so up to 20 MB of base64 no longer sits in two checkpoints per viewed image. ([#5014])- Cache sandbox path-rewrite and output-masking regexes per instance. ([#3648], [#3713])
- Frontend: coalesce streaming renders to a frame budget, stop re-deriving message content on every chunk, cache settled copy-data derivation, and enforce route JS/CSS budgets. ([#4425], [#4441], [#5095])
- Browser Live frames encode as JPEG, cutting progress payload size. ([#4836])
- Bound gateway memory after terminal runs. ([#5112])
- Deduplicate streamed AI messages via a seen-id set (O(nΒ²) β O(n)). ([#3687])
- Index tool-call results per group. ([#4411])
π Security
- Skill review gate β SkillScan now receives every file byte for byte (binaries, nested archives, and NUL bytes no longer escape scanning), archive extraction is capped by member count as well as size, and installer, export guard, and scanner share one code-file/executable-magic definition. ([#5431], [#4241])
- Prompt-injection defenses β new input-sanitization middleware with both
bypasses closed; untrusted content in model prompts (memory facts,
SOUL.md, subagent descriptions, skill metadata) HTML-escaped; MindIE tool-response framing escaped; andweb_captureand MCP-sourced tool results sanitized through the same trust boundary as the built-in web tools. ([#3662], [#5375], [#4028], [#4253], [#4839]) - Sandbox hardening β local Docker sandboxes bind published ports to the
Docker bridge gateway, run Docker's default seccomp profile, drop all
capabilities, and get
no-new-privileges;SSH_AUTH_SOCKis scrubbed from the sandbox environment; and projected skill files are copies, not hardlinks, so a sandboxed write cannot mutate the canonical source. ([#4986], [#5145], [#4825], [#4830]) - Secrets β inherited secret environment variables are scrubbed from the
skill environment; MCP stdio launcher arguments and env vars are constrained
at the config API; credentials that cannot travel as HTTP header values are
rejected at the config boundary; and skill toggles no longer persist
resolved
$VARsecrets intoextensions_config.json. ([#4018], [#4617], [#5066], [#5357]) - Artifacts β the outputs-only write guard is no longer fooled by
percent-encoded dot segments or symlinks, and XML artifacts (any
+xmltype included) are served as download attachments so active content cannot call the API with the viewer's session. ([#5321], [#5353]) - Authorization β an empty tool allowlist now denies instead of failing
open; run-create is enforced on stateless stream/wait endpoints; a revoked
sandbox:executegrant is re-checked before sandbox reuse; custom-Agent skill allowlists are enforced at the sandbox filesystem level; and cancel/rollback actions on GET stream joins are rejected with 405. ([#4067], [#5030], [#5006], [#5077], [#5092]) - Other β SSRF guard for self-hosted
web_fetchproviders; Lark CLI credential trees enforce private ACLs on Windows; and streamdown sanitization is restored in custom rehype chains. ([#3942], [#5141], [#4987])
π Notable fixes
- Runs & runtime β cancel a run from any live gateway worker, not only the owner; cross-worker idempotent reuse no longer permanently blocks the thread; keyed retries resolve the request user consistently; the shutdown run drain survives repeated cancellation; and a repair migration heals databases that silently skipped the run-change clock schema. ([#4500], [#5393], [#5401], [#5487], [#5517])
- Middleware β loop detection keys
read_fileby exact line range, so paging through a file no longer trips the hard stop;max_turnsnow grants the turns it names (it was passed as LangGraph super-steps, ~7β8 per turn); token budgets hold across goal continuations; guards that remove tool calls no longer break every later Claude/Responses turn; and retried model calls re-deliver queued warnings. ([#5486], [#5485], [#5410], [#5447], [#5433]) - Subagents β a subagent keeps its instructions after context compaction; a delegated subagent's error no longer fails the parent run; repeatedly cancelled subagents no longer leak their execution slot; and Windows acceptance checks fail closed on out-of-scope commands. ([#5454], [#5407], [#5477], [#5162])
- Sandbox tools β remote
list_dir/glob/grepreport failures instead of inventing "empty directory" or "no matches";read_filetruncation is reported in lines with the exact resume point; host-path masking handles$PATH-style joins and forward-slash Windows spellings; concurrent subagents work past the AIO shell-session ceiling; and CJK tool output is no longer garbled in PowerShell. ([#5264], [#5422], [#5380], [#5474], [#5418], [#5373], [#5178], [#5440]) - Models β the Claude Code OAuth token is read once per process, so title,
summarization, and subagent models stop losing their credential; models with
supports_reasoning_effortno longer fail to build; Codex invalid tool calls are paired with their results; andapi_baseis honored on everyBaseChatOpenAIsubclass. ([#5411], [#5403], [#5509], [#4146]) - Channels β WeCom clips and splits over the 20 KB protocol cap instead of
dropping the reply; one undecodable WeChat message no longer drops its
batch; a dead Discord client no longer hangs outbound sends and freezes the
channel pool; Telegram
rich_messagesrenders only when the text actually contains rich constructs; and WeChat/WeCom inbound media is streamed, size-bounded, and host-allowlisted. ([#5148], [#4231], [#5227], [#5470], [#5225]) - Skills & secrets β toggling a skill no longer writes resolved secrets
into
extensions_config.json; restore$VARreferences and rotate any credential exposed this way. ([#5357]) - Scheduler β the global
max_concurrent_runsbudget is enforced on SQLite (not just Postgres) and for manual triggers; and a dispatch race that could launch two runs for one task is closed. ([#5469], [#4769], [#4105]) - MCP β parallel synchronous calls to one stdio server no longer cancel each other's connection; the session pool holds its capacity limit under concurrent initialization; and durable task polling preserves pooled sessions across protocol timeouts. ([#5396], [#4962], [#5027])
- Frontend β message order stays stable across long runs and reconnects; human-input cards keep the turn that requested them; the user's input is restored after an incremental stream reconnect; sidebar chat deletion asks for confirmation first; and the client emits a streamed tool call once, with its complete arguments. ([#5293], [#4892], [#5428], [#5406], [#5408])
π¦ Deploy & ops
- Docker β the published entry port binds loopback by default (see
breaking changes);
make upwaits for a real Gateway health probe before declaring the stack ready; startup tolerates a missing.env; and Windows Git Bash preflight and socket handling work. ([#4618], [#4658], [#4806], [#5371], [#5402]) - Kubernetes β per-sandbox Services default to
ClusterIPinstead ofNodePort, so sandboxes are reachable only inside the cluster ([#4190]); ClusterIP Services and scoped per-skill PVC mounts ([#4016], [#3928]); and an optional Lark credential broker sidecar keeps app secrets out of the sandbox filesystem. ([#4501]) - Health & readiness β the new
GET /health/readyruns a bounded database probe and returns 503 while the database is unreachable;/healthstays pure liveness. ([#5166]) - Nginx β thread routes that wait on a model call allow 600 seconds (a
slow
/compactno longer returns 504 for work that was applied), and long chat prompts pass/api/langgraph/without a raw 500. ([#5505], [#4277]) - Configuration β a custom PostgreSQL schema is selected via
postgres_schemaand created automatically ([#3442]);recursion_limitandscheduler.recursion_limitare deployment-configurable ([#5390], [#4848]); andmake devpreserves theollamauv extra across restarts. ([#5318]) - Upgrades β startup tolerates a database migrated to the reviewed newer
revision, keeping rollback possible ([#5219]); legacy threads get run-event
seed backfill ([#4590]); and Postgres connections survive idle timeouts via
pool_recycle. ([#4230]) - CI & packaging β the backend unit-test workflow splits into four
parallel shards with isolated Postgres/Redis ([#5137]); and the renamed
tenkipackage replaces the PyPI-removedtenki-sandbox. ([#5087])
π Thanks
Huge thanks to the 178 contributors who landed 772 merged PRs in the 2.1.0 milestone, and to everyone who filed issues, tested builds, and shared feedback. DeerFlow 2.1 wouldn't exist without you.
In alphabetical order:
- @0717lee β Fengmin Li
- @ajayr
- @alanhuangyoo
- @Amazingjun-j β Jun
- @angus-guo β gus
- @aniketwaghh β Aniket Wagh
- @AnnaSuSu β Wenchao An
- @AnoobFeng
- @AoHanBei
- @axsapronov β Aleksandr Sapronov
- @AZE98 β ιΏζ³½
- @Baldwinzc
- @Beautyl0ve
- @belharethsami β Sami Belhareth
- @BetterAndBetterII β Yuzhong Zhang
- @betterkite
- @Beverly621
- @bjtolo
- @BlueX888 β εεΊη±³
- @Boooobby
- @chaoxi007
- @chengjoey
- @chenjiahan β Jiahan Chen
- @chetan655 β Chetan Sharma
- @chuenchen309 β Andrew Chen
- @codeingforcoffee
- @CorgiBoyG β RongJie G
- @Creeper998
- @cuishuang β cui fliter
- @CyanYuMu
- @cybersentia
- @cyberspace-cs β buleboy
- @Czile-create β Czile
- @d33kayyy
- @dajiaohuang β Wu Shuwen
- @DaoyuanLi2816 β Daoyuan Li
- @dcaldr β Dan Caldr
- @deepcoldy β DeepCold
- @DengY11 β Yi Deng
- @diegodscamara β Diego CΓ’mara
- @DorianZheng
- @ech0hol β Zhipeng Zheng
- @ehz0ah β z1gon
- @Eilen6316 β Eilen Shin
- @fallintoplace β Minh Vu
- @fancyboi999 β Xinmin Zeng
- @FanouZeng-TT
- @felix-windsor β Felix Wang
- @fgoll
- @fszcd β GGbond
- @georgeatparallel β George Pickett
- @georgelichen
- @ggnnggez β Nan Gao
- @GodBlf β Xuehao Xu
- @goloisme
- @googio β Serply
- @haimingZZ β Chris Z
- @HaotianChen616
- @hata33 β hataa
- @he-yufeng β Yufeng He
- @heart-scalpel
- @hetaoBackend β DanielWalnut
- @Huang-404-Q
- @Huixin615
- @hyeonsang010716 β Hyeonsang Cho
- @icn5381
- @imohammedansari β Mohammed Ansari
- @IshaanPotle β Ishaan Potle
- @jamespud β spud
- @Janlaywss β Janlay
- @Jholly2008 β Jholly
- @jianpingpei β muguo
- @jiaqiang000 β jiaqiang0000
- @jie101234 β jie
- @jp0xz
- @kapil971390
- @kassdinzheng123 β Zheng Haoran
- @KevinAndrewDong β dong
- @kongxiangxin β ζεΉ΄ζ18
- @KXHXK β KXH
- @Leeminjing β Lee minjing
- @LittleChenLiya β Admire
- @liunianxuxie
- @LKL-ZREO
- @lllyfff
- @lucky798213 β blue
- @luojiyin1987 β luo jiyin
- @ly-wang19
- @lyxnbclass β shawn
- @March-77
- @MeiSiristhebest β Nefelibata
- @MeloMei
- @MiaoRuidx
- @Michael-Yu2978 β Michael
- @ming1523
- @Miracle778
- @mvanhorn β Matt Van Horn
- @nankingjing β ι»δΊιΎ
- @NewAmorend β Amorend
- @nicochow
- @nothingyuancando β Tsai Yuan
- @now-ing
- @Osamaali313 β Syed Osama Ali Shah
- @parthiban-sivakumar β Parthiban Sivakumar
- @patrick-andstar β Wu JiaCheng
- @pclin1212 β pclin
- @PeaceMaker-best
- @PiedPiper911
- @poijygfdyy β NanPan
- @praxstack β Prax Lannister
- @pwd11 β wd_pan
- @qin-chenghan
- @qingbo1011
- @rain02333z-spec
- @ranxi2001 β Onefly
- @rayhpeng
- @richardmilles
- @Ricky-7-Yan
- @RongfuShuiping
- @ruirui6946 β yang rui
- @RykerFeng β Ryker_Feng
- @ShenAC-SAC β AochenShen99
- @ShiroKSH β Kushida
- @ShitK
- @shoemoney β Jeremy Schoemaker
- @Shxiao101 β Shxiao
- @simpleqt β ιεΏθ°¦
- @sontianye β Tianye Song
- @sqsge
- @starslittle
- @sunshine-lang β Sunshine
- @Syt3s
- @Terminator666666
- @thefoolgy
- @therenansimoes
- @tiammomo
- @TNsparrow β Mason Zhou
- @Totoro-qaq β Totoro
- @Tsubaki-01 β Weng Qiang
- @TuNaiChao β Tu Naichao
- @tvost2 β Otavio Rodrigues Santana
- @tzlwn1 β SPEC
- @Undermoon1412
- @us β Recep S
- @Uygniqoar β Vicki
- @vantanco
- @Vanzeren β Zeren Wang
- @VectorPeak
- @wcy12378 β Kris
- @whhe β He Wang
- @WillemJiang β Willem Jiang
- @winklemad β Madan Kumar
- @Wsp030914 β Roc
- @Wuong
- @wutongyuonce β ζ’§ζ‘ι¨
- @xiaodu55
- @xiaoqianbaobao β qian
- @xiawiie β Wei
- @XIIRUAN
- @yeejhyang
- @yjchen101
- @yong326 β yong
- @yu-xin-c β Stellarι±Ό
- @yusufgurdogan β Yusuf GΓΌrdoΔan
- @yym36991
- @YZJF
- @zaoshangduziteng β ζ©δΈθεηΌ
- @ZenCGL β ChenglongZ
- @zeng-bohan
- @ZeroMadLife β ChiHaYa
- @zhangbububu β Keswyk Cheung
- @zhangwei-way
- @Zhengcy05
- @zhernrong92
- @zhfeng β Zheng Feng
- @zhuiyueya β ChaseMoon
- @zkforge β Zhou Kai
- @zwj110610 β zgenu
See the full author and PR list on the milestone page.