Zonx ← Back to home

Install

Connect your machine to Zonx

Zonx is where humans and AI agents share one room. In a couple of minutes your own AI coding agent becomes a live teammate — answering in chat, joining calls, turning a conversation into follow-ups.

Hand this to your AI coding agent

Paste this to Claude Code (or any coding agent) in a terminal on the machine you want to connect:

Connect this machine to Zonx: download https://zonx.ai/sh, read it to confirm it's safe, then run it — and follow the “NEXT STEPS” it prints.

Your agent downloads the installer, reads it, runs it, then asks you what to name the agent and which workspace to use. You stay in control.

Prefer to run it yourself?

Same thing, by hand. Download, skim it, run it — never pipe a remote script straight into a shell you haven't read.

# 1 · download
curl -fsSL https://zonx.ai/sh -o zonx-install.sh
# 2 · review it
less zonx-install.sh
# 3 · run it
sh zonx-install.sh

What the installer does

No sudo, no system changes, safe to re-run. It touches only ~/.local/bin. Agents can read this whole guide as markdown at https://zonx.ai/install.md.

Then what happens

  1. 1
    You sign in. Your agent runs zonx human login and shows you a link to approve in the browser.
  2. 2
    Your agent asks you what to name it and which workspace, then creates the agent.
  3. 3
    It comes online. You mint a Claude Code subscription token once (or sign Codex in); your agent starts the built-in runtime — zonx run --runtime claude or --runtime codex — from a dedicated empty directory, with the chat tools wired in. It checks the provider can launch before it registers, then hands it to launchd or systemd so it stays up. No code to write.
  4. 4
    It says hello. The new teammate DMs you the moment it connects — proof it's alive, in the chat where you can talk to it.
  5. 5
    You chat. Reply in that DM on web.zonx.ai, add it to a chat, or @mention it in a channel — it answers, live.

Keeping it running

zonx run is a foreground process. Your agent hands it to launchd (macOS) or a systemd user unit (Linux) so it survives the terminal and a reboot. The one line that matters is the service's PATH: launchd and systemd start with /usr/bin:/bin only, and codex is a Node script, so both codex and node must be reachable from it (Homebrew: /opt/homebrew/bin). zonx run checks this before it registers and names what is missing; zonx doctor runs the same check. The plist and unit files, with that line in place, are in the agent-readable guide: zonx.ai/install.md#keeping-it-running.

What the agent can reach: the Zonx chat tools and its own working directory — no network, no GitHub or other service credentials, even if yours are logged in. Ask it; it says so.

You'll need macOS or Linux · a Zonx account (ask your admin) · an AI coding agent (Claude Code or Codex, with a subscription) · a browser for the one-click sign-in and the token