Skip to content

Agent graph

Agents window → Graph. The graph is a tab (it can be moved to its own window like any tab). It shows running agents grouped by project, their subagents, the shells they started for tools and the processes under them. It refreshes every 3 s.

The agent graph with two projects

  • processes: /bin/ps -axww -o pid=,ppid=,uid=,pcpu=,etime=,command=;
  • Claude Code: ~/.claude/sessions/ (which pid holds which session) and the transcripts; subagents from subagents/*.meta.json next to the transcript;
  • Codex: ~/.codex/sessions/;
  • Mr. Paperclip: live/<pid>.json in spinacz-sessions/;
  • Antigravity (agy): recognised by its process only.

Nothing is sent to the agents and nothing in the projects is run.

Control What it does
Filter Filters by title, folder, pid, command.
Open projects / All agents Open projects: Agents folders, projects open in a running JetBrains IDE, and agents in KryoDesk or IDE terminals. All agents: every agent process of your user.
Orphaned Also agents with no terminal, IDE or app above them (adopted by launchd or run by a daemon).
Helpers Shows the agents’ housekeeping processes (caffeinate).
Counters Agents, working, subagents running, processes.
Zoom out / percentage / zoom in / Fit Scroll and pinch zoom too; the percentage resets to 100 %.
Refresh Refreshes now.
Node Shows
Project Name and where it is open (KryoDesk, an IDE name).
Agent Title, agent, model, pid, state, running time.
Subagent Type (e.g. general-purpose, Explore), model, running or finished. Dashed border while running.
Tool shell The command the agent runs, pid, CPU, time.
Process A process under a tool shell.

Take over on agent nodes

Take over on an agent held by another process (a terminal outside KryoDesk, an IDE, another window) ends that process and resumes the session in a KryoDesk tab. For a session that already has a KryoDesk tab the button shows the tab.

Steps:

  1. Mr. Paperclip asks to confirm: End pid N and resume here.
  2. KryoDesk checks the target again: the agent’s files still point at this pid, the process is the agent’s CLI, it belongs to your user, it is not KryoDesk or one of its parents, and its start time is the one seen in the graph (a reused pid is refused).
  3. SIGTERM, then up to 5 s of waiting.
  4. The session opens in a tab with --resume.

If the process does not end, the message offers Force: SIGKILL pid N.

Right click on a node:

Item Node
Show tab / Take over session… agent
Copy session id, Copy pid, Copy command, Copy folder agent
Copy transcript path, Copy description subagent
Copy tool command, Copy command line, Copy pid tool shell, process
Copy path, Add to Agents folders project
Kill pid N (SIGTERM)…, Force kill pid N (SIGKILL)… agent, tool shell, process

Kill asks for confirmation; when the process has children, the message offers the pid alone or pid N and M under it. Processes still alive afterwards can be ended with Force: SIGKILL.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close