Back to list

Session Management and Context Hygiene

How sessions work in Rakenne and how they tie into keeping your context clean.

  • beginner
  • 8 min read
  • 2026-02-12
Author Ricardo Cabral · Founder

In Rakenne, a session is the continuous conversation and workspace state for a project. Understanding how sessions work helps you keep context clean and use the agent efficiently.

What a session is

  • When you open a project and talk to the agent, you’re in a session.
  • The session includes the conversation history and the files in the project workspace.
  • As long as you stay in that project and don’t start a new session, the agent can use all of that as context.

Why session management matters for context hygiene

Context hygiene means giving the agent only relevant, up-to-date information. Sessions are the boundary of that context:

  • Same session — The agent remembers the full conversation and all current workspace files. Good when you’re iterating on one task.
  • New session — You start with a clean slate. Good when you’re switching to a different task, document, or set of assumptions.

If you keep reusing the same long session for unrelated work, the context gets noisy and the agent may underperform or use extra tokens. Starting a new session when the task changes is a simple way to keep context clean.

Sessions dropdown in the project workspace header: “Sessions” button with “New session” and list of sessions

How to start a new session

  • New project — Creating a new project gives you a new workspace and a new session.
  • Session reset (if available) — If your Rakenne setup offers a “new session” or “clear conversation” option for the same project, use it when you want to keep the files but drop the conversation history.

Check the app’s current UI for the exact way to start a new session in your environment.

Tying it together

  1. Use one session per focused task when possible.
  2. Start a new session when you change goals, switch documents, or want to avoid old context.
  3. Keep the workspace tidy so that within a session the agent only sees relevant files.
  4. Combine this with LLM context hygiene and using fewer tokens for a full approach to efficient, reliable use of the agent.

Ready to let your expertise drive the workflow?

Stop wrestling with rigid templates and complex tooling. Write your process in markdown, let the agent handle the rest.

Get Started