Install the ZAgents daemon
Install the fork CLI and connect your own local daemon to the ZAgents instance (zagents.cnt.me) so agents on your machine can serve our tasks.
Private fork only — this page covers the ZAgents fork (
ZurabDev/multica) and is not available upstream. The binary is still namedmultica; only the distribution channel and instance URLs differ. SeePRIVATE_CHANGELOG.mdfor the change log. The repo-internal hand-off this page mirrors isDEV_DAEMON_ONBOARDING.md.
The daemon is a long-running process on your machine that connects to the ZAgents server and lets the AI coding tools you have installed (the runtimes) pick up and work on tasks. This page installs the fork CLI and points your daemon at our instance, https://zagents.cnt.me.
After the daemon is running, install at least one agent runtime so there is a tool for it to drive.
Why not brew install or curl … install.sh? The ZurabDev/multica repository is private. Homebrew and curl fetch release assets without a token and get a 404. End users install the same fork binary with an authenticated gh release download instead. The in-app onboarding shows brew install ZurabDev/zagents/zagents as the canonical command — it works only once the release assets are reachable (public repo, or a seeded Homebrew cache). Until then, use the gh path below.
Prerequisites
-
NetBird connected —
zagents.cnt.meis reachable only from the NetBird network. -
NetBird
k8s-servicesroute selected. Being connected is not enough: the10.222.0.0/16subnet (wherezagents.cnt.me→10.222.179.55lives) is exposed by thek8s-servicesroute, which defaults to Not Selected. Without it DNS resolves but TCP times out. Enable and verify beforelogin/setup:netbird routes select k8s-services netbird routes list | grep -A1 k8s-services # Status: Selected curl -sS -o /dev/null -w 'http=%{http_code}\n' --max-time 6 https://zagents.cnt.me/health # expect 200 -
Browser Secure DNS / DoH disabled, otherwise
zagents.cnt.mewill not resolve. -
ghlogged in under an account with access to the privateZurabDev/multica(gh auth status). Alternative: a GitHub token withrepo:read.
1. Install the fork binary
Substitute your platform in --pattern (darwin-arm64 | darwin-amd64 | linux-amd64 | linux-arm64):
mkdir -p ~/.local/bin
gh release download --repo ZurabDev/multica \
--pattern 'multica-cli-*-darwin-arm64.tar.gz' --dir /tmp/zg --clobber
tar -xzf /tmp/zg/multica-cli-*-darwin-arm64.tar.gz -C ~/.local/bin multica
chmod +x ~/.local/bin/zagents
xattr -d com.apple.quarantine ~/.local/bin/zagents 2>/dev/null || true # macOS
rm -rf /tmp/zg~/.local/bin must come before /opt/homebrew/bin on your PATH. Verify:
which zagents # expect ~/.local/bin/zagents
zagents version # expect 0.3.5-mz.2 (or newer)2. Point it at the instance
zagents setup self-host \
--server-url https://zagents.cnt.me \
--app-url https://zagents.cnt.me3. Log in
zagents loginYour browser opens → zagents.cnt.me → email login. The token is saved to ~/.zagents/config.json.
4. Start the daemon
zagents daemon start # background process
# or install it as a persistent service (macOS launchd):
zagents daemon install5. Verify
zagents workspace list # should show our workspaces
zagents daemon status # running + WS connectedUpdating
brew upgrade / zagents update are unavailable for now (private repo, -mz.N suffix version disables auto-update by design). Re-download the release and restart the daemon.
# repeat step 1 (gh release download → ~/.local/bin/zagents), then:
zagents daemon restartTroubleshooting
| Symptom | Cause | Fix |
|---|---|---|
404 on gh release download | no access to the private repo | ask to be added to ZurabDev/multica |
connection refused / timeout, but DNS resolves | NetBird connected, k8s-services route Not Selected | netbird routes select k8s-services |
connection refused / timeout | NetBird not connected | connect NetBird |
zagents.cnt.me does not resolve | Secure DNS/DoH intercepting | disable DoH in the browser |
which zagents shows another path | PATH order | export PATH="$HOME/.local/bin:$PATH" |
"multica" cannot be opened (macOS) | quarantine flag | xattr -d com.apple.quarantine ~/.local/bin/zagents |
See also
- Daemon and runtimes — how the daemon detects and drives tools
- Install an agent runtime — install the AI coding tools the daemon runs
- CLI command reference — every
multicacommand