installation
prerequisites#
before installing overlord, make sure you have:
- node.js >= 20
- redis (for the server — task queue and pub/sub)
- git >= 2.20
- an ai agent cli installed on worker machines (one or more of:
claude,cursor,codex)
server setup#
install the overlord cli and server packages globally:
npm install -g @overlordai/cli @overlordai/serverrun the interactive installation wizard:
overlord installthe wizard will:
- check that all prerequisites are met (node, redis, git)
- generate secrets (
JWT_SECRET,WORKER_JWT_SECRET,ENCRYPTION_KEY) - configure redis connection (default:
redis://localhost:6379/0) - initialize the sqlite database and run migrations
- create your admin account (username, password, git name, git email)
all configuration is written to ~/.overlord/.env.
start the server#
overlord start # start services (systemd / launchd)
overlord status # verify everything is running
overlord doctor # run health checkthe overlord start command automatically generates and registers system services (systemd on linux, launchd on macos).
add worker machines#
workers are the machines that actually run tasks. you need at least one worker to start using overlord.
1. generate a registration token#
in the web dashboard, go to admin → worker tokens → generate token. each token registers exactly one worker.
2. install worker on the target machine#
npm install -g @overlordai/cli @overlordai/worker3. run the setup wizard#
overlord setup workerthe wizard will ask for your server url, the registration token, a machine name, and the number of concurrent task slots.
for detailed worker configuration, ssh keys, non-interactive mode, and troubleshooting, see the full worker setup guide.
4. verify connection#
once the worker starts, it will appear on the machines page in the web dashboard with status "online".
developer cli#
developers interact with overlord through the ov cli:
npm install -g @overlordai/developer-cli
ov setup # quick setup — configure server url + authenticate
ov task create -d "fix the login bug" -p PROJ
ov attach 42 # connect to a running task's terminalthe developer cli uses personal access tokens (pat) for authentication. generate one in the web dashboard under profile → access tokens.
verify installation#
after starting the server, open http://localhost:9000 in your browser and log in with the admin credentials you created during installation. check the machines page to verify workers are connected.
next steps#
- worker setup — advanced worker configuration (ssh keys, non-interactive mode)
- deployment guide — deploy with cloudflare zero trust
- development workflow — end-to-end usage walkthrough