Everything that differs from the base branch — committed, uncommitted, untracked — in one live view that follows your edits and never loses your place.
$ curl -fsSL https://tothalex.github.io/drift/install.sh | sh
macOS & Linux · Windows (experimental) · MIT
DIFF VIEW
Tree-sitter resolves the enclosing function, class, or block around every change — widen or narrow the scope with [ and ]. Word-level emphasis marks the exact edit. Grammars install on demand — drift offers the language the first time it shows a file, or use drift lang install.
The working tree is watched: edits from your editor, your agent, or a git commit appear as they land.
SYNTAX & THEMES
Highlighting ships with the onedark palette — the one this page is painted with. Colors take ANSI names, 256-color indexes, or hex, with per-language overrides; a theme is one TOML file next to your config. Languages plug in as installable grammars — drift offers each one the first time it's needed.
PULL REQUESTS
Press p to browse the repo's open PRs (GitHub) or MRs (GitLab). Threads sit under the exact lines they were written on — reply, resolve, comment without leaving the terminal.
Auth is the official CLIs — gh and glab — so Enterprise and self-managed hosts just work.
AI AGENTS
Select lines, press s, type an instruction — the prompt lands in the Claude Code (or Codex, or any agent) pane beside drift, with the file location and the diff attached.
Works through herdr, cmux or plain tmux; the agent split next to drift is picked automatically, and ↑↓ switch sessions while you type.