AGENTS.md@backend/packages/harness/deerflow/agents/memoryA

AGENTS.md@backend/packages/harness/deerflow/agents/memory from bytedance/deer-flow is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/agents/memory/AGENTS.md@git:20261023.3e9a417

Pins git:20261023.3e9a417 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
bytedance/deer-flow
Path
backend/packages/harness/deerflow/agents/memory/AGENTS.md
Versions recorded
32
Latest version
git:20261023.3e9a417, committed Oct 23, 2026
First version recorded
Aug 17, 2026
Size
37,621 bytes
Repository stars
84,344
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

### Memory System

DeerMem `prompt_prepend`/`prompt_append` wrap the first system message from
`memory_update` after formatting, without touching its human data message or
cached templates. This is the live summary/fact extraction path; do not wire
extensions only to the legacy `FACT_EXTRACTION_PROMPT` alias. Settings belong
to the constructed backend and require backend recreation to change.

This directory owns memory capture, storage, retrieval, prompt injection, and model-driven memory tools.

#### Main components

- `manager.py` defines the backend-neutral `MemoryManager` contract.
- `agents/middlewares/memory_middleware.py` queues filtered conversations for passive capture.
- `summarization_hook.py` connects memory work to the summarization lifecycle.
- `tools.py` provides `memory_search`, `memory_get`, `memory_add`, `memory_update`, and `memory_delete`.
- `backends/deermem/` contains the default local backend.
- `backends/mem0/`, `backends/openviking/`, and `backends/honcho/` contain optional adapters.

`cancel_by_agent` cancels only pending debounce contexts in one user scope.
`user_id=None` selects only the legacy no-user root.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/agents/memory/AGENTS.md@sha256:c84c7b16e1b32604

The line at the top of this page pins the label git:20261023.3e9a417, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q3hjpgghkosea7pw.svg)](https://markdownregistry.com/a/art_q3hjpgghkosea7pw)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 32 versions of this file, between Aug 17, 2026 and Oct 23, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261023.3e9a417 latest2026-10-23 3e9a417 37,621 BA view · diff
git:20261023.70976942026-10-23 7097694 37,310 BA view · diff
git:20261022.97b12b12026-10-22 97b12b1 36,467 BA view · diff
git:20261020.dc6f0d72026-10-20 dc6f0d7 35,619 BA view · diff
git:20261020.2174c1d2026-10-20 2174c1d 35,474 BA view · diff
git:20261020.ee02e512026-10-20 ee02e51 35,324 BA view · diff
git:20261019.18ca09b2026-10-19 18ca09b 34,542 BA view · diff
git:20261018.cd0166a2026-10-18 cd0166a 34,388 BA view · diff
git:20261011.bdc2d122026-10-11 bdc2d12 33,851 BA view · diff
git:20261008.5ae953f2026-10-08 5ae953f 33,018 BA view · diff
git:20261008.c15ecb62026-10-08 c15ecb6 31,324 BA view · diff
git:20261008.220d62d2026-10-08 220d62d 31,291 BA view · diff
git:20261006.789bbaa2026-10-06 789bbaa 30,990 BA view · diff
git:20261006.c54883c2026-10-06 c54883c 30,774 BA view · diff
git:20261006.1523a942026-10-06 1523a94 30,626 BA view · diff
git:20261004.1f7600e2026-10-04 1f7600e 30,230 BA view · diff
git:20261003.e3064f52026-10-03 e3064f5 30,131 BA view · diff
git:20260930.b73a4e72026-09-30 b73a4e7 30,050 BA view · diff
git:20260927.d700ad92026-09-27 d700ad9 29,075 BA view · diff
git:20260925.1da284b2026-09-25 1da284b 19,312 BA view · diff
git:20260924.731e8c62026-09-24 731e8c6 18,934 BA view · diff
git:20260923.45411ce2026-09-23 45411ce 18,684 BA view · diff
git:20260923.1b2898c2026-09-23 1b2898c 18,077 BA view · diff
git:20260919.208ba7c2026-09-19 208ba7c 17,948 BA view · diff
git:20260918.cc277302026-09-18 cc27730 17,403 BA view · diff
git:20260914.80f13932026-09-14 80f1393 14,573 BA view · diff
git:20260913.5d86ce32026-09-13 5d86ce3 13,930 BA view · diff
git:20260906.ec274bd2026-09-06 ec274bd 12,556 BA view · diff
git:20260903.e5977322026-09-03 e597732 11,736 BA view · diff
git:20260903.822c7bc2026-09-03 822c7bc 28,668 BA view · diff
git:20260817.f0276c92026-08-17 f0276c9 28,066 BA view · diff
git:20260817.5ffaa092026-08-17 5ffaa09 27,853 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (37621 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bytedance/deer-flow · 84,344 stars · license MIT · pushed 2026-10-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_q3hjpgghkosea7pw
GET https://markdownregistry.com/api/v1/resolve?ref=bytedance/deer-flow/backend/packages/harness/deerflow/agents/memory/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/c84c7b16e1b3260441fbea6eb4add662a74aaeea27834a2c879a020d8d33f082

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from bytedance/deer-flow

blocking-io-guard SKILL.md skill
bytedance/deer-flow · .agent/skills/blocking-io-guard/SKILL.md · Ensure async-path backend code that could block the asyncio event loop is protected by a teeth-verified runtime anchor…
git:20260612.dc2abab · audit A · 84,344 stars
deerflow-maintainer-orchestrator SKILL.md skill
bytedance/deer-flow · .agent/skills/deerflow-maintainer-orchestrator/SKILL.md · Use when a DeerFlow maintainer needs comment-only GitHub issue or PR handling: resolve issue/PR scopes with gh, analyze…
git:20260616.65fab1d · audit A · 84,344 stars
engineer-system-change SKILL.md skill
bytedance/deer-flow · .agent/skills/engineer-system-change/SKILL.md · Evaluate and carry out non-trivial software-system changes from first principles. Use when assessing RFCs, issues…
git:20260723.2af2fb5 · audit A · 84,344 stars
smoke-test SKILL.md skill
bytedance/deer-flow · .agent/skills/smoke-test/SKILL.md · End-to-end smoke test skill for DeerFlow. Guides through: 1) Pulling latest code, 2) Docker OR Local installation and…
git:20260619.525ec0a · audit A · 84,344 stars
AGENTS.md AGENTS.md file
bytedance/deer-flow · AGENTS.md
git:20261020.2c880a3 · audit A · 84,344 stars
CLAUDE.md CLAUDE.md file
bytedance/deer-flow · CLAUDE.md
git:20260625.ff7ecdb · audit B · 84,344 stars
AGENTS.md@backend AGENTS.md file
bytedance/deer-flow · backend/AGENTS.md
git:20261022.c0ba948 · audit A · 84,344 stars
CLAUDE.md@backend CLAUDE.md file
bytedance/deer-flow · backend/CLAUDE.md
git:20260625.ff7ecdb · audit B · 84,344 stars
AGENTS.md@backend/app/channels AGENTS.md file
bytedance/deer-flow · backend/app/channels/AGENTS.md
git:20261019.085924a · audit A · 84,344 stars
AGENTS.md@backend/app/gateway AGENTS.md file
bytedance/deer-flow · backend/app/gateway/AGENTS.md
git:20261019.085924a · audit A · 84,344 stars
AGENTS.md@backend/app/gateway/routers AGENTS.md file
bytedance/deer-flow · backend/app/gateway/routers/AGENTS.md
git:20261023.e1a7cba · audit A · 84,344 stars
AGENTS.md@backend/packages/harness/deerflow AGENTS.md file
bytedance/deer-flow · backend/packages/harness/deerflow/AGENTS.md
git:20261021.ab43439 · audit A · 84,344 stars

Every file in bytedance/deer-flow

Browse by kind, by grade A, or by owner.