Dependabot for APIs. depfix keeps the SDKs your code uses (OpenAI, Stripe, Sentry and dozens more) up to date. It opens a pull request for each new version and, when a version breaks your code, rewrites the affected lines and checks them with your own tests.
Add this file to your repository as .github/workflows/depfix.yml:
name: depfix on: schedule: - cron: '0 8 * * 1' # when depfix runs; this is every Monday at 8am UTC workflow_dispatch: # also lets you run it from the Actions tab permissions: contents: write pull-requests: write jobs: depfix: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: bedilk/depfix-action@v1
Turn on Settings → Actions → General → Allow GitHub Actions to create and approve pull requests.
That's it. On your schedule, GitHub runs depfix on your repository and it opens pull requests. You review and merge them like any other PR.
No API key or secret is needed. If you skip step 2, depfix still runs and puts a one-click "create pull request" link on the run page.
Steps 1 and 2 in one command, with the GitHub CLI: gh extension install bedilk/gh-depfix, then gh depfix enable (or gh depfix enable --org my-org for every repository in an organization).
Preview locally without opening any PRs: pip install depfix-ai, then depfix ci --repo OWNER/NAME --dry-run with GITHUB_TOKEN set.
One PR per dependency, for npm, PyPI and RubyGems. Your version style is kept: >=7.0,<8 becomes >=17.1.0,<18.
When a new version breaks code you use, the PR also rewrites those lines, tested against your own test suite.
Plain bumps open ready for review. Major versions and code changes open as drafts.
New releases wait 72 hours before depfix proposes them.
Changes you can't skip (security advisories, removed APIs, announced sunset dates) come first, with the deadline in the PR.
A newer release updates the existing PR instead of opening another.
A PR that conflicts is rebased. A PR someone else pushed to is never overwritten.
A PR is closed when you upgrade by other means or drop the dependency.
Comment on a depfix PR
Commands run on the next workflow run. Ignores are saved to .depfix.yml.
Configure with .depfix.yml (optional): schedule, labels, reviewers, assignees, groups (several dependencies in one PR), ignore, draft_pr and more. See .depfix.yml.example.
40 providers, including OpenAI, Anthropic, Stripe, Sentry, Twilio, Supabase, Clerk, MongoDB, Redis, Prisma, Slack, Firebase and Cloudflare. They are listed in providers.yaml.
watch → scan → plan → apply Watch registries, release notes and API specs for new versions and breaking changes.
Scan your code for every line that uses the changed API.
Plan the version bump and any code rewrite, and run your tests before and after. Edits that break tests are dropped.
Apply: open or update the pull request.
Only code rewrites use a model, and upstream text is passed to it as data, never as instructions. Everything else is deterministic.
depfix ci --repo org/app # everything, as the Action runs it depfix scan --repo org/app --provider stripe # what changed upstream, and what it touches depfix plan org/app --provider stripe # build and test the change; no PR depfix apply org/app --provider stripe # open the PR from that plan Development: pip install -e ".[dev]", then make test, make lint, make typecheck. Telemetry is off unless you set DEPFIX_TELEMETRY=true.
Bedil Karimov and Tohir Saidzoda. Contributions need a signed CLA; see CONTRIBUTING.md.
depfix Source Available License: free for non-commercial use; commercial use needs a separate license.
AI agent team for depfix development











