Agent MemoryAgent Memory Techniques
Token Buffer Memory
Trim conversation history to fit a strict token budget. Use a real tokenizer, because message count is a poor proxy for context window usage.
About this tutorial
This hands-on Jupyter notebook is part of Agent Memory Techniques, a free open-source repository by Nir Diamant covering agent memory techniques with runnable code examples and detailed explanations.
Free and open-sourceRunnable Jupyter notebookActive community support
