GPT-Migrate is an open-source command-line tool that uses large language models to move a codebase from one framework or programming language to another. Instead of translating files by hand, it plans the migration, rewrites the code, and then tests the result until it works. The project has earned about 7,000 stars on GitHub, is released under the MIT license, and was last actively developed in 2024.
Rewriting a working application in a new stack is one of the most tedious jobs in software development. GPT-Migrate tackles it by giving an LLM agent the whole picture: it reads the source project, sets up the target environment, generates the equivalent code in the destination framework or language, and then runs the project’s tests and benchmarks against the migrated version. When something fails, the agent inspects the errors and iterates on the new code, much like a developer would. Typical migrations include moving between web frameworks, such as React to Vue or Flask to FastAPI, and between languages, such as JavaScript to TypeScript. Everything runs locally in Docker containers, and you bring your own OpenAI API key.
Free. GPT-Migrate is open source under the MIT license; the only cost is usage of your own LLM API key during a migration.
Developers and teams facing a framework or language migration who want an AI first pass at the new codebase, with automated tests verifying the result instead of a blind copy-paste translation.