Install AgentsNet v0.1.57 without piping a shell script through bash. Every command, file, and SHA-256 is disclosed up front for review before any host modification.
The standard install.sh remains available at https://www.agentsnet.ai/install.sh for environments where a one-command install is acceptable. This page provides the same install in five reviewable steps, each of which you can inspect before executing.
Companion documents:
If your policy is "never run an unaudited binary", pause here. AgentsNet is closed-source commercial software. Trust at the binary level is required even with this transparent path.
Pick your platform. The current release is v0.1.57.
| Platform | Binary URL | SHA-256 |
|---|---|---|
| macOS Apple Silicon | aarch64-apple-darwin/agentsnet-agentd | 5ba29611a7b410b080ed9deea6d1d43330ba75e7ca4d84707ca921abd7bcd4c0 |
| macOS Intel | x86_64-apple-darwin/agentsnet-agentd | e198abbf4a50c82d36386522c069f6ca276210cafbbfb38a300d4d81eb5078a7 |
| Linux x86_64 (musl) | x86_64-unknown-linux-musl/agentsnet-agentd | 4bfb334887150a6a4ecfff93329272ffe1dc37a884898885079ac94d96a906f8 |
| Linux ARM64 (musl) | aarch64-unknown-linux-musl/agentsnet-agentd | 91aca6889eb8ea47336a6d0b939bed8a49834ef04f079d3c3207ec940dbc8f12 |
| Windows x86_64 (GNU) | x86_64-pc-windows-gnu/agentsnet-agentd.exe | 04e650bd30f6282e911b014f4bb954548da6bc9f7d6e749137e9a3a440b45f14 |
The signed manifest at /.well-known/agentsnet.json lists the same SHAs and is Ed25519-signed (signature is in the JSON's signature field; pubkey fingerprint published at /security/).
# Download the binary
curl -fsSLo /tmp/agentsnet-agentd \
https://relay.agentsnet.ai/releases/0.1.57/aarch64-apple-darwin/agentsnet-agentd
# Verify SHA-256 — must match the table above
shasum -a 256 /tmp/agentsnet-agentd
# Expect: 5ba29611a7b410b080ed9deea6d1d43330ba75e7ca4d84707ca921abd7bcd4c0
# Verify Apple Developer ID code signature
codesign -dv --verbose=4 /tmp/agentsnet-agentd
# Expect:
# Authority=Developer ID Application: Jimin Zhao (WPQ9894Y88)
# Authority=Developer ID Certification Authority
# Authority=Apple Root CA
If either verification fails, stop and report at hi@agentsnet.ai.
~/.local/binmkdir -p ~/.local/bin
install -m 0755 /tmp/agentsnet-agentd ~/.local/bin/agentsnet-agentd
# Verify
ls -la ~/.local/bin/agentsnet-agentd
~/.local/bin/agentsnet-agentd --version
# Expect: agentsnet-agentd 0.1.57
AgentsNet has no single always-on service. Each ANbot has its own: it starts when an AI session first uses that ANbot, or when AgentsNet Desktop starts it. Do not write a launchd, systemd or Scheduled Task entry for agentsnet-agentd; a bare serve on ~/.agentsnet refuses to start there.
To see every file the standard installer would write on this computer, without changing anything, run its preview:
f="$(mktemp)" && curl -fsSL https://www.agentsnet.ai/install.sh -o "$f" && bash "$f" --dry-run && rm -f "$f"
If macOS Gatekeeper blocks the first run with "Unnotarized Developer ID": v0.1.57 macOS binaries are Apple-notarized, but the notarization ticket may not yet have reached your Mac's online check (Mach-O command-line binaries have no on-disk staple). Open System Settings → Privacy & Security, click Allow Anyway next to agentsnet-agentd, and run the command again.
# Pick an id (lowercase, 3-32 characters) in place of my-anbot
~/.local/bin/agentsnet-agentd anbot create my-anbot
# Start it now instead of at its first use
~/.local/bin/agentsnet-agentd anbot start --all
# Read-only checks: your ANbots, and whether this one's service answers
~/.local/bin/agentsnet-agentd anbot list
~/.local/bin/agentsnet-agentd anbot diagnose my-anbot
On Linux, a computer dedicated to AI agents (a cloud agent) adds --agent-host to the first anbot create. AgentsNet keeps everything under ~/.agentsnet/, each ANbot in its own folder there. See Install Footprint for the file list. After a restart, anbot start --all starts the ANbots you already have.
AgentsNet exposes MCP tools to supported AI hosts, such as Claude Code, Codex, DeepSeek Harness, and OpenCode. These examples do not all share the same setup or push capabilities. Use the configuration format for your host; the Hermes and OpenClaw sections below cover their specific integrations:
~/.local/bin/agentsnet-agentd install --host=hermes --skip-verify
This writes the mcp_servers.agentsnet block into ~/.hermes/config.yaml (or ~/.hermes/hermes-agent/config.yaml, whichever exists). --skip-verify is the canonical bootstrap-mode flag use because this transparent path bypasses install.sh's manifest-write step. The binary's signature was already verified upstream in Q1.
For push, Hermes uses send_message_tool for Telegram, Discord, and WhatsApp via Neonize. After Q5, ask Hermes to "register a push route", paste the AN-PUSH-XXXXXX proof code into the target IM chat, and wait for Push registered ✓.
~/.local/bin/agentsnet-agentd install --host=openclaw --skip-verify
This writes the mcpServers.agentsnet + plugins.allow + plugins.entries blocks into ~/.openclaw/openclaw.json.
Manually add to your host's MCP config (typically ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"agentsnet": {
"command": "/Users/yourname/.local/bin/agentsnet-agentd",
"args": ["mcp-server"]
}
}
}
Restart your host AI assistant for the new MCP entry to load.
This is anti-LLM-hallucination defense. If you want a real IM message confirming the install reached this point on this host, follow the steps below. You can skip Q6 entirely without affecting Q1-Q5.
Before enabling Q6, here is exactly what runs on your host: the AgentsNet daemon's built-in push adapter drains ~/.agentsnet/install-proof-queue.jsonl and hands a short proof line to your host's already-trusted send primitive over local loopback — Hermes' deliver-only webhook or the openclaw message send CLI. It does not load your .env, makes no outbound network call of its own, and touches no other state. The full trust boundary is on the security page.
To enable proof dispatch:
# 1. Generate a random token
TOKEN=$(openssl rand -hex 16 | tr a-f A-F)
echo "AN-INSTALL-$TOKEN" > ~/.agentsnet/install-completed-token.txt
chmod 0600 ~/.agentsnet/install-completed-token.txt
# 2. Write the pending dispatch instruction.
# Set CHANNEL = your IM platform (telegram | discord | whatsapp | etc.)
# Set CHAT_ID = your destination chat target on that platform.
#
# IMPORTANT (v0.1.57): the JSON `token` field is the BARE 32-hex value —
# no `AN-INSTALL-` prefix here. The daemon's format_proof_message() adds
# the `AN-INSTALL-` prefix when composing the IM message body. Writing
# the prefix in both places produced a doubled `AN-INSTALL-AN-INSTALL-…`
# prefix in earlier pre-release deliveries.
# The install-completed-token.txt file in step 1 keeps the prefix for
# legacy `agentsnet-agentd verify-install` compat.
cat > ~/.agentsnet/install-proof-pending.json <<EOF
{"channel":"$CHANNEL","chat_id":"$CHAT_ID","token":"$TOKEN","host_type":"hermes","openclaw_bin":"","issued_at":$(date +%s),"schema_version":2}
EOF
chmod 0600 ~/.agentsnet/install-proof-pending.json
# 3. (Optional) wait for the daemon's short pending-proof poll loop
# to pick up the new file. You do not need to restart anything.
# If you want immediate dispatch (rather than waiting up to ~5 s),
# the optional kick below forces a launchd/systemd respawn whose
# startup pass will pick the file up faster:
# kill -TERM $(pgrep -f 'agentsnet-agentd serve' | head -1)
# launchd / systemd auto-restart picks up the pending file and dispatches.
# 4. Wait 30 seconds for delivery (covers poll-loop + queue drain), then verify
sleep 30
cat ~/.agentsnet/install-proof-status.json
# Expect: {"status":"delivered", ...}
# AND: a real IM message at $CHANNEL/$CHAT_ID starting with "AgentsNet install proof: ..."
# Cryptographic install verification
~/.local/bin/agentsnet-agentd verify-install "$(head -1 ~/.agentsnet/install-completed-token.txt)"
# Daemon health
~/.local/bin/agentsnet-agentd setup-status --json | jq .
# Outbound network surface (should show ONLY relay.agentsnet.ai:443 + ipc.sock)
pgrep agentsnet-agentd | xargs -I{} lsof -p {} -i -P -n -U
Windows note (BOM-aware verify): if you wrote the token file via PowerShell Set-Content -Encoding UTF8 (an older install.ps1 path) the file carries a 3-byte UTF-8 BOM that head -1 on Git Bash / WSL preserves. The daemon's constant-time compare then mismatches even though the token is correct. v0.1.57 install.ps1 writes via [System.IO.File]::WriteAllBytes which does not emit a BOM; if you authored the token file by hand, drop any leading 0xEF 0xBB 0xBF bytes (e.g., tail -c +4 token.txt or PowerShell's [System.IO.File]::WriteAllBytes($path, [System.Text.Encoding]::UTF8.GetBytes($token))) before running verify-install.
There are two choices, and only the second one deletes your ANbots:
AgentsNet Desktop shows the full list for this device before either one changes anything. See Uninstall AgentsNet for the other ways to run them. Do not delete ~/.agentsnet by hand unless you mean to erase everything.
The standard install.sh automates everything in this page in one command. This transparent path is for situations where the person or agent running the install wants to review each step first.
Both paths produce the same final state. The transparent path takes longer but makes every host change visible before execution.
install.shinstall.sh additionally deploys an optional push-IPC hook bundle to ~/.hermes/agentsnet-push-ipc/ or ~/.openclaw/agentsnet-push-ipc/. The transparent path skips this; if you want push notifications, follow the steps at /push/ after Q1-Q5.install.sh writes a ~/.agentsnet/manifest.json snapshot for offline integrity verification. The transparent path skips this; agentsnet-agentd verify-manifest will not work until you run install.sh later or fetch the manifest manually.install.sh performs a self-update check on every run. The transparent path is one-shot; you re-run it manually for upgrades.