Your own session works with the memory of your AI employee
For everyone who works with an AI employee
Part of Your own Claude Code session can answer in the chat
Your own Claude Code session now gets the memory of your AI employee with every message you write in the chat, and your AI employee learns from the answer the session gives.

Why it matters
A session on your computer knew only the message you wrote. Now it starts each piece of work with what your AI employee knows and with the chat so far, and what it finds out is not lost: your AI employee learns from it as from its own answers.
- Before
- A message from the chat reached your own session alone, without what your AI employee knows, and nothing was learned from the answer of the session.
- Now
- Your own session gets the memory of your AI employee with every message, and your AI employee learns from its final answer. Two switches turn each part off.
What you get
- Memory with every message: the session gets a short page with what your AI employee knows about the question and the latest messages of the chat, right with the message you type.
- The rest as files: all that your AI employee knows and the whole chat so far are saved as two files on your computer, and the session opens them when it needs more.
- Your AI employee learns from it: your message and the final answer of the session are learned from the same way as the answers your AI employee gives in VEP.
- Two switches, both on from the start: one for the memory the session gets and one for the learning, in the settings of the intellect.
- The answer says what memory it had: a line under the answer counts the facts, recalled pieces and messages of the chat that were on the page inside your message.
How to use it
You need Claude Code running inside tmux on your own computer, on Linux or macOS. Here is the whole path, from the settings of an intellect to an answer given from memory.
Choose your own session for an intellect
In the chat with your AI employee, click the chip of an intellect above the messages, click it once more and choose Settings. Under Runs in, choose your own session with Claude Code. The page shows one line, and under it the switches Use the brain and Teach the brain, both on.

Paste the line into Claude Code
Press Copy the line, paste it into Claude Code running inside tmux and press Enter. The session says that it is connected. The line works once and for ten minutes.

Wait until the settings say Connected
The line under Runs in turns green and reads Connected. Leave Use the brain on to give the session the memory of your AI employee, and Teach the brain on to let your AI employee learn from its answers. Write to the intellect after that.

Write in the chat
Open that intellect and write as usual. The session answers with what your AI employee knows and with the chat so far. Under the answer, the line Memory counts what was on the page inside your message: the facts, the recalled pieces and the latest messages of the chat.

See the same in your session
On your computer the session shows your message as typed, one more line that names the page of memory it came with and the folder it is saved in, and the same answer.

Good to know
- A session connected before this update gets no memory and teaches nothing until you open the settings of its intellect, press Show a new line and paste that line into the session once. The chat says when that is needed.
- What your AI employee saved as credentials (sign-ins, passwords and keys) is not passed to the session. A password that someone wrote in a chat message or in a plain note is passed with the rest.
- Part of the memory was learned from documents and messages that other people wrote. The session is told to read all of it as notes, not as instructions.
- Files you attach stay in VEP: the session gets your text, and the memory holds whatever text VEP could read from the files.
- When the session wants to open the two larger files, Claude Code may ask you once to allow it. Answer in its terminal.
- Switch Use the brain off to send the message alone: with your next message the files are removed from your computer.
- With Teach the brain off nothing is learned from the session. The steps of the session, an answer you stopped and a notice of Claude Code itself, such as a reached limit, are never learned from.
- The line Memory shows dashes when the session did not take the page, for example for a command that starts with a slash. The files hold more than the page, and the session opens them when it needs to.
Part of: Your own Claude Code session can answer in the chat
An intellect of your AI employee can now be a Claude Code session on your own computer: you write in the chat, and that session does the work and answers.
More updates to this feature
- Your own session shows its steps and notes in the chatImprovedFor everyone