Skip to content
Kalvyr
Features Free & Pro Docs
Get Kalvyr

Kalvyr docs

Commands, options and the agents Kalvyr follows

  1. Quick start
  2. Options
  3. Useful commands
  4. Terminal alerts
  5. With the desktop app
  6. Supported agents
  7. Sessions from other places
  8. Pro from the terminal
  9. Troubleshooting

Quick start

In your project folder, run:

$npx kalvyr

Kalvyr scans the folder, opens the map in your browser at http://127.0.0.1:4317 and keeps running in the terminal. While it runs, the terminal shows what needs your attention as your agents work. Press Ctrl+C to stop it; the map is saved first.

You need:

  • Node.js 20.11 or later, for npx. The desktop app doesn't need it.
  • At least one coding agent working in the folder: Claude Code or Codex. Nothing is installed in the agent and no settings change.

Kalvyr only listens on 127.0.0.1, on your computer. It reads your files and your agents' session logs there and never uploads your code.

Options

OptionWhat it does
[project folder]The folder to map. Defaults to the folder you run the command in.
-p, --port <number>Port for the local service. Default 4317. Without this option, Kalvyr picks a free port if 4317 is taken by another program; with it, it stops with an error instead.
--no-openDon't open the browser. Open the address it prints yourself.
-q, --quietDon't show alerts in the terminal.
-v, --versionShow the version.
-h, --helpShow the help.

Useful commands

Map the folder you're in

$npx kalvyr

Map another folder

$npx kalvyr ../my-app

Use another port

$npx kalvyr --port 4400

Keep the browser closed

Handy on a remote machine: open the printed address through your own tunnel or port forward.

$npx kalvyr --no-open

Only the map, no terminal alerts

$npx kalvyr --quiet

Always the latest version

$npx kalvyr@latest

Terminal alerts

While Kalvyr runs, the terminal prints one line for each thing worth knowing. Everything else stays on the map.

⚠ 14:46  ✻ Claude Code and ◎ Codex are both editing server/api/orders.ts (Application API)
↻ 14:52  ◎ Codex reread src/checkout/form.tsx 3× without editing: it may be going in circles (Checkout)
✓ 14:58  Project checks passed
▸ 15:01  ✻ Claude Code started: Connect the checkout form (Checkout)
LineWhen it appears
⚠Two or more agents edited the same file in the last 10 minutes, including an edit an agent has started but not finished. Their changes may overwrite each other. Shown once per file and set of agents; it also appears straight away for overlaps already under way when you start.
↻An agent read the same file three separate times without editing anything. It may be going in circles.
✓ ✗A check finished: one you ran from Kalvyr (Run checks), or a test or build an agent ran and reported in its session.
▸An agent started the next step of its plan, with the components that step changes. Plans are read while Show agent messages is on in Kalvyr's Settings.

Each agent has its own symbol and colour: ✻ Claude Code and ◎ Codex. In a line, the agent and what it did are in its colour, the file or step is bright, and the component is dim. When two sessions of the same agent are running, the line names the session too.

Windows Terminal, VS Code, iTerm2 and WezTerm show the exact colours; other terminals show the nearest of 256. Set NO_COLOR=1 to turn colours off (the symbols stay). Use --quiet to turn the lines off.

Running several agents at once? See how to run multiple Claude Code agents without them getting in each other's way.

With the desktop app

If Kalvyr is already running on the port (the desktop app, or npx kalvyr in another terminal), the command doesn't start a second one. It uses that one instead:

  • Same folder: it leaves the map as it is and shows its alerts in your terminal.
  • Another folder: it switches that Kalvyr to your folder, then shows its alerts.

Ctrl+C then stops only the alerts in your terminal; the Kalvyr it attached to keeps running. With --quiet, the command opens the folder and exits straight away.

The desktop app and npx kalvyr keep their maps, settings and sign-in in the same place, so a project looks the same in both.

Supported agents

Kalvyr reads the session logs each agent already writes on your computer. Only sessions working in or around the mapped folder are shown.

AgentSessions read fromNotes
Claude Code~/.claude/projects
or $CLAUDE_CONFIG_DIR/projects
Plans from its task list and plan mode. Chat and AI descriptions in Kalvyr.
Codex~/.codex/sessions
or $CODEX_HOME/sessions
Plans from its task list. Chat and AI descriptions in Kalvyr.

Sessions from other places

Sessions in running WSL distributions are found automatically on Windows. For agents running in a container, on another machine or in a synced folder, tell Kalvyr where their logs are with environment variables:

VariableWhat it does
FORMA_SESSION_DIRSExtra log folders, separated by ;, each with its agent: claude-code= or codex=.
FORMA_PATH_MAPPaths as the agent saw them, mapped to your folder: /workspace=D:\code\my-app. Several pairs are separated by ;; the longest match wins.
FORMA_HOMEWhere Kalvyr keeps its maps, settings and sign-in. Default ~/.forma.

For example, in PowerShell:

>$env:FORMA_SESSION_DIRS = "claude-code=\\nas\mounts\claude;codex=D:\sync\codex\sessions"

And in bash or zsh:

$FORMA_PATH_MAP="/workspace=$HOME/code/my-app" npx kalvyr

Pro from the terminal

Pro works the same with npx kalvyr as in the desktop app. Open the map, choose Sign in and confirm in your browser. Your sign-in is shared with the desktop app. Agent chat and live preview need Pro; the map, tracking and alerts are free. See Free & Pro.

Troubleshooting

“Port 4317 is in use”

You chose that port with --port, and another program holds it. Pick another, such as npx kalvyr --port 4400. Without --port, Kalvyr picks a free port by itself.

An agent doesn't appear on the map

  • Check that the agent is working in the mapped folder, or in a folder inside it.
  • Open Agents in Kalvyr: each agent's log folder is listed with how many sessions were found. “No logs found” means Kalvyr looked in the default place; if your agent keeps its logs elsewhere, set the variable from Supported agents or FORMA_SESSION_DIRS.
  • New sessions appear within a few seconds of the agent's first step.

The alert symbols show as boxes

Older Windows consoles lack these characters. Windows Terminal, recent PowerShell and most macOS and Linux terminals show them. Colours can be turned off with NO_COLOR=1.

The command opened my project in the desktop app

Kalvyr was already running there, so the command used it instead of starting a second copy. Stop the desktop app first if you want a separate one, or start the second one on another port with --port.

Kalvyr Watch your software take shape.
DocsMultiple agents guidePrivacyTerms
© 2026 Kalvyr