How to modernize legacy codebases using AI coding agents (Step by step guide) @googlecloudtech
How to modernize legacy codebases using AI coding agents (Step by step guide)  @googlecloudtech
Uploaded August 2026 | Updated September 2026, 3 weeks ago
In this episode, JK Gunnink walks Martin Omander through his actual, hands-on workflow for tackling poorly documented legacy code using AI.

No theoretical hand-waving here. JK shares the practical engineering strategies he uses to safely modify legacy systems without breaking things, including things like:
* Preparing the sandbox: Why documenting your local build, linter, and testing setup in a README is the ultimate prerequisite for letting AI agents self-correct.
* The model split (BDD): Using pro-tier models to write strict acceptance tests first, then handing execution off to faster, cheaper flash models to write the implementation until the tests turn green.
* Preventing context drift: Keeping the agent focused by breaking massive tasks down and maintaining a running markdown checklist.

Chapters:
0:00 - Intro
1:35 - The plan step
4:00 - The execute step
5:54 - The verify step
6:31 - Takeaways

Watch more Serverless Expeditions → https://goo.gle/ServerlessExpeditions
🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech

#ServerlessExpeditions #GoogleCloud

Speakers: Martin Omander, JK Gunnink
Products Mentioned: Gemini
How to modernize legacy codebases using AI coding agents (Step by step guide)Deploy open models with TGI on Cloud RunStop letting AI write code until you fix this one thing (with Antigravity) | The Agent FactoryWhat real-time voice AI actually meansWhat’s new in AI: Explore Google Cloud’s latest tools for generative AIHow to build an accuracy pipeline for your AI appHow BBVA manages 1,000+ GCP projectsFirebase goes SQL: Inside the new SQL Connect (PostgreSQL)I gave a Gemma 4 AI agent a sandbox and it taught itself physics | The Agent Factory PodcastGemini CLI + Google MCPs: Migrate & deploy full stack apps20 minutes to 2 minutes: How Home Depot automated incident responses with OpenTelemetrySkills vs MCP: How AI tools have evolved
Google Cloud Tech |

How to modernize legacy codebases using AI coding agents (Step by step guide)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER