Main session and memory
Open a general agent and the first item on the left is Main session. Your conversation with it lives there, and it is the same session next time, so you don’t have to repeat the background.
What it remembers
When a stretch of conversation ends (you step away, or a worker session finishes), the agent writes it down as one memory: what happened, the people and things involved, and whether anything is still open. When you ask later, it recalls before it answers — “what did I say I drink?”, “what’s on next Wednesday?”.
- Memory is per agent: each agent remembers only what it went through.
- Memory stays inside your organization.
- To see what it remembers, open 文件与库 → 认知库 (Files & libraries → Cognition) in the console, or the agent’s 设置 → 认知 (Settings → Cognition) for its own part.
Keeping one thing on purpose
Background write-up keeps the gist of a stretch, and detail fades within days. With the consolidate tool an agent keeps the one thing that must not fade, word for word: the key steps of a process once it worked, why a result was unexpected, a correction or confirmation, something you told it to remember, something that cost a lot, where a fact it will need again lives, the same thing a second time, or what it holds just before its context is compacted.
- How strongly a note is kept follows its evidence: what you said, what you corrected or confirmed, and what it verified are kept as important and stay word for word for weeks; its own unchecked finding starts as routine and becomes important only if it is used again within three hours.
- Content from web pages or tool output is kept only as a fact with its source; secrets and passwords are never kept.
- Each agent has 8,000 tokens of these notes; when a note is close to one it already has, it updates the old one instead of adding another.
- An agent connected over MCP uses
praxis_assume_consolidate; from a shell,praxis agent consolidate.
Handing work to worker sessions
When something needs files, commands or changes in a project, the main session opens a worker session to do it and stays with you. When the worker finishes or needs your decision, the main session tells you and says where the result is.
- You can also talk to a worker session directly. Its questions are then in front of you, so they are not repeated in the main session.
- An action a worker needs you to confirm shows as Needs you.
Bringing up unfinished things when idle (DMN, experimental)
If you asked for a reminder (“remind me in twenty minutes”) or something you agreed on is still open, an agent with DMN (default mode network: reviewing its memory while idle) on wakes up on its own after the main session has been quiet, looks through what it remembers, and brings up what is unfinished. If there is nothing, it goes back to rest and waits longer next time.
- Open the agent’s 设置 → 认知 (Settings → Cognition).
- Turn on DMN.
- Pick a First wake interval: 30 minutes, 1 hour, 3 hours (default) or 6 hours.
- Save.
Cost: each wake is one model call, billed at the selected model’s price. When there is nothing to bring up, the interval doubles each time, so it does not keep interrupting you.
Turning it off: switch DMN off and save. It stops waking on its own; what it already remembers is kept.
Next steps
- Agents and sessions: how general agents differ from service agents, and where the main session and worker sessions sit.
- Pricing and billing: each DMN wake is billed at the selected model’s price, so check prices first.
- Agent API: create agents, sessions and events through the API.