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
pnpmreports a global bin-directory error, runpnpm 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-binstallinstalls 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:
| Method | Update command |
|---|---|
| npm | npm install --global agentty@latest |
| Bun | bun add --global agentty@latest |
| pnpm | pnpm add --global agentty@latest |
| npx | npx agentty@latest |
| Homebrew | brew upgrade agentty |
| Cargo | cargo install agentty --locked |
| cargo-binstall | cargo binstall agentty |
| Shell | Rerun 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/agenttyPrepare 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 runcodex login. - Claude (
claude): install Claude Code, then runclaude auth login. - Antigravity (
agy1.5.8 or newer): install the Antigravity CLI, then runagyand 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🔗
- Run
agenttyfrom the Git repository you want to work in. From elsewhere, add a repository in the Projects tab withaand pressEnterto select it. - In the Sessions tab, press
aand chooseRegular. - 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.