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 . # current directory, no worktreeainb run --repo . --create-branch feat/new # new branch + worktreeainb run --tool codex --repo . # use Codex instead of Claudeainb run --remote-repo owner/repo # clone a GitHub repo firstainb run --repo . -p "fix the failing tests" # send an initial prompt4. 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