2026-11-27 16:19 UTC

Apiweiser CLI automates dependency migrations with reusable codemods

state: expiredheat: lowuncertainty: mediumrelevance: mediumcoding-agents software-maintenance agent-harnessesApiweiserenismustafaj

What is this?

Apiweiser is an early-stage, installable CLI from creator enismustafaj for automating dependency upgrades. Its website says it uses TypeScript’s type checker to map call sites, an LLM to classify releases as breaking, and a coding agent to build or extend reusable codemods; it then applies the upgrade and opens a pull request. The agent is still invoked for each proposed migration, though the creator says an existing codemod can avoid rewriting work when it already covers a repository’s call sites. A supplied search result for the project’s GitHub repository describes a similar workflow. These sources establish the announced tool and design claims, not how reliably it works in practice or how widely it is used.

Why it matters

Apiweiser applies coding agents to a repetitive but costly maintenance task: tracking dependency releases, transforming affected code, and opening upgrade PRs. Its notable design is to turn agent-written migrations into reusable codemods, potentially making later upgrades across repositories cheaper and more consistent. That could reduce the work of keeping software current, but the available evidence is the creator’s description and project materials, not independent reliability or adoption data.

Current assessment

Apiweiser’s creator announced an installable CLI for dependency upgrades. The project site says it combines TypeScript type-checker-based call-site mapping with LLM release classification, then has a coding agent build or extend a codemod, apply the dependency and code changes, and open a PR. The agent is still invoked for each proposed migration; the stated savings come when a cached codemod already covers the repository’s call sites, or can be extended instead of rebuilt. A web result for the project’s GitHub repository describes a similar workflow, but the supplied evidence does not establish its operational reliability, security properties, independent validation, or user adoption. Significance is as an example of agents being constrained to auditable, reusable transformations in a software-maintenance workflow—not evidence yet of proven broad impact.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-14 12:31 (minted)⭐ origin echo-reconstructedOffers an installable CLI that classifies dependency releases, maps TypeScript call sites, builds or extends cached codemods through a codin
Apiweiser on blog (echo) · attributed from hn.story.49695191 · published time unknown
—
09-14 11:42first on hacker news · published · lag ?Show HN: AI-Native dependency upgrades through codemods
enismustafaj
—
09-14 11:42amplified on hacker news 👑hn.story.49695191
enismustafaj
peak 2 · 0 comments · 98% of case engagement
09-14 12:20our radar first saw it · lag ?discovery anchor: hn.story.49695191—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: AI-Native dependency upgrades through codemods
Retrieved article excerpt

Open article · Retrieved 2026-09-14T12:22:04.995500+00:00

# AI-native dependency upgrades, right in your terminal.

apiweiser-cli watches your dependencies, confirms which updates
actually break your code, and opens the pull request with the
fix — before you ever run the upgrade.

`curl -fsSL https://apiweiser-cli-fe.vercel.app/install.sh | sh`  Copy

### Maps every real call site

Resolves how your code actually calls each dependency using TypeScript's type checker, not import-tracing — every link in a chained call is caught, even through wrapped or reassigned values.

### Classifies releases, not guesses

Watches each dependency's GitHub releases, asks an LLM whether the latest one is breaking, and only acts once Renovate independently confirms the update is available — including security upgrades Renovate surfaces by checking releases against the OSV vulnerability database.

### Builds a codemod once, reuses it everywhere

The coding agent runs on every proposed migration, but if the cached codemod already covers a repo's call sites, there's nothing to rewrite, so it doesn't spend extra tokens doing so. When a repo's call sites don't fit yet, it extends the existing codemod instead of starting over, so coverage only grows.

### Opens the pull request

Bumps the dependency in package.json and the lockfile, applies the codemod for real, then branches, commits, and opens a PR against your repo — you just review and merge.

## From breaking release to open PR

Once a release is classified as breaking, a coding agent
builds and tests the migration, apiweiser bumps the
dependency for real, and the PR lands on your repo — no
further action needed from you beyond reviewing it.

apiweiser-cli

chalk 4.1.2 → 5.0.0 breaking

→ coding agent building & testing codemod…

→ bumping chalk to ^5.0.0, applying migration…

- chalk.stderr.supportsColor

+ supportsColorStderr

✓ opened PR: Migrate chalk 4.1.2 -> 5.0.0

~/.apiweiser-cli/codemods/chalk/4.1.2\_to\_5.0.0

✓ built once (vercel/pkg) — coding agent wrote & tested it

↳ default imports only — 0 edits on ts-loader

✓ extended (ts-loader) — namespace + require() added

✓ reused (your-repo) — already covers it, agent confirms and skips to PR

## Every repo makes the next one cheaper

The coding agent is invoked on every proposed migration — but
if the cached codemod already covers a repo's call sites,
there's nothing new to write, so it doesn't burn extra tokens
rebuilding one. When it doesn't cover them yet, the agent
extends the existing codemod instead of starting from scratch
— so the registry gets more capable, not just bigger, with
every repo it touches.
enismustafaj20
🟧 echo.blog ⭐Offers an installable CLI that classifies dependency releases, maps TypeScript call sites, builds or extends cached codemods through a codinApiweiser——

Interpretation history

Decision trace