Egor Urvanov

Session

Harness

Session — one continuous conversation with an agent, from launch to exit or a reset. Everything the agent learned in it sits in its context and is gone when the session ends; only what was written to memory and files like CLAUDE.md carries over to the next session. The harness keeps the conversation itself in a session log, from which a past session can be brought back whole; in Claude Code with /resume or claude --continue.

CLAUDE.mdsessionagentcontext growsnext sessionagentfrom a clean slate✕exit or /clearcontext is gonesession log/resume, claude --continuesavedbring back wholememoryCLAUDE.mdstays between sessionswrite downread● model, people, systems, data  ● agent and harnessThe session ends and the context is gone; memory and CLAUDE.md stay, and the session itself can be brought back from the log

Frequently asked questions

What is an agent session?

One continuous conversation with an agent: from start to exit or reset.

What carries over to the next session?

Only what is written to memory and to files like CLAUDE.md. The rest disappears with the session’s context.

Source: Claude Code sessions docs

Where it appears · 15

More 10

Related terms

Whole glossary

© 2026 Egor Urvanov