XO Space

Runtime Discovery

Understand active chat selection, watcher coverage, telemetry providers, native paths, and missing-source troubleshooting.

Space discovers the adapters bundled with the server and checks the runtime files it can read. Finding a CLI, selecting a chat backend, and displaying session telemetry are separate steps.

Three independent choices

LayerWhat it controlsHow it is selected
Active chat backendWhich runtime receives new prompts sent through Space's /api/chat/* API.AGENT_NAME, exposed in Setup. The local installer defaults to claude_code.
Watcher sourcesWhich native stores feed project presence, events, and derived project history.QUIRQ_WATCHER_SOURCE_MODE=all or active; the installer defaults to all.
Sessions dashboard providersWhich sources contribute to /xo/sessions.json.Discovered session_telemetry capabilities with readable data, independently of the active backend.

Space does not choose a new chat backend merely because its executable appears on PATH. A backend also needs its native login, credential, or gateway to be ready.

Supported runtimes

RuntimeChat backend valueExecutable / connectionNative state by defaultAggregate Sessions dashboard
Claude Codeclaude_codeclaude CLI~/.claude/; aggregate telemetry via ArgusYes, when its telemetry database is readable
Codexcodexcodex CLI$CODEX_HOME, otherwise ~/.codex/Yes
OpenClawopenclawConfigured gateway~/.openclaw/No aggregate provider in the current build
HermeshermesConfigured gateway/profile~/.hermes/No aggregate provider in the current build
Antigravityantigravityagy CLI~/.gemini/antigravity-cli/No aggregate provider in the current build
CursorNoneRead-only local telemetry~/.cursor/ and available desktop user-data storesYes

The five chat backends also have native session and watcher adapters. Cursor's read-only dashboard provider does not make it an active Space chat backend. Capabilities and data availability can differ even when two runtimes are installed on the same machine.

Inspect what Space can see

Open Setup and inspect the active agent, CLI readiness, watcher coverage, and Native session sources. The server reads the filesystem of the machine and user account it runs as. A Space in a container or remote workspace cannot infer the native stores on your laptop unless those stores are made accessible there.

Setup reports the active runtime and available native session sources

For a read-only API check:

curl -fsS http://localhost:5002/health
curl -fsS http://localhost:5002/api/runtime-config
curl -fsS http://localhost:5002/api/config/workspace

/health confirms the server is responding. /api/runtime-config provides the runtime and source diagnostics used by Setup; /api/config/workspace identifies the configured workspace roots. A healthy server alone does not prove that every runtime's telemetry is available.

Native path overrides

Use the same paths for Space that your runtime uses to write its data. Set them in the server's environment or install configuration and restart the server when required.

SettingUse
CODEX_HOMERedirect Codex's native state root. Space reads its session rollouts and available state database there.
ARGUS_DBRedirect the Claude Code aggregate telemetry database; default ~/.argus/argus.db.
CURSOR_HOMERedirect Cursor transcript/chat stores; default ~/.cursor.
CURSOR_USER_DATA or CURSOR_DATA_DIRPoint to Cursor desktop user data for available state.vscdb token snapshots.
CLAUDE_CLI_PATH or CODEX_CLI_PATHExplicit CLI paths where supported by the corresponding runtime configuration.

For gateway URLs, tokens, and other runtime settings, use the source checkout's .env.example and the runtime's own setup instructions. Keep credentials out of project files.

Troubleshoot a missing source

  1. Check the server user and machine. Confirm the native files are visible to the process running Space, not just to another terminal user or host.
  2. Check the executable and login separately. A missing CLI prevents dispatch; a missing telemetry store prevents observation. One can work without the other.
  3. Run one session in the project. Use a working directory under the configured XO projects root so the watcher can attribute it correctly.
  4. Check watcher mode. Choose all when you want project events from multiple supported runtimes. This setting does not add new aggregate Sessions providers.
  5. Inspect source-specific data. Claude Code aggregate telemetry needs Argus ingestion; Codex needs its native state database for the current collector; Cursor needs usable transcripts or desktop session data.
  6. Refresh and inspect the log. The server log path is printed at startup. Setup reports source paths and readiness. Sessions distinguishes unavailable providers from available sources with no matching rows; time windows apply to its Overview and Tools subviews.

The local installer installs Space's Python requirements, including its ingestion dependency, but skips agent CLI installation by default. Installing Space does not authenticate a runtime or recreate a missing native history.

Read observability to interpret incomplete token and cost data, or contributing to add a provider.