Skip to content

Agents

A session is one agent conversation tied to a project directory. The dashboard is the place you start, watch, stop, and continue it. The model you pick decides which provider CLI runs it — Claude Code or OpenAI Codex. See Model providers and API keys.

Launch

Plus in the agents list creates a client-only draft. Sending the first message runs agent.new and promotes the draft. Follow-ups use agent.continue. Older or archived sessions jump back to the top when you send again.

New and follow-up runs queue per project so you can keep adding prompts without two Claude processes editing the same tree. The next one starts when the current run exits. Right-click a queued session (or use Run now on the composer) to start it immediately beside whatever is already working. agent.stop on a queued session just takes it out of line.

You can keep typing on a session that is already working. Send becomes Queue and the prompt sits in an inbox above the composer. Edit or remove a waiting message there (agent.pending). When the run finishes, Nocturnal continues the same chat before it starts the next waiting agent. Stop leaves those messages in place so you can start them when you want. Archive or Remove from queue drops the inbox.

Loop sits next to Send. After each finish, or on a schedule (every hour, every weekday, …), with a count or until you stop. The first send is now. See Loop for the calendar-style options, what happens if Nocturnal was down, and CLI / MCP. Progress shows on the chat and the agents list. Stop loop cancels remaining repeats without interrupting the live run.

Plain click opens a session in the project's one agent tab. ⌘/Ctrl-click, Shift-click, or middle-click opens another. The top-right of the chat (and the list context menu) always offer Open in Terminal and Open in IDE. Open in Terminal (and Copy resume command) continues the chat in whichever CLI answered last — claude --resume … for Claude, codex resume … for Codex — because each CLI only holds the turns it ran.

The list makes status obvious: a pulsing orange orb while a session is working, a clock plus "Waiting" when it is queued behind another agent, an orange person badge beside the chat's name when it needs your reply, and a blue unread dot after a reply you have not opened. The two are separate: a chat asking for your feedback shows the badge and, until you open it, the dot as well, so its project gets the dot. That read state lives on the session (seenAt), not in the browser, so a restart or another window does not mark the whole archive unread. Right-click a chat and choose Copy link to get a nocturnal:// link to it; paste it into your notes and clicking it opens the Nocturnal app on that chat. Right-click any chat (long-press on a phone) and choose Mark as unread to put the dot back, on the chat and its project, until you open it again. It works on a chat that needs your reply too. The project rail uses the same priority on the right (running → queued → unread). Live ports show as a green line on the left of the rail row.

Names. A chat is named after its first message. When that message is long or runs over several lines (a pasted spec, a list), Nocturnal asks Claude Haiku for a short name of a few words in the background; the chat starts straight away and shows the first line until the name arrives. Plan builds, CI fixes and forks keep the names they are given. Rename a chat from its right-click menu and your name always wins: a generated name never replaces it, and clearing it goes back to the first line. Under each name the list shows what that chat did last, from the Changes log. Settings → Agents → Summarise changes and name chats turns the naming call off.

Mode and model sit on the composer:

  • Agent — existing permission setting (Claude --dangerously-skip-permissions, or the Codex workspace sandbox, when auto-accept is on)
  • Ask — read-only: write tools disallowed on Claude, --sandbox read-only on Codex
  • Plan — Claude --permission-mode plan; on Codex, read-only with a plan-mode prompt. Either way the plan is saved to the project
  • Model — opens a picker with two parts: the model, and its strength. Claude Auto (opus / sonnet / fable / haiku) follows the latest in that family; pin a version such as Sonnet 5.5 or Haiku 5.5 to stay on it. GPT models run through Codex instead. Groups whose provider is missing or signed out are marked with the reason and cannot be picked

Strength is how hard the model thinks on a run. Deeper costs more and takes longer; Default leaves it to the model, which is usually right.

The two providers differ here, and the picker follows each one rather than assuming they match. Claude takes the same five levels for every model — Low, Medium, High, Extra high, Max. Codex publishes a list per model, so the picker shows that model's own: GPT-6.1 Sol and GPT-6 Astra go up to Ultra, GPT-6 Luna stops at Max. Ultra is Codex-only. Switching to a model that does not offer your current level drops back to that model's default rather than failing the run.

Defaults come from Settings (agentDefaultMode, agentDefaultModel, agentDefaultEffort). The session stores the per-send override. Each row and the chat header show that session's spend. The context meter is occupancy of that model's window (612k of 1M), not a billing total.

Private chats. Chats are private by default: Claude and Codex keep no memory of what you say in them, so nothing from one chat carries into later chats or agents. Claude runs start with its auto memory off and Codex runs with its memories off. Your project's own files (CLAUDE.md, AGENTS.md) still load as usual. Turn it off in Settings → Agents if you want the CLIs to learn across chats.

Claude in Chrome. Claude runs start with the browser connected by default (claude --chrome), so an agent can use your Chrome through the Claude extension — in Agent, Ask and Planning alike. Turn it off under Tools in the model menu, or in Settings. It stays off until you turn it back on, on every device.

Your MCP servers. The MCP servers and claude.ai connectors you added to Claude Code are available in Ask and Planning too, not just Agent mode. Those modes still cannot write files; your servers act on their own systems as they always do. Turn it off under Tools in the model menu, or in Settings. Codex uses the servers in its own config, and the menu shows these rows as unavailable when a Codex model is picked.

Transcript

Claude stream-json nests text in message.content[]. Nocturnal skips thinking/system/heartbeat lines and shows tool rows from tool_use. Codex streams its own JSON events instead — agent messages, shell commands, and file changes map onto the same rows, and its reasoning items are dropped the same way thinking blocks are. Consecutive tools collapse into "N steps". While a group is running you see the latest 1–2 steps live.

User prompts are written as kind: user on send — Claude's stream does not include them.

Files

The History sidebar on the right has a Files tab: writes and edits for the open session (not reads). Click a row to open the git diff in Nocturnal IDE (ide.open with diff: true). Status / Changes / Commits sit next to it — see Changes.

File paths the agent mentions are links. A plan's file opens that plan in the Plans tab, a file one of your project scripts runs opens that script in the Scripts tab, and other markdown opens in the Docs tab. Anything else opens in Nocturnal IDE. Hold ⌘ (Ctrl on Windows) while clicking to send any of them to the IDE instead.

Stop and archive

Stop SIGTERMs the live process (then SIGKILL if it hangs) and leaves the session idle. Pending follow-ups stay; the next other queued session can start. Archive hides it from the default list; search still finds it. Archiving a queued session drops it from the line and clears its inbox.

Other devices

Sign in with your Nocturnal account, pick the computer running the project, and continue the conversation. The session runs on that laptop or desktop — not in a cloud sandbox. Phone → laptop and laptop → desktop are the same path: commands go to the engine on the target device. New chats go to the cloud by default so you can continue them. Settings → Cloud, or Keep on this Mac on one session, keeps that text on the computer. What we track is the public list.

The same session id is what you continue later. Unarchive stays on the composer. Open in Terminal and Open in IDE sit at the top-right of the chat. All launches (new, continue, adopt, version.cut) share one registry so Stop can find them.

If the provider is missing

Install that provider's CLI and log in. Nocturnal does not bundle credentials. A session fails with that hint instead of opening an empty chat, and names the CLI the model you chose needs. Model providers and API keys covers installing, signing in, and keys.