> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Daemon (`packages/coding-agent/src/modes/daemon/`)

> Daemon mode (DaemonAgentConnection, DaemonClient) separates agent runtime from terminal/web clients. Protocol versions (DAEMON_PROTOCOL_VERSION, DAEMON_SCHEMA_REVISION) govern wire...

Daemon mode (`DaemonAgentConnection`, `DaemonClient`) separates agent runtime from terminal/web clients. Protocol versions (`DAEMON_PROTOCOL_VERSION`, `DAEMON_SCHEMA_REVISION`) govern wire compatibility. Capabilities (`packages/agent/src/protocol.ts`) must be negotiated; clients check before sending commands or depending on events. Startup must not require new capabilities without a gate.

Related: [Session runtime](/fleet-prime-agent/packages--coding-agent--session-runtime), [Daemon protocol](/fleet-prime-agent/reference/daemon-protocol)
