-
Notifications
You must be signed in to change notification settings - Fork 0
Daemon
github-actions[bot] edited this page Apr 18, 2026
·
2 revisions
The always-on background service that powers all ClawDE functionality. Written in Rust for performance and reliability.
clawd is a long-running process that starts at login and runs in the background. It owns the filesystem, manages sessions, runs validators, and serves the API that all UIs connect to. When you close the desktop app, the daemon keeps running — your AI sessions continue in the background.
| Feature | Description |
|---|---|
| Background service | Runs as launchd (macOS), systemd (Linux), or Windows Service |
| Auto-start | Registered with OS service manager, starts at login |
| Local API | HTTP + WebSocket server on localhost |
| Health monitoring |
/health and /version endpoints |
| SQLite storage | Repos, sessions, profiles, settings |
| JSONL event logs | Per-session append-only event streams |
| Repo registry | Track registered repos with file watchers |
| Git integration | Branch and status awareness via libgit2 |
| Graceful shutdown | Clean resource release, pending write flush |
| Configuration |
config.toml with hot-reload support |
clawd start # Start the daemon
clawd stop # Stop the daemon
clawd status # Check if daemon is running
clawd install # Register with OS service manager
clawd uninstall # Remove from OS service manager- On first install,
clawd installregisters with your OS service manager - The daemon starts automatically at login
- It opens a local HTTP + WebSocket server (default:
localhost:4300) - Desktop, web, and mobile apps connect to this API
- All state is stored locally in
~/.clawd/(SQLite database + JSONL logs)
The daemon reads ~/.clawd/config.toml:
[daemon]
port = 4300
log_level = "info"
[storage]
db_path = "~/.clawd/clawd.db"
log_path = "~/.clawd/logs/"ClawDE · GitHub · MIT License
ClawDE
Getting started
Reference
- Architecture
- Daemon-Reference
- Folder-Structure
- Providers
- Multi-Account
- Security
- Features
- Features/Daemon
- Features/Session-Manager
- Features/Mode-System
- Features/Repo-Intelligence
- Features/Projects
- Features/Remote-Access
- Features/Desktop-App
- Features/Provider-Knowledge
- Features/Coding-Standards
- Roadmap
Branding
Contributing