Skip to content

Aider

Run Aider inside an isolated Git worktree managed by ait, with each session recorded as a reviewable attempt.

Why wrap Aider with ait

  • Aider commits to an isolated worktree — your main branch stays clean until you promote.
  • Each session becomes one attempt with prompt, edited files, and the commits Aider produced.
  • Repo-local memory keeps prior Aider sessions queryable.

Setup

ait init                  # detects `aider` on PATH, installs the wrapper
ait adapter doctor aider  # optional sanity check

ait init auto-installs the repo-local aider wrapper when the binary is on $PATH. Aider has no external hook config to merge — its chat history is read post-run from .aider.chat.history.md in the attempt worktree.

Run Aider under ait

ait run --adapter aider --intent "Fix auth expiry" -- aider src/auth.py

Or after setup, just call aider directly inside the repository.

Review and promote

ait attempt list
ait attempt show <attempt-id>
ait attempt promote <attempt-id> --to main

See also