Context Engineering
Agent Context Memory and Retrieval Guides and Resources
Study layered and external memory, agentic retrieval, RAG, and the effects of prompting on system behavior.
Remembering a preference, resuming a task, and retrieving a document are different context problems. Compare Claude Code and Gemini CLI memory designs, external memory, RAG, and agentic retrieval here. Personality and PUA prompting articles examine instruction effects; read their experimental limitations rather than treating a headline as a performance guarantee for every task.
Articles and supporting resources
Use the titles and summaries to find the question closest to yours. Resource entries lead to their preview and download pages.
- Article Decoding Claude Code: 10 Highlights (Part 8) — The 3-Tier Agent Memory Scope An in-depth look at Claude Code's 3-tier memory architecture. By segmenting user, project, and local scopes, it prevents context pollution and boosts AI utility.
- Article AI Gets Gaslit: Boosting Performance by 50% with Corporate PUA Tactics Discover PUAClaw, an open-source project that turns corporate workplace manipulation tactics into effective prompt engineering for better AI performance.
- Article Google Just Flipped the RAG Table: Gemini File Search Deep Dive and Economics Breakdown Deep analysis of how Google's Gemini File Search simplifies complexity through managed RAG paradigm shift, plus economic model comparison with OpenAI.
- Article DeepSeek's New OCR Explained in Jianghu Terms: I Hereby Crown DeepSeek the Dark Arts Overlord DeepSeek-OCR revolutionizes traditional OCR with optical context compression technology, processing documents with extreme efficiency and showcasing a new AI input paradigm.
- Article Is RAG Dead? Claude Core Developer Proposes Agentic Retrieval Claude core developer proposes Agentic Retrieval, challenging traditional RAG paradigm — trusting AI's own reasoning ability is key to future AI engineering.
- Article Does AI Have MBTI? I Dissected Top Conference Papers to Create an AI 'Personality Injection' Playbook Deep analysis of top conference papers — master the practical handbook for injecting specific personalities into AI using MBTI, helping you build AI assistants with more soul and professionalism.
- Article Claude Code External Memory: The MemoryCog Architecture A Claude Code external memory architecture using MemoryCog, persistent Markdown logs, custom commands, and an eight-layer prompt for recording and retrieval.
- Article Deep Dive: Claude Code's 'Agentic Search' and Workflow Engine [Technical] A deep analysis of Claude Code's Agentic Search and Stateful Toolchain, revealing how it empowers efficient software development workflows by simulating human codebase exploration.
- Article Learning Agent Development with Google Gemini CLI (Part 3): How Does Gemini CLI 'Remember' Key Information? Learn how Gemini CLI manages global, project, and local memory through its hierarchical instructional context system for persistent AI cognition.