
Agent Architecture
Short-Term and Long-Term Memory Architecture for Agents
Agents need episodic, semantic, and procedural memory to survive between sessions.
Marcus Szymański · September 16, 2026 · 10 min read
▸ Latest
A technical guide to architecting and shipping AI agents that act on live web data — covering tool design, failure modes, and production dec








Agents need episodic, semantic, and procedural memory to survive between sessions.

Enforcing agent boundaries in code prevents failures that prompts can't fix.

ReAct handles surprises better, but Plan-and-Execute cuts costs if you can plan upfront.

Live web retrieval lets AI systems answer with current information instead of stale training data.

Silent failures let AI systems confidently hallucinate when scrapers return empty pages.