Skip to content
KG.
  • Blog
  • Hire me, or see what I ship.

    • ProjectsCase studies & shipped work
    • ServicesWork with me
    • SponsorSponsor the blog
  • Essays and references on AI engineering.

    • BlogEssays on AI engineering
    • Learning PathsGuided curricula
    • Topic PillarsDeep-dive hubs
    • GlossaryAI & dev terms, defined
    • CheatsheetsQuick references
    • ComparisonsX vs Y, decided
  • Things to click, play, and take apart.

    • Tools29 dev & AI utilities
    • Games16 browser games
    • DemosInteractive explainers
    • ChallengesDaily coding puzzles
  • Me

    • AboutWho I am
    • UsesMy gear & setup
    • ResumeCV (PDF)

    Shelf

    • BookshelfBooks I recommend
    • Reading ListWhat I'm reading
  • Subscribe
  • Let's talk
  1. Home
  2. ›
  3. Blog
  4. ›
  5. Memory Management

Memory Management

2 posts tagged #memory-management

a computer screen with a bunch of code on it AI and Machine Learning

AI Agent Memory State Management Guide

Production AI agents fail silently without proper memory and state management. Here's the four-tier memory architecture, durable resumption patterns, and framework implementations in LangGraph, CrewAI, and raw Python.

July 4, 2026 16 min read
Read more
Context Engineering for AI Agents: 4 Pillars That Replace Prompt Engineering [2026] AI and Machine Learning

Context Engineering for AI Agents: 4 Pillars Beyond Prompts

Context engineering — the systematic management of what an AI agent knows, remembers, and can access at each step — is the discipline replacing ad-hoc prompt engineering. Here are the four pillars that make or break production agents.

June 20, 2026 10 min read
Read more

Keep exploring

Close to this topic, not on this page.

  • AI Agent Control Flow Patterns: Retries, HITL, Checkpoints A practical catalog of ai agent control flow patterns that actually ship: bounded retries, idempotent tools, durable checkpoints, human… 11 min read
  • Generative AI vs Agentic AI vs AI Agents, Explained Everyone's told to 'go agentic', but nobody agrees on what that means. 13 min read
  • Evaluate AI Agents in Production: 3-Level Framework Most AI agent failures trace back to missing evals. 16 min read

Content

  • Blog
  • Topic Pillars
  • Learning Paths
  • Games
  • Demos

Resources

  • Tools
  • Glossary
  • Cheatsheets
  • Comparisons
  • LLM Prices
  • Embedding Prices

About Me

  • About
  • Uses
  • Bookshelf
  • Reading List

Meta

  • Subscribe
  • Changelog
  • Sitemap
  • Privacy
  • Terms
  • RSS
KG

Building intelligent systems. Still chasing those sour icecreams.

Made with coffee and curiosity in Toronto. 2026.