agenteye name for the AgentEye CLI so the collector daemon and the CLI can coexist on the same machine.
The collector binary has been renamed from agenteye to agenteye-collector. The short agenteye name now belongs to the AgentEye CLI, a separate tool for querying sessions, events, and evaluations from your terminal.
This guide walks you through migrating an existing collector install.
What changed
| Before | After | |
|---|---|---|
| Command / binary | agenteye | agenteye-collector |
| Default install path | /usr/local/bin/agenteye | /usr/local/bin/agenteye-collector |
| Subcommands | start, flush, health, update | start, flush, health |
Self-update (agenteye update) | built in | removed: download the new binary or pull the new image |
Install script (install.sh) | provided | removed: download the binary directly (see Collector Installation) |
AGENTEYE_TOKEN | needed to download and for background update checks | needed only to download binaries/images |
~/.agenteye/config.json, the same AGENTEYE_URL / AGENTEYE_KEY / AGENTEYE_HOME / TLS environment variables, and the same ~/.agenteye/events/ spool. No config edits are required.
If you run the renamed binary under the old nameagenteye, it still works but prints a one-line deprecation warning to stderr reminding you to switch toagenteye-collector.
Before you start
- Your existing
agenteyeinstall keeps running; nothing breaks the moment you upgrade. Migrate deliberately, then remove the old binary last. - Follow this order to avoid downtime:
- Install the new
agenteye-collectorbinary (or pull the new image). - Update your service definition / health probe / scripts to call
agenteye-collector. - Reload and restart the service; confirm it is healthy.
- Only then remove the old
/usr/local/bin/agenteyebinary.
- Install the new
1. Install the new binary
Download the artifact for your platform (agenteye-collector-linux-x86_64, agenteye-collector-darwin-arm64, and so on; see Collector Installation → Option A for the full list) from the latest collector/v<version> release and place it at /usr/local/bin/agenteye-collector. Docker users: docker pull ghcr.io/agenteye-enterprise/collector:beta-latest (or a pinned :v<version> tag, which is preferred; :latest exists only for stable releases).
Verify:
2. Update your deployment
systemd (Linux)
Edit/etc/systemd/system/agenteye-collector.service so ExecStart points at the new binary:
launchd (macOS)
Brand rename: If your existing plist is at the older pathIn~/Library/LaunchAgents/host.exosphere.agenteye-collector.plist, rename the file toai.befailproof.agenteye-collector.plistand also change the<key>Label</key>value inside the file to the new identifier before reloading.
~/Library/LaunchAgents/ai.befailproof.agenteye-collector.plist, change the first ProgramArguments entry from /usr/local/bin/agenteye to /usr/local/bin/agenteye-collector, then reload:
supervisord
In yoursupervisord program block, set command to the new binary:
supervisorctl reread && supervisorctl update.
Docker / Kubernetes
Pull the new image (ghcr.io/agenteye-enterprise/collector:beta-latest or a pinned :v<version>, which is preferred; :latest exists only for stable releases). The image entrypoint is already agenteye-collector, so the same docker run command with the start subcommand keeps working with no change.
Important: update health probes. If you use a Kubernetes liveness/readiness probe (or any docker exec) that runs the binary by name, change the command to agenteye-collector:
agenteye alias, so a probe still calling agenteye will fail. Update the probe in the same rollout as the new image.
Cron / manual scripts
Replace anyagenteye start|flush|health invocations with the matching agenteye-collector start|flush|health command. Delete any agenteye update cron jobs; that subcommand no longer exists (see Upgrades from now on).
3. Remove the old binary (last)
Once the service runs onagenteye-collector and reports healthy:
agenteye command; leaving the old collector binary at /usr/local/bin/agenteye would make the agenteye name ambiguous on your PATH.
Upgrades from now on
The collector no longer updates itself. To upgrade:- Binary: download the new artifact for your platform (for example
agenteye-collector-linux-x86_64; see Collector Installation → Option A for the full list), replace/usr/local/bin/agenteye-collector, and restart the service. - Docker:
docker pull ghcr.io/agenteye-enterprise/collector:beta-latest(or a pinned:v<version>tag, which is preferred;:latestexists only for stable releases) and recreate the container.
AGENTEYE_TOKEN is still required to download from the private releases repo, but the running daemon no longer needs it.
Verify
Rollback
The migration is non-destructive. If you need to roll back, point your service definition back at the old/usr/local/bin/agenteye binary (as long as you have not removed it yet) and restart. The event spool and config are shared and unaffected.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
warning: the collector binary is now agenteye-collector … on every run | You are invoking the binary under the old agenteye name | Call agenteye-collector instead; update service files and scripts. |
systemd fails: .../agenteye: No such file or directory | You removed the old binary before updating ExecStart | Set ExecStart=/usr/local/bin/agenteye-collector start, then sudo systemctl daemon-reload. |
| Kubernetes pod crash-loops after the image upgrade | Liveness probe still runs agenteye | Change the probe command to ["agenteye-collector", "health"]. |
agenteye: command not found, but agenteye-collector works | Scripts/aliases still reference the old name | Update them to agenteye-collector. |
Running agenteye starts the CLI, not the collector | You have the AgentEye CLI installed; it owns agenteye | Use agenteye-collector for the daemon and remove any leftover old collector binary at /usr/local/bin/agenteye. |

