# Long sessions

> Keep an eye on the context, compact it, resume after a usage limit, hand off to a fresh agent, and keep a journal.

Source: https://docs.neurosquad.ai/en/agents/long-sessions

Agents that work for hours run into limits: their memory (the **context**) fills up, and your plan's
**usage limit** runs out. NeuroSquad helps with both.

## Context meter and Compact

The small ring in the agent card's header shows how full the context is. Past 80% it turns amber.
Click it for the token breakdown and:

- **Compact** — asks the agent to summarise the conversation so far and carry on from the summary.
- Or **hand off** to a fresh agent (below).

## Auto-resume after a usage limit

When an agent stops with a "usage limit reached" message, its header shows a countdown to the reset.
Switch on **Auto-resume after a usage limit** (in that chip's popover, or in the card's ⋯ menu), and
NeuroSquad sends "continue" to the agent at that time — so an overnight job carries on by itself.
**Resume now** and **Dismiss** are right there too.

## Hand off to a new agent

**Hand off to a new agent…** in the ⋯ menu starts a fresh agent beside this one, in the same folder,
on any agent program you like. It comes with a summary of the work so far — press **Ask the agent to
write it**, or write and edit it yourself. The summary is typed into the new agent, not sent, so you
can check it before pressing Enter.

## Journal

Turn on **Journal to linked note** in the ⋯ menu, and each finished answer is added to a connected
[note card](https://docs.neurosquad.ai/en/cards/note) — a running log of what the agent did.

> The context meter, Compact and the journal work with Claude Code, OpenCode, Kilo Code and Hermes Agent.
