Migration Agent

Google Cloud Rapid Agent Hackathon GitLab track

Autonomous web3.py v6 → v7 migrations on GitLab, using the official GitLab Duo MCP server and Gemini 2.5 Flash function calling.

The agent loop

$ python agent/main.py --repo <repo>
[call] detect_framework   → web3.py >=6.0 → codemod: web3py-v6-to-v7
[call] run_codemod        → 1 file changed, 2830 char diff
[call] open_merge_request → create_merge_request via GitLab Duo MCP
       → https://gitlab.com/.../merge_requests/N

See it run

Every MR on the demo target was opened by this agent via the GitLab Duo MCP create_merge_request tool. Each one shows the deterministic codemod's diff plus the LLM's reasoning section for what the codemod did and did not handle.

Browse live MRs on GitLab →

Live MR list via this server's GET /api/status (queries GitLab Duo MCP search):

Loading…

Code