Your first session
What happens in a session once your agent has a memory: the briefing at the start, searching while it works, saving what it learned, and seeing it all in your cortex.
On this page
Open a new session with a connected agent and work as you normally would. Here’s what changes.
It starts with a briefing
Before you type anything, the session-start hook hands the agent a briefing from your cortex: the current facts, the accepted decisions, the latest memories, the facts due for a recheck, and the tags in use. On a new cortex it’s short. It grows as you work.
It looks things up
When the agent reaches something it doesn’t know, such as why a module is built a certain way, it searches the cortex with search_memory. Search works by meaning, so “how are dates stored” finds a decision called “Store times in UTC”.
It saves what it learned
As it works, the agent writes down what’s worth keeping:
- What it learned, as a memory: “The login bug was a time zone mix-up”.
- What you decided together, as a decision, with the reason.
- Stable facts, each with a source it can be checked against.
You don’t have to ask. If it changed files and saved nothing, the reminder hook nudges it before the session ends. To save on demand, type /memorinth-save.
See what it saved
Open the cortex in the app, or in any editor. Notes from agents are in memory/, decisions/ and facts/, and each says which agent wrote it, such as source: agent:claude-code.
To see how agents used the cortex over time:
$ memorinth usage --todayTry it
Fix something small with your agent, tell it why you chose one approach over another, and close the session. Open a new one and ask it why that approach was chosen. It knows.
Then read How agents use it for what happens underneath, and What goes where to get the most from it.
Updated