Quick Start

Install agentty, connect a model, and ask your first question. About a minute.

view .md
for v0.9.66 · unchanged since v0.9.55
on this page
  1. 1. Install
  2. 2. Start it in your project
  3. 3. Connect a model
  4. Ask something
  5. Five keys worth knowing
  6. Need full power? Turn the sandbox off
  7. Next

1. Install

On Linux or macOS:

bash
curl -fsSL https://agentty.org/install.sh | sh

On Windows (PowerShell):

powershell
irm https://agentty.org/install.ps1 | iex

Run the same line again later to update. Prefer a package manager? See Installation.

2. Start it in your project

bash
cd your-project
agentty

agentty works inside the folder you start it in. It won't edit files outside it.

3. Connect a model

The first time, agentty asks how to connect. Pick whichever you already have:

You have Pick
Claude Pro or Max 2) OAuth via claude.ai
ChatGPT Plus or Pro 3) Sign in with ChatGPT
GitHub Copilot 5) Sign in with GitHub Copilot
Kimi 6) Sign in with Kimi
An API key (Anthropic, OpenAI, DeepSeek, Gemini, ...) 1) Paste an API key
Nothing, and you want it free and local 4) Custom host, then type localhost:11434 (needs Ollama)

Sign-ins open your browser. No API key needed for those.

Ask something

Type what you want and press Enter:

explain what this project does

agentty reads your code, edits files and runs commands to get it done. You see each step as it happens. Press Esc to stop it.

Five keys worth knowing

Key What it does
Ctrl+K Everything else: search any command
Ctrl+/ Switch model
Ctrl+R Review the changes it made, keep or undo each one
Ctrl+J Your past conversations
Shift+Tab Ask before it edits or runs anything

Need full power? Turn the sandbox off

By default, commands run in a sandbox. Your project is writable, and your SSH keys, cloud credentials and .env files are hidden. Some commands won't work there: reaching localhost, writing outside your project, or tools that need your credentials.

If you need agentty to run anything you could run yourself, start it like this:

bash
agentty --sandbox off

Commands can now reach every file your user can, and the network. agentty shows a SANDBOX IS OFF warning when it starts.

To also let its file tools (read, edit, write) work outside your project folder:

bash
agentty --sandbox off --workspace /

These flags last for that run only. To make it permanent, add an alias to your shell:

bash
alias agentty='agentty --sandbox off'

Only need one extra folder? You can add it in Ctrl+K → Settings → Sandbox (read or write paths) and keep the rest of the sandbox. Reaching localhost or your local network always needs --sandbox off. See Sandboxing.

Next