Installation

Install Agentty, launch your first session, and review generated changes.

Install agentty, authenticate an agent backend, and launch your first session.

Install🔗

Agentty requires Git on your PATH.

Every method listed here supports automatic updates when Agentty can identify the original installer, except npx, which fetches the latest release on each run. The npm, Bun, and pnpm packages require Node.js 18 or newer on your PATH.

$npm install -g agentty
  • If pnpm reports a global bin-directory error, run pnpm setup, reopen your terminal, and retry.
  • If package install scripts are blocked, the first launch downloads the binary from GitHub Releases, so keep network access available.
  • Cargo installs on macOS need Xcode Command Line Tools for native process bindings. cargo-binstall installs the prebuilt release binary instead: cargo binstall agentty.
  • Prebuilt Linux binaries run on glibc 2.35 or newer. On older distributions and on musl systems such as Alpine, the installers pick the statically linked musl build.

Every method listed here updates automatically from the running binary, except npx, which Agentty leaves alone because npx agentty fetches the latest release on each run; see Auto-Update. Shell installs of v0.19.5 or earlier need one manual update first. agentty self update runs the same update on demand; see Update on Demand. To update manually, use your original method:

MethodUpdate command
npmnpm install --global agentty@latest
Bunbun add --global agentty@latest
pnpmpnpm add --global agentty@latest
npxnpx agentty@latest
Homebrewbrew upgrade agentty
Cargocargo install agentty --locked
cargo-binstallcargo binstall agentty
ShellRerun the shell installer above.
Verify a GitHub Release

Install the GitHub CLI and download a release artifact. Each artifact has keyless Sigstore build provenance identifying Agentty's release workflow:

gh attestation verify PATH_TO_ARTIFACT --repo agentty-xyz/agentty

Release immutability also protects the published tag and asset set. Verify a release and a downloaded asset with:

gh release verify vX.Y.Z --repo agentty-xyz/agentty
gh release verify-asset vX.Y.Z PATH_TO_ARTIFACT --repo agentty-xyz/agentty

Prepare an Agent Backend🔗

Install and authenticate at least one supported agent CLI on your PATH before launching Agentty:

  • Codex (codex, recommended; supports subscription usage): install the Codex CLI, then run codex login.
  • Claude (claude): install Claude Code, then run claude auth login.
  • Antigravity (agy 1.5.8 or newer): install the Antigravity CLI, then run agy and follow its sign-in flow.

Provider subscription and OAuth rules differ, and not every interactive sign-in suits third-party invocation. See Authentication and Usage before choosing credentials.

Start a Session🔗

  1. Run agentty from the Git repository you want to work in. From elsewhere, add a repository in the Projects tab with a and press Enter to select it.
  2. In the Sessions tab, press a and choose Regular.
  3. Type your first prompt and press Enter. The agent works in its own worktree branch.

Only one Agentty instance can use an Agentty root at a time. If startup reports another running instance, close it first; a crash releases the lock automatically, so do not delete the lock file. Separate AGENTTY_ROOT directories run independently.

Review Changes🔗

In session view, press d to inspect the diff before you merge, publish, or discard the changes.

Next Steps🔗

  • Overview — understand sessions, projects, and worktree isolation.
  • Workflow — learn how to create, review, and finish sessions.