Migrating 400 Messy Tables in 2 Days Using an Agent Fleet
Deepfeet-09 · reddit · 2026-07-31
A team facing the migration of 400 messy legacy database tables post-acquisition ditched manual ETL scripts in favor of an autonomous agent fleet to inspect schemas, infer mappings, and run tests.
Key Lessons:
- Decomposition: A single massive prompt failed constantly on nested JSON and hallucinated column types. Success came only after breaking tasks into tiny, single-purpose agents.
- Adversarial Loops: Never let the executing agent verify its own work. The team built a reviewer agent to intentionally try breaking queries, sending raw SQL errors back to the mapper for fixing—saving production from breaking.
- State Management: Managing memory across retries was painful until they integrated Lyzr to isolate memory and prevent unmasked data leaks.
The approach reduced the human review queue to under 4%, compressing a quarter-long task into just two days.
More from coding & agent
- Steve Yegge after a year of software factories: the last bottleneck is human attention — Steve_Yegge · 2026-12-02
- AI models a full sunset train car in Blender via MCP, 60% done — minchoi · 2026-12-02
- Swarms v18 "Multiplex" Ships Self-Organizing Swarms, Async Agents, A2A — KyeGomezB · 2026-12-02
- ASCII-only Minecraft: Gemini 4 Neon renders the whole game world in text characters — minchoi · 2026-12-02
- Two prompts in Antigravity auto-generate a full AI music video — minchoi · 2026-12-02
- How to rebuild TradingView's $2,399/year terminal free with Gemini 4 Neon, OpenBB and Lightweight Charts — minchoi · 2026-12-02