Agents

Supported agents

The agents Nems recognizes, and how it knows when one is working, done or needs you.

Run an agent in any pane as you normally would. There's nothing to set up: Nems recognizes these agents when they start, and reads their screen to tell whether they are working, need you, or are done.

Amp Antigravity Claude Code Cline
Codex Cursor Agent Devin Droid
Gemini CLI GitHub Copilot Grok Hermes
Kilo Code Kimi Code Kiro Letta Code
Maki MastraCode Muse OMP
OpenCode Pi Qoder Qwen Code

Nems also finds them when they are started through node, bun, deno, python or a shell script.

Any other program works in Nems too. To show its status, have it report its status with one escape sequence.

What the statuses mean

Status Meaning
Working The agent is busy.
Needs you It's waiting for you: Needs permission, Has a question or Needs sign-in.
Done It finished. It shows Done until you look at its pane.
Failed It stopped with an error.
Idle It's waiting for a new task.

You see the status in the Agents list in the sidebar, on the workspace (a count of agents that need you), in the menu bar, on the Dock icon and in notifications. Click a notification to go to the agent's tab.

Choose what notifies you in Settings › Alerts: Notify me when an agent needs me and Also notify when an agent is done, each with its own sound. Do Not Disturb (⌥⇧⌘D) silences them for a while.

Needs you comes first in the sidebar. The pane header and the tab show the same status.

Claude Code

Claude Code reports its own status to Nems, so it's the most precise. Nems adds its hooks when Claude Code starts in a pane, and leaves your own Claude settings untouched. The hooks only tell Nems what Claude asks; they never answer for you.

To run Claude Code without Nems' hooks, set NEMS_NO_AGENT_HOOKS=1 in the pane, or in the workspace's Environment variables.

Give your agents more

Variables in every pane

Each pane has these environment variables, which scripts and agents can use:

Variable Value
NEMS_PANE_ID The pane's id.
NEMS_WORKSPACE_ID The workspace's id.
NEMS_WORKSPACE The workspace's name.
NEMS_SESSION_ID The pane's session.
NEMS_SOCKET The Nems server's socket.
NEMS_BIN The path to the nems command.
NEMS_SANDBOX Set when the pane is sandboxed.

Something missing or unclear? Tell us