Agents
An agent is a saved identity: a name, persona, provider preference, and memory. A session is a running terminal process. You can create or edit an agent without starting a session, then launch a shell when you want it to work.
This separation is useful when you return to the same role often. A review agent can keep review instructions while a research agent keeps a different purpose and working folder. Starting either agent does not require rebuilding its configuration by hand.
What persists
The agent's identity and recorded configuration survive a session ending. The running process does not. Closing your laptop or stopping Nexus does not hand local execution to a cloud service.
Recorded memory can help the next session, but it does not guarantee that every detail from a previous conversation is available. Inspect what was saved and review pinned instructions when the project changes.
What governs its actions
Nexus tools use explicit scope, capability, and approval checks. The agent's mode and individual tool policies combine to decide whether a write runs, asks, is blocked, or is collected into a plan.
A provider running in a shell also has its own controls and operating system access. Nexus capabilities are not a sandbox around arbitrary shell commands.