Orchestrate a multi-phase RAG migration
A walkthrough of using Gemini CLI to coordinate a complex, multi-phase cloud migration project. ·
Done withGemini
- What they did
- The author ran Gemini CLI with the Conductor extension. Markdown files defined the product, tech stack and workflow. For each track the agent wrote a spec and plan, which he approved before implementation. It then worked test-first, wrote Terraform, and ran checkpoints at the end of each phase. He ran it in a sandbox in Yolo mode with a notifier script, and returned when notified.
- How it went
- The project took several days of AI-assisted work. It used about 19M input, 66M cached input and 400k output tokens, costing around $30 on Vertex AI. The source gives no failure details.
- Worth knowing
- Cached input tokens dominated usage, and the author says costs vary. Rules like running terraform plan before apply and the coverage target belong in workflow.md.
Try it yourself with Claude Code
I'm migrating [system, e.g. my search and RAG pipeline] from [current setup] to [target cloud service]. Read the codebase in this folder and break the migration into phases with clear checkpoints, risks, and rollback steps. Finish with a written plan in MIGRATION.md; don't change any code or run any cloud commands until I approve each phase.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: DEV · Apr 28, 2026
Related use cases
Race three models to build a Counter-Strike clone
InstantDB had Codex, Opus, and Gemini each try to build a multiplayer shooter.
Sort waste using local recycling rules
Gemini Robotics-ER 1.5 looks up local recycling rules online, then plans and sorts objects into compost, recycling and trash bins.
Automate browser work with Gemini's Chrome agent in the background
The poster uses Gemini's Chrome browser agent to automate browser tasks, and it keeps working while the tab is closed and they do other things.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Audit a feature's issues and hand them to an engineer's agent
An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.
Custom agent
Build a local knowledge app for agent outputs with Codex
The author built Mianotes using four Codex agents across 30+ sessions to centralize scattered files agents produced, and the agents documented the product inside it.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.