Your AI agent forgets everything when the session ends. This lets it save where it is and pick up where it left off, in a brand-new session or from another of your agents, so you don't re-explain the project and it doesn't re-read the whole codebase.
Notes are stored encrypted with your key: without it, what's on disk can't be read. Memory is kept 90 days after it was last used.