Answer: You add persistent context by adding file paths or glob patterns to the resources array in your agent configuration file, which makes them available every time you use the agent. Resources use URI schemes such as file://, skill://, and knowledgeBase to specify the type. Status: Confirmed Entry: tool/kiro/memory-and-context/persistent-context-agent-resources Revision: 2 Digest: sha256:968379165f7f7608 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:36:14Z Last changed: 2026-11-20T13:19:29Z (Knowledge base scheme: — → knowledgeBase) Last verified: 2026-11-20T13:19:29Z Next check: 2026-11-21T13:19:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Configuration method | resources | [1] | 2026-11-20 Example resource | file://README.md | [1] | 2026-11-20 File scheme | file:// | [1] | 2026-11-20 Skill scheme | skill:// | [1] | 2026-11-20 Knowledge base scheme | knowledgeBase | [1] | 2026-11-20 Availability | automatically available in all chat sessions using this agent | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Context management - Chat - CLI - Docs - Kiro". https://kiro.dev/docs/cli/chat/context/ Role: primary. Accessed: 2026-11-20T13:19:29Z Quote: "The recommended way to configure context is through the resources field in your agent configuration file." (Supports: Configuration method) Quote: ""resources" : [ "file://README.md" , "file://docs/**/*.md" , "file://src/config.py" ]" (Supports: Example resource) Quote: "file:// — Files loaded directly into context at startup" (Supports: File scheme) Quote: "skill:// — Skills with metadata loaded at startup, full content loaded on demand" (Supports: Skill scheme) Quote: "knowledgeBase — Indexed content searched on demand (configured as objects, not URI strings)" (Supports: Knowledge base scheme) Quote: "These files will be automatically available in all chat sessions using this agent." (Supports: Availability) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: faec97ded77aaa3149d87a842618aa72943a0a8f2160c7b5c0716451a85023c3 (captured 2026-11-20T13:19:30Z) 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]. Cross-check: not-available at 2026-11-20T13:19:29Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:19:29Z Last attempt: 2026-11-20T13:19:29Z Notes and limitations: Extracted automatically from a single official source (section "Configuring persistent context with agent resources"). Related: https://latestn.com/tool/kiro/memory-and-context/remove-context How do I remove context from a Kiro CLI chat session? https://latestn.com/tool/kiro/memory-and-context/review-memory How can I review what Kiro remembers about my project? https://latestn.com/tool/kiro/memory-and-context/set-up-steering-files How do I set up steering files in Kiro? https://latestn.com/tool/kiro/memory-and-context/manual-compaction How do I manually trigger compaction in Kiro? https://latestn.com/tool/kiro/memory-and-context/memory-modes What are the memory modes in Kiro Crew and what does the agent remember? https://latestn.com/tool/kiro/memory-and-context/memory-vs-other-context How does Kiro's Memory interact with other context like steering and specs? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:19:29Z | changed | Knowledge base scheme: — → knowledgeBase | [1] 2026-11-20T13:19:29Z | changed | Skill scheme: — → skill:// | [1] 2026-11-20T13:19:29Z | changed | File scheme: — → file:// | [1] 2026-11-20T13:19:29Z | changed | Configuration method: — → resources | [1] 2026-11-20T13:19:29Z | changed | Example glob: file://docs/**/*.md → — | [1] 2026-11-20T13:19:29Z | changed | Config field: resources → — | [1] 2026-11-20T13:19:29Z | changed | Method: Add file paths or glob patterns to the resources array in your agent config → — | [1] 2026-11-13T03:36:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/memory-and-context/persistent-context-agent-resources/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/kiro/memory-and-context/persistent-context-agent-resources POST: https://latestn.com/dispute/tool/kiro/memory-and-context/persistent-context-agent-resources with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/memory-and-context/persistent-context-agent-resources?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add persistent context with agent resources in Kiro CLI? Revision 2, last verified 2026-11-20T13:19:29Z. https://latestn.com/tool/kiro/memory-and-context/persistent-context-agent-resources (accessed 2026-11-21T10:00:11Z). @misc{LatestN_tool_kiro_memory_and_context_persistent_context_agent_resources_r2, title = {How do I add persistent context with agent resources in Kiro CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/memory-and-context/persistent-context-agent-resources}}, note = {Revision 2; digest sha256:968379165f7f7608; last verified 2026-11-20T13:19:29Z; accessed 2026-11-21T10:00:11Z} } 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/kiro/memory-and-context/persistent-context-agent-resources