Answer: Keep critical instructions near the top and keep always-on guidance under 16 KiB, moving longer or situational guidance into skills or referenced files. Devin automatically includes up to 16 KiB (16,384 bytes) from the beginning of each AGENTS.md file, and instructions after the limit are not included automatically. Status: Confirmed Entry: tool/devin/memory-and-context/structure-long-agents-md Revision: 1 Digest: sha256:ff307adc5f312c0c (changes whenever the content changes) Timeline: Created: 2026-11-14T12:43:22Z Last changed: 2026-11-14T12:43:22Z Last verified: 2026-11-20T12:46:51Z Next check: 2026-11-21T12:46:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of context limit | 16 KiB (16,384 bytes) | [1] | 2026-11-20 recommended always-on guidance size | under 16 KiB | [1] | 2026-11-20 where to put longer guidance | skills | [1] | 2026-11-20 placement of critical instructions | near the top | [1] | 2026-11-20 Sources: [1] Cognition. "AGENTS.md files for Devin". https://docs.devin.ai/onboard-devin/agents-md.md Role: primary. Accessed: 2026-11-20T12:46:51Z Quote: "Devin automatically includes up to 16 KiB (16,384 bytes) from the beginning of each `AGENTS.md` file in its context." (Supports: context limit) Quote: "keep always-on guidance under 16 KiB" (Supports: recommended always-on guidance size) Quote: "move longer or situational guidance into [skills](https://docs.devin.ai/product-guides/skills.md) or referenced files." (Supports: where to put longer guidance) Quote: "Keep critical instructions near the top" (Supports: placement of critical instructions) Published: 2026-11-20T09:55:38Z Snapshot SHA-256: c7d5cf9b994f3e3e12b86f035939231fe6fc0762e7fe85058d42549fc2363315 (captured 2026-11-13T03:15:10Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-14T12:43:22Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:46:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:46:51Z Last attempt: 2026-11-20T12:46:51Z Notes and limitations: Extracted automatically from a single official source (section "Creating an AGENTS.md File"). Related: https://latestn.com/tool/devin/memory-and-context/view-manage-memory How do I view and manage what Devin remembers about me? https://latestn.com/tool/devin/memory-and-context/what-devin-remembers What does Devin Memory remember across sessions? https://latestn.com/tool/devin/memory-and-context/what-is-knowledge What is Devin Knowledge and what should I put in it? https://latestn.com/tool/devin/memory-and-context/manage-knowledge-base How do I manage Devin's knowledge base entries? https://latestn.com/tool/devin/memory-and-context/manage-memories-rules How do I access and manage Cascade memories and rules in Devin? https://latestn.com/tool/devin/memory-and-context/rules-storage-locations Where are Cascade rules stored and how does Devin discover them? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-14T12:43:22Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/memory-and-context/structure-long-agents-md/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/memory-and-context/structure-long-agents-md POST: https://latestn.com/dispute/tool/devin/memory-and-context/structure-long-agents-md with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/memory-and-context/structure-long-agents-md?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How should I structure longer AGENTS.md guidance for Devin? Revision 1, last verified 2026-11-20T12:46:51Z. https://latestn.com/tool/devin/memory-and-context/structure-long-agents-md (accessed 2026-11-21T09:57:15Z). @misc{LatestN_tool_devin_memory_and_context_structure_long_agents_md_r1, title = {How should I structure longer AGENTS.md guidance for Devin?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/memory-and-context/structure-long-agents-md}}, note = {Revision 1; digest sha256:ff307adc5f312c0c; last verified 2026-11-20T12:46:51Z; accessed 2026-11-21T09:57:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/memory-and-context/structure-long-agents-md