AGENTS.md@backend/packages/harness/deerflow/agents/middlewaresB
AGENTS.md@backend/packages/harness/deerflow/agents/middlewares from bytedance/deer-flow is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/agents/middlewares/AGENTS.md@git:20261024.868c1ffPins git:20261024.868c1ff in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- bytedance/deer-flow
- Path
backend/packages/harness/deerflow/agents/middlewares/AGENTS.md- Versions recorded
- 65
- Latest version
- git:20261024.868c1ff, committed Oct 24, 2026
- First version recorded
- Sep 1, 2026
- Size
- 38,369 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
### Middleware Chain Async gate waiters own separate cross-loop futures. Cancel only their signal; notify outside the state lock. `_await_off_thread` drains started I/O across repeated cancellation. Table synopses count nonblank CSV/TSV logical records, excluding the header. Preserve the recognition sample and 5,000,000 UTF-8-byte guard. Count incrementally; on parsing or field-limit errors, report an undetermined count rather than a physical-line or sample total. Keep state `SystemMessage`s; inject transient instructions via request wrappers. Skip fully rescued partitions. Fold all raw source in order without human anchoring. PII-redact before splitting; budget before escaping. Generated carry: marked head/tail within half the raw budget; at most 64 chunks/pass. Commit hooks/history/removal only on success. Cap breaches use a bounded process-local 5m cooldown across builds for the same user/thread/executor/window/policy; smaller source or changed policy retries immediately. See the linked contract. `trim_tokens_to_summarize=None` uses one unbounded step. Todo compaction: [contract](../../../../../docs/summarization.md#todo-reminders). …
Read the whole file at its exact version.
How to install
mdr add bytedance/deer-flow/backend/packages/harness/deerflow/agents/middlewares/AGENTS.md@sha256:fcdf31d9759324d1The line at the top of this page pins the label git:20261024.868c1ff, 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.
[](https://markdownregistry.com/a/art_5mdnolsdtd2le5m5)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 65 versions of this file, between Sep 1, 2026 and Oct 24, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261024.868c1ff latest | 2026-10-24 | 868c1ff | 38,369 B | B | view · diff |
| git:20261023.03c95f5 | 2026-10-23 | 03c95f5 | 37,899 B | B | view · diff |
| git:20261023.48c884a | 2026-10-23 | 48c884a | 37,771 B | B | view · diff |
| git:20261022.2f0cd40 | 2026-10-22 | 2f0cd40 | 36,969 B | B | view · diff |
| git:20261022.29ba806 | 2026-10-22 | 29ba806 | 36,800 B | B | view · diff |
| git:20261016.2464566 | 2026-10-16 | 2464566 | 37,984 B | B | view · diff |
| git:20261016.b0a545e | 2026-10-16 | b0a545e | 38,269 B | B | view · diff |
| git:20261015.d2961aa | 2026-10-15 | d2961aa | 38,269 B | B | view · diff |
| git:20261015.51bc0f1 | 2026-10-15 | 51bc0f1 | 38,206 B | B | view · diff |
| git:20261014.4fc0d8f | 2026-10-14 | 4fc0d8f | 38,015 B | B | view · diff |
| git:20261013.80a71b0 | 2026-10-13 | 80a71b0 | 37,860 B | B | view · diff |
| git:20261012.22ddb77 | 2026-10-12 | 22ddb77 | 37,705 B | B | view · diff |
| git:20261012.9a0ea6a | 2026-10-12 | 9a0ea6a | 37,835 B | B | view · diff |
| git:20261011.97ed0e9 | 2026-10-11 | 97ed0e9 | 38,067 B | B | view · diff |
| git:20261010.588ad01 | 2026-10-10 | 588ad01 | 37,383 B | B | view · diff |
| git:20261009.2157588 | 2026-10-09 | 2157588 | 36,173 B | B | view · diff |
| git:20261009.fb28305 | 2026-10-09 | fb28305 | 36,288 B | B | view · diff |
| git:20261008.16b4fcd | 2026-10-08 | 16b4fcd | 36,462 B | B | view · diff |
| git:20261008.9472579 | 2026-10-08 | 9472579 | 36,385 B | B | view · diff |
| git:20261007.66dfba3 | 2026-10-07 | 66dfba3 | 36,283 B | B | view · diff |
| git:20261006.789bbaa | 2026-10-06 | 789bbaa | 36,288 B | B | view · diff |
| git:20261006.60ec8a6 | 2026-10-06 | 60ec8a6 | 36,203 B | B | view · diff |
| git:20261002.d62d9e7 | 2026-10-02 | d62d9e7 | 36,011 B | B | view · diff |
| git:20261001.7c52d5a | 2026-10-01 | 7c52d5a | 35,942 B | B | view · diff |
| git:20261001.1f1192f | 2026-10-01 | 1f1192f | 35,958 B | B | view · diff |
| git:20260930.4c05e88 | 2026-09-30 | 4c05e88 | 35,888 B | B | view · diff |
| git:20260930.0ef405a | 2026-09-30 | 0ef405a | 36,070 B | B | view · diff |
| git:20260928.c0c28a3 | 2026-09-28 | c0c28a3 | 36,127 B | B | view · diff |
| git:20260927.10bd065 | 2026-09-27 | 10bd065 | 36,168 B | B | view · diff |
| git:20260927.cae4b25 | 2026-09-27 | cae4b25 | 36,034 B | B | view · diff |
| git:20260925.bbab1e8 | 2026-09-25 | bbab1e8 | 35,872 B | B | view · diff |
| git:20260925.64e499b | 2026-09-25 | 64e499b | 35,774 B | B | view · diff |
| git:20260925.3d5cc1e | 2026-09-25 | 3d5cc1e | 36,315 B | B | view · diff |
| git:20260924.7d9025c | 2026-09-24 | 7d9025c | 36,655 B | B | view · diff |
| git:20260924.45cf6e8 | 2026-09-24 | 45cf6e8 | 36,410 B | B | view · diff |
| git:20260922.ef21855 | 2026-09-22 | ef21855 | 36,704 B | B | view · diff |
| git:20260920.19266a5 | 2026-09-20 | 19266a5 | 36,621 B | B | view · diff |
| git:20260920.6928629 | 2026-09-20 | 6928629 | 36,634 B | B | view · diff |
| git:20260919.2ff006b | 2026-09-19 | 2ff006b | 37,121 B | B | view · diff |
| git:20260919.23cc4f4 | 2026-09-19 | 23cc4f4 | 36,310 B | B | view · diff |
| git:20260918.b6503e9 | 2026-09-18 | b6503e9 | 36,023 B | B | view · diff |
| git:20260918.d811143 | 2026-09-18 | d811143 | 35,784 B | B | view · diff |
| git:20260917.e89b128 | 2026-09-17 | e89b128 | 36,485 B | B | view · diff |
| git:20260915.f7f4a02 | 2026-09-15 | f7f4a02 | 36,319 B | B | view · diff |
| git:20260915.740dbc4 | 2026-09-15 | 740dbc4 | 36,159 B | B | view · diff |
| git:20260915.14c9d44 | 2026-09-15 | 14c9d44 | 35,945 B | B | view · diff |
| git:20260914.80f1393 | 2026-09-14 | 80f1393 | 36,043 B | B | view · diff |
| git:20260914.96d6ff3 | 2026-09-14 | 96d6ff3 | 36,260 B | B | view · diff |
| git:20260914.bbced51 | 2026-09-14 | bbced51 | 36,218 B | B | view · diff |
| git:20260913.cf556fa | 2026-09-13 | cf556fa | 36,136 B | B | view |
Audit of the latest version
- fail: No curl or wget piped into a shell (matched: curl url)`, `echo $(curl url)`, an argument, a `for` word list) only captures output and passes (#46)
- pass: Size between 200 bytes and 200 KB (38369 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 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
Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
bytedance/deer-flow · 84,344 stars · license MIT · pushed 2026-10-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5mdnolsdtd2le5m5 GET https://markdownregistry.com/api/v1/resolve?ref=bytedance/deer-flow/backend/packages/harness/deerflow/agents/middlewares/AGENTS.md GET https://markdownregistry.com/api/v1/blob/fcdf31d9759324d14fd5e46428d7ca823791c200fd3973b8deb5236bbd208ed8
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.