Terminal Setup

Terminal emulator choice, tmux, and the ait ide workflow

Terminal emulator vs. terminal multiplexer

Two distinct pieces of software cooperate when you use aitasks from the terminal:

  • A terminal emulator is the GUI application you run — Ghostty, WezTerm, Alacritty, kitty, iTerm2, Konsole, gnome-terminal, and so on.
  • A terminal multiplexer runs inside a terminal emulator and splits your single terminal window into multiple independent sessions, windows, and panes. tmux is the multiplexer aitasks integrates with.

tmux is not a terminal emulator — it always runs inside one.

Requirements

  • A terminal emulator — any modern choice works. Good options include Ghostty, WezTerm, Alacritty, kitty, iTerm2, Konsole, or gnome-terminal. They are listed without ranking — pick whatever you already use.
  • tmux 3.x or newer — required for the recommended workflow below. Install with your package manager (brew install tmux, apt install tmux, pacman -S tmux, etc.).
  • ait — installed and ait setup already run in your project. See the installation overview if you haven’t done that yet.

The recommended way to start working on a project is a single command:

cd /path/to/your/project
ait ide

That’s it. ait ide is the headline entry point into the aitasks “IDE” — a single command that opens tmux, creates the session, and launches ait monitor in one go.

Here’s what happens under the hood:

  1. ait ide reads the tmux session name from aitasks/metadata/project_config.yaml under tmux.default_session (defaults to aitasks if unset), then attaches to — or creates — a tmux session with that exact name. Because the session name is always explicit, ait monitor never has to fall back to its interactive SessionRenameDialog on the happy path.
  2. A monitor window is created (or focused) inside the session, running ait monitor. From the monitor you get a live dashboard of running code agents, open TUIs, and other panes in the session.
  3. Press j inside any main aitasks TUI (ait board, ait monitor, ait minimonitor, ait codebrowser, ait settings, ait brainstorm) to open the TUI switcher dialog and jump to another TUI without leaving tmux.

Flags

ait ide is intentionally minimal:

  • --session NAME — use NAME instead of the configured tmux.default_session. Useful for running multiple projects side-by-side (see the gotcha below).
  • -h, --help — print usage and the shared-session note.

If you are already inside a tmux session whose name matches the configured one, ait ide just selects (or creates) the monitor window in your current session. If you are inside a tmux session whose name differs, ait ide refuses to nest — it prints a warning and exits non-zero rather than silently picking the wrong session.

One gotcha: ait ide is one view of a shared session

This is the single most common source of confusion, so it is worth calling out on its own.

tmux sessions are shared across terminal clients. If you open a second terminal and run ait ide again, you do not get a separate IDE — you get another view of the same session, showing the same windows, panes, and TUIs. Opening a window, resizing a pane, or switching TUIs in one terminal is immediately visible in all the others.

To work on two projects in parallel, give each one its own session:

# Project A — uses the default session name
cd ~/code/project-a
ait ide

# Project B — different session
cd ~/code/project-b
ait ide --session project-b

Or, better, configure a distinct tmux.default_session per project in each project’s aitasks/metadata/project_config.yaml. Then a plain ait ide in each project root just works.

Minimal / non-tmux workflow

If you cannot or do not want to use tmux, aitasks still runs. Open your terminal, cd to the project, and invoke each ait command directly in whichever terminal window or tab you prefer:

cd /path/to/your/project
ait board      # or: ait monitor, ait codebrowser, ait settings, ...

This path is a fallback, not a recommendation. Without tmux you lose:

  • The TUI switcher (j key) — you cannot jump between TUIs in one keystroke.
  • Persistent agent windows — agents launched from the board terminate when you close their terminal, instead of surviving inside a persistent tmux session.
  • The unified ait monitor dashboard view of all running agents and TUIs.

Next steps

  • Getting Started — a walkthrough of a first task.
  • Monitor TUI — full details of ait monitor, including the agent window list and the TUI switcher.

Next: Known Issues