Documentation & Quickstart
Welcome to HawkeRun. Learn how to install the supervisor daemon, activate your license, and trust your AI agents unattended.
1. What HawkeRun Does
HawkeRun is a durable supervisor daemon that manages AI and CLI agent execution loops on your local machine. Instead of running agents in a simple loop and hoping they don't crash or stall, HawkeRun uses a **leased task queue** (backed by SQLite in WAL mode) to enforce safety policies:
- Heartbeats & Watchdog: Kills and requeues any agent that freezes or goes silent for too long.
- Privacy-First: Keeps all source code, logs, and project contexts 100% local. It only calls home to verify subscription plans.
- Manager Approvals: Gathers approvals for sensitive actions (like deploying code) and relays them to your dashboard or your phone.
2. Installation
Download the Windows Installer (or portable ZIP) from the account dashboard.
Windows Installer (Recommended)
Run the HawkeRun-Setup-0.1.0.exe installer. It installs HawkeRun under your user profile and registers the command line executable hawke on your PATH.
Portable ZIP (Alternative)
Extract the HawkeRun-portable-0.1.0.zip file to a folder of your choice. Open the directory in your shell or run Setup.cmd directly.
3. Activate License
Copy your license key from your HawkeRun dashboard. Activate it in your terminal to unlock plan-specific limits (like additional concurrent workers and advanced adapters):
hawke license activate <your-license-key>
You can check the status of your local license cache at any time:
hawke license status
4. Add First Project & Configure
Run the interactive first-run wizard. It detects your AI tools (Claude Code, Codex, Ollama, etc.) and sets up neutral YAML configurations:
hawke init
During setup, the wizard will ask you to specify:
- Which directories to monitor.
- Which AI model workers are allowed to execute tasks.
- Your email address for decision notifications.
5. Start the Supervisor Service
To run the supervisor daemon seamlessly in the background (surviving user logouts and reboots), register it as a Windows scheduled task:
hawke service install hawke service start
Check the service status and dashboard:
hawke service status hawke dashboard
6. Trigger a Demo Task
To test the queue execution, drop an agent-task codeblock inside the target project's AGENTS.md file:
```agent-task id: T-demo-1 title: Run build check worker: shell command: npm args: ["run", "build"] priority: 5 max_attempts: 3 ```
The supervisor will instantly detect the new block, lock the task, start execution, and report progress back into the local dashboard timeline.
7. Troubleshooting Windows SmartScreen
Because HawkeRun setup binaries are not yet code-signed with a Windows EV certificate, Windows SmartScreen may display a blue warning screen: "Windows protected your PC".
To run the setup anyway:
- Click the "More info" text button under the description.
- Click the newly revealed "Run anyway" button at the bottom.
- The setup installer will launch and install the files under your local AppData directory.