Worktrees, diffs & pull requests
Review diffs, worktrees & PRs without leaving the feed.
By herval · Published
Running parallel agents in the same repository gets messy fast. agentbook gives every branch and git worktree its own page, tracks every edited file and commit, lets you comment directly on diff lines, and connects straight to GitHub pull requests and Linear issues.
Built for shipping parallel branches
- Worktree isolation on launch: start a session in the repo's folder, in a brand-new git worktree of its own, or on an existing branch's worktree. The Worktrees timeline shows every open branch off
main, how farmainmoved underneath it, and which files changed on both. - Inline diff line commenting: click any line in a step's diff, file diff, or commit diff (shift-click for a range) to send a quoted comment with file and line numbers straight back to the agent's thread.
- Change reach map: a turn's “Changed N files” line opens a folder map lighting up edited files, outlining files that import them, and flagging changes with no test importing them.
- GitHub pull requests inline: connect GitHub (via Device Flow or PAT) to see live CI check dots, unresolved review threads, merge readiness, and one-click buttons to ask the agent to fix failing checks, address review comments, rebase, or merge.
- Tasks that ship & Land in order: group multiple branches and PRs under one Task (or import from Linear and GitHub Issues), drag them into landing order, and let agentbook coordinate merging one PR before asking the next branch to rebase and land.
Related guides
Looking for a board after Vibe Kanban's sunset? Read our Vibe Kanban alternatives guide or compare worktree workflows on Compare.
Install agentbook v0.3.43 on GitHub
Tell your coding agent:
Set up agentbook for me: https://github.com/herval/agentbook (read INSTALL.md)
Or run by hand:
git clone https://github.com/herval/agentbook ~/dev/agentbook && ~/dev/agentbook/bin/agentbook setup
Free for personal & internal company use (PolyForm Strict 1.0.0) · macOS (Apple silicon & Intel), Linux; Node 22.18+ (auto-installed if missing) · INSTALL.md