A practical guide to designing AI agents that remember what matters without storing everything, polluting recall, or overwhelming the active prompt.