Upgrading a Major Dependency With an AI Agent in 2026: My 10-Step Mac Workflow, From Changelog to Green CI (9 Tools)
A bot opens a PR that bumps your framework a full major version, and CI turns red before you've finished reading the title. The migration guide is long, the changelog is longer, and "just let the agent fix it" sounds great until it rewrites half the repo. Here's the stack I'd use for that one job o

A bot opens a PR that bumps your framework a full major version, and CI turns red before you've finished reading the title. The migration guide is long, the changelog is longer, and "just let the agent fix it" sounds great until it rewrites half the repo.
Here's the stack I'd use for that one job on a Mac: one tool per step, from "what's out of date" to a PR with green checks. Everything below was checked against the official docs in November 2026.
npm-check-updates (free, open source). Plain ncu lists every dependency with a newer version, and ncu -i lets you pick which ones to take. The part I'd lean on is ncu --doctor -u: it upgrades, runs your tests, and if they fail it retries each dependency one at a time, then prints which upgrades broke and saves only the ones that pass.
That turns "everything is red" into a short list of the upgrades that actually need work.
GitHub CLI (free). gh release view <tag> -R owner/repo prints a release's notes, and --json body gives you the raw text. Saving that to a file means the agent works from the real changelog instead of what it remembers about the library.
Ghostty (free). Native macOS tabs and splits mean one pane runs the agent and the other runs your test watcher, so you see a test go red the moment an edit lands. Quick Terminal drops down from the menu bar when you just need to run one command.
Rectangle (free and open source, macOS 14+). Keyboard shortcuts or snap areas put the migration guide on one half of the screen and Ghostty on the other. Repeating a shortcut cycles through sizes, which helps when the diff needs more room than the docs.
Claude Code. Start it with claude --permission-mode plan (or press Shift+Tab until the status bar shows plan mode), hand it the saved release notes, and ask for a migration plan. In plan mode it reads files and proposes changes but makes no edits until you approve.
Still in Claude Code, something like "use a subagent to find every usage of the APIs this release deprecates" keeps the search out of your main conversation. The subagent reads files in its own context and only the findings come back, which leaves room for the actual edits.
lazygit (free, open source). Focus a file's diff, stage hunk by hunk with space, or press a to stage single lines. One commit per breaking change makes the PR readable, and if something regresses later, b in the commits view starts a git bisect.
Codex CLI. /review starts a review of your uncommitted changes or compares the branch against a base branch. A model that didn't write the migration is more likely to question it, like a renamed option that was silently dropped instead of carried over.
A major upgrade is exactly the kind of long session where Claude Code runs for an hour and then you bring in Codex for review. Each one reports its usage in its own place, and hitting a limit halfway through step 7 leaves the branch in a messy state.
TokenBar is a Mac menu bar app that shows usage and reset times for Claude, Codex, Cursor, Gemini and Copilot in one place. It's built on Peter Steinberger's MIT-licensed CodexBar and credits Pixel Agents. It doesn't give you extra quota, it just shows where you stand before you start a long step. macOS 14+, $5/month (Basic) or $15 lifetime (Pro).
CleanShot X (one-time license, or a Pro subscription with unlimited cloud). If the upgrade touches UI, a before and after screenshot with an arrow or two saves the reviewer from checking out the branch. It also records the screen, which helps when the change is an animation or a flow rather than a static page.
Then back to GitHub CLI: gh pr create --draft --fill opens a draft PR with the title and body filled from your commits, and gh pr checks --watch follows CI until it finishes, with --fail-fast to stop at the first failure.
What's the last major upgrade you handed to an agent, and which step would you have done differently?