Skip to content

Daemon Commands

The daemon is a persistent background process that keeps LSP servers alive between queries. It starts automatically when you run any krait command.

Start the daemon in the foreground (usually not needed — it auto-starts).

Terminal window
krait daemon start

Stop the running daemon for the current project.

Terminal window
krait daemon stop

Show daemon status.

Terminal window
krait daemon status
  • Auto-start: The daemon starts automatically when you run any krait command in a project directory.
  • Per-project: One daemon per project root. Multiple projects = multiple daemons.
  • Socket: Communicates over a Unix domain socket at .krait/daemon.sock.
  • Shutdown: The daemon shuts down automatically after a period of inactivity.