This post contributes to the understanding of agent memory and harness engineering by detailing how to give AI agents memory that learns and changes their behavior. It introduces a framework for agent memory that includes semantic, episodic, and procedural types, separating working memory from long-term memory. The read-write cycle for memory updates (read context, run, filter evidence for signal, write back) is explained, along with practical lessons on what to keep, caching strategies, and the necessity of human review for procedural changes. LangSmith and Context Hub are presented as tools for capturing, analyzing, and updating this context, enabling agents to improve over time.
All AI Engineer trails