Daemon
The UXC daemon exists to support reuse, lifecycle management, and background runtime features that do not fit cleanly into one-off CLI calls.
What It Handles
- session reuse for MCP transports
- background subscriptions
- local runtime invocation over a stable socket
- daemon status and session inspection
Guides
Local App Integration
UXC also ships a TypeScript daemon client for local applications:
npm install @holon-run/uxc-daemon-client
Notes
The daemon is especially useful when auth resolution, session reuse, or background subscriptions should stay outside one-off CLI processes.
Daemon APIUXC exposes a stable local daemon control plane over a Unix socket using `Content-Length` framed JSON-RPC 2.0.Logging and TroubleshootingUXC uses structured logging through `tracing`. Logs go to `stderr` so JSON output on `stdout` remains machine-parseable.Run as a Managed ServiceRun `uxc` daemon under a service manager when runtime auth environment must stay stable across requests.