API Update Agent · early access

Upgrading your Stripe API version? See every line that breaks, with a draft fix.

A GitHub App that watches Stripe's API releases, finds the lines in your repository that a change affects, and opens one draft pull request with one commit per change. It never merges.

Get early access See the test pull request Read the write-up

What it does

  1. Watches Stripe API releases. Each release's OpenAPI spec is diffed against the previous one: removed fields, renamed parameters, type changes, removed enum values. Each change carries what replaces it, taken from Stripe's own changelog, with a link.
  2. Finds the affected lines in your repo. The endpoint, the SDK method and the field name are searched in a short-lived clone. Only file paths and line numbers are kept.
  3. Opens one pull request with one commit per change. Each commit is generated from the function around each usage, applied and verified by your own CI, one commit at a time. The pull request is a draft until every commit on it has passed. It never merges and never pushes to your default branch.

Why trust it

Permissions and data

The GitHub App asks for Contents (read & write) to clone and push fix branches, Pull requests (read & write) to open draft pull requests and comment on them, Checks (read) to read the CI result of its own pull requests, Actions (read) to see which test steps actually ran, which is what the "verified by tests" label is based on (without it every fix is labelled unverified), and Metadata (read). It stores repository metadata, the file paths and line numbers of affected usages, fix summaries and pull request state. It does not store source code, GitHub tokens, prompts or model answers. Code from private repositories only goes to an LLM provider you mark as safe for it. A branch the agent did not fully write is never rewritten: the moment it sees a commit it did not make, it stops and says so in a comment.

Demo

A run on a test repository with synthetic changes: a pair of hand-written Stripe spec fixtures with one change of each type the differ reports (endpoint removed, parameter removed, renamed, required or retyped, field removed or retyped, enum value removed, deprecation), built to exercise the pipeline end to end. Several of these changes never happened in Stripe's API, and the version label on the pull request is the fixture's, not a real release. What is real: the pipeline, the pull request, the CI runs and the verification. Eight changes, one pull request, seven commits verified by CI one at a time, one change left alone because the code already complied.

Open pull request #10 on GitHub (synthetic test)

The draft pull request opened by API Update Agent on the test repository: one section per synthetic change with the commit, what changed in the fixture spec and the affected lines
The pull request on the test repository: one section per change, with the commit, what changed in the fixture spec, the affected lines and the verification label.
The pull requests page of the dashboard for the synthetic test: counts of changes that passed CI, were not needed, not fixed or skipped, and a list of every change with its status
The dashboard's pull requests page for the same test: every change with its status, CI runs and what was left unchanged.

Status

Early. Stripe and Node/TypeScript repositories today. Tested on a small set of real open-source projects that migrated across a breaking Stripe change; the results are published, including the failures and the cases where the agent held back instead of guessing. The write-up covers everything tested since, including the OpenAI SDK, Python and PHP. On a real release upgrade where the repository is already failing its own checks, it can list the affected lines but cannot yet verify fixes.

Get early access

Leave your email and I will write when it is ready for your repository. No newsletter, no sharing.