From scratch
AI Agent Memory: Long-Term Memory for a Claude Agent in TypeScript (2026)
A runnable 2026 tutorial: build short-term and long-term memory for a Claude agent in TypeScript with message buffers, rolling summaries, and a durable fact store. No vector database required.
8 min read2