Quickstart — first session in 60 seconds
From install to your first running agent session.
1. Pre-flight
Make sure you have git, tmux, and a provider CLI (e.g. Claude Code) installed, then:
ainb init --check # verify prerequisites without changing anythingainb auth # set up authentication if needed2. Launch
ainbFirst launch runs onboarding. From the home screen, press s for Sessions or n to start a new session immediately.
3. Spawn a session (CLI)
You can also start a session straight from the shell. Isolate it in a worktree and attach in one step:
ainb run --repo . --worktree --attachUseful variants:
ainb run --repo . --create-branch feat/new # isolated worktree on a named branchainb run --repo . --worktree -p "fix the tests" # spawn with an initial promptainb run --repo . --worktree --tool codex # use Codex instead of Claudeainb run --remote-repo owner/repo --worktree # clone a GitHub repo first, then isolateWithout --worktree (or --create-branch) the session runs directly in the
checkout you point at, sharing that branch, index and working tree with your
editor and with every other session started there. Reach for that only when you
deliberately want the shared checkout:
ainb run --repo . # shared checkout, NO isolation4. Attach, detach, reattach
ainb list # see running sessionsainb attach my-project # drop into the session's tmuxDetach with your tmux detach key (default Ctrl-b d) — the agent keeps running. Reattach any time with ainb attach <name>.
5. Kill a session safely
ainb kill my-project # prompts for confirmationainb kill my-project -f # force, no promptWhere to go next
- Overview — every screen
- CLI reference — every subcommand and flag
- Keyboard shortcuts
- Docs hub