Skip to content
2026 Respawn OSS

Kent server

Kent runs all its work through a local server process. Frontends are clients: TUI, desktop app, headless runs, and other local integrations all need the server to be running. To start the server, run kent serve.

See connection configuration for address selection and session resume behavior.

The server owns all long-running work: sessions, projects, runtime orchestration, background shells, tool execution, tasks, workflows, and storage.

Why? Because this:

  • Gives ability to fully isolate work on another machine, VM, or container. See Sandboxing for remote/container setup.
  • Drastically reduces resource consumption
  • Allows agents to work asynchronously during workflows.
  • Allows spawning agents on schedule and periodically.
  • Uses only about 25 MB of RAM while idle.

The easiest way to use Kent locally without manually running the server is via the system service:

Terminal window
kent service status
kent service install
kent service restart
kent service stop
kent service start
kent service uninstall

Install the service once, then restart it after updates.

See API keys and background services for provider credentials and the server’s .env file.

For server requests, set HTTP_PROXY, HTTPS_PROXY, and NO_PROXY in the server’s environment or its persistence-root .env file:

HTTP_PROXY=http://proxy.example.com:8080
HTTPS_PROXY=http://proxy.example.com:8080
NO_PROXY=internal.example.com,10.0.0.0/8

Alternatively, configure the global config.toml:

[proxy]
http = "http://proxy.example.com:8080"
https = "http://proxy.example.com:8080"
no_proxy = "internal.example.com,10.0.0.0/8"

The server resolves each value independently: process environment, persistence-root .env, then global configuration; workspace configuration does not apply.

CLI/TUI connections use their own proxy configuration: process environment, .kent/config.local.toml in the current directory, .kent/config.toml in that directory, then global configuration.

Restart each affected process after changing its proxy configuration.

Set HTTPS_PROXY explicitly for HTTPS connections; it does not inherit HTTP_PROXY.

Localhost and loopback connections bypass proxies; use NO_PROXY for additional hosts, domains, IP addresses, or CIDR ranges, or * to bypass all proxies.

Kent’s proxy configuration does not propagate to the shell commands the agent runs.

OS Service
macOS LaunchAgent
Linux / WSL2 systemd --user
Windows Windows Service
  • On Windows, uninstalling the service stops the server.
  • Linux headless machines may need lingering enabled so the server survives logout loginctl enable-linger "$USER".