Codmir Daemon
Your AI agent runs in the background — even when you close the terminal. Autonomous task execution as a system service.
npm install -g @codmir/daemonOr via curl: curl -fsSL https://www.codmir.com/install.sh | bash
Autonomous agents
Execute tasks without human presence
Always running
Survives terminal close & reboots
Concurrent sessions
Up to 20 parallel agent runs
Approval gates
Dangerous tools need your OK
Local models
Ollama integration built-in
Live monitoring
Track tokens, uptime, task status
Background Daemon
v0.1.2The daemon is the workhorse behind Codmir. It runs AI agent sessions in the background as a system service — processing tasks from the Desktop app, IDE extension, or CLI even when you're not watching.
Install & run
One command to install, one to start. Works on macOS, Linux, and Windows.
@codmir/daemon
Background agent service · Node.js ≥ 22
npm install -g @codmir/daemonQuick start
codmir-daemon startThe daemon starts on port 7700 with 5 concurrent agent slots by default.
Install as system service
codmir-daemon installAuto-detects your OS and registers with systemd, launchd, or Task Scheduler. The daemon starts on boot and restarts on failure.
Commands
Everything you need to manage the daemon from your terminal.
Start
Launch the background daemon
codmir-daemon startStop
Gracefully stop the daemon
codmir-daemon stopStatus
View sessions, uptime, tokens
codmir-daemon statusRestart
Stop and start cleanly
codmir-daemon restartInstall
Register as system service
codmir-daemon installSetup Local
Install Ollama + pull models
codmir-daemon setup-localRuns as a native service
The daemon installs itself using your OS's native service manager. It starts on boot and restarts automatically on failure.
Linux
systemd
systemctl --user enable codmir-daemonmacOS
launchd
launchctl load ~/Library/LaunchAgents/com.codmir.daemon.plistWindows
Task Scheduler
codmir-daemon installConnected to everything.
The daemon receives tasks from any Codmir client. Your Desktop, IDE, CLI, and web app all dispatch work to the daemon — it processes them autonomously.
CLI
codmir run <task> dispatches to daemon
IDE Extension
Factory pipelines execute on daemon
Desktop App
Voice commands trigger daemon tasks
Web Dashboard
Monitor tasks and agent status