Developer Infrastructure · Autonomous AI Agent
ApiPatch detects third-party breaking changes, fetches live changelogs via DocHunter™, rewrites deprecated code with AST safety validation, and opens ready-to-merge GitHub Pull Requests.
Passing unit tests with AST validation & zero regressions
DocHunter™ live grounding against official package changelogs
Autonomous workflow: scan, fork, branch, AST validate & PR
Languages & formats: Python, JS, TS, JSX, TSX, JSON
Autonomous Refactoring
Tools like Dependabot only bump version numbers in configuration files. ApiPatch understands actual code semantics, validates changes through AST syntax trees, and submits ready-to-merge Pull Requests.
Live Simulator
Pick a legacy SDK pattern or paste your own code. Watch DocHunter™ ground the official changelogs, run AST validation, and modernize the code in real time.
Under The Hood
Zero guesswork. Grounded in live documentation, secured by AST compilers, and delivered via atomic Git commits.
Instantly pulls live official documentation, changelogs, and migration guides from PyPI, npm, and GitHub APIs in under 100ms to eliminate hallucinations.
Parses refactored Python and JavaScript/TypeScript through AST linters. If syntax or structural errors occur, ApiPatch automatically prompts the AI to self-heal.
Run apipatch pr owner/repo to audit remote repositories, fork, create isolated branches, commit refactorings, and open live PRs automatically.
Multi-threaded candidate file pre-filtering scans thousands of files concurrently using lightweight fast AST regex parsers before invoking the LLM.
Optimized for Google Gemini 2.5 Flash Lite, Anthropic Claude 3.7 Sonnet, and OpenAI GPT-4o with automatic fallback and key discovery.
Run apipatch webhook on your CI/CD server or cloud container to receive push webhooks and maintain 100% up-to-date dependencies 24/7.
Command Line Interface
ApiPatch provides intuitive CLI commands for local audits, proactive repository discovery, and autonomous pull requests.
.bak backups
$ apipatch pr jedarden/duck-e --max-files 20
=== ApiPatch: Autonomous GitHub PR Pipeline ===
Target Repository: jedarden/duck-e
Authenticated As: @MoradMoqbel
Base Branch: main (6ff958ac)
[*] Fetching file tree for jedarden/duck-e...
[✓] Retrieved 304 total repository files.
[*] Inspecting candidate code files in parallel...
⚡ Breaking changes detected in app/models/user.py
Pydantic v1 `class Config` ➔ Pydantic v2 `model_config = ConfigDict`
[✓] AST syntax & structure validation passed (0 errors).
[*] Forking repository to @MoradMoqbel...
[*] Creating branch 'apipatch/migrate-1787384283'...
[*] Committing 2 modernized file(s)...
[*] Submitting live Pull Request...
🎉 SUCCESS! Pull Request Opened:
https://github.com/jedarden/duck-e/pull/1
See It in Action
Watch ApiPatch discover deprecated syntax, validate logic via AST, and open live GitHub Pull Requests.
Get Started Today
Install the CLI immediately via PyPI, or join our early access list for the hosted GitHub App (automatic 1-click CI/CD installs).
Open Source · MIT License · Free for public repositories.