Five months treating bugs like patients and coding agents like a medical team
Blog post from Cockroach Labs
Cockroach Labs describes MOLT Sinai, a GitHub Actions-based “teaching hospital” workflow that uses specialized AI agents to plan, implement, review, test, and merge code for its database migration tools, prioritizing quality controls over raw development speed. In an early test, the system added IBM Db2 migration support to MOLT in under two days for $4,172 in token costs, compared with an estimated nine months and $160,000 for comparable Oracle support, while generating 32 sub-issues and 27 merged pull requests from a single parent task. The pipeline assigns agents hospital-inspired roles, requires reviewed plans before coding, enforces testing rules, uses structured handoffs and escalation paths, audits reviews before merging, and records precedents and detailed workflow histories. Over nearly five months, it produced more than a million lines of code and helped build Cockroach Labs’ Migration Assistant, though all merges initially remained subject to human approval. The company reports costs of more than $135,000 in AI tokens, along with challenges including excessive bureaucracy, lengthy review loops, a self-generated backlog, redundant prompt instructions, and limited opportunities for junior engineers to develop judgment, and it is working to improve efficiency, training value, and the possibility of limited autonomous operation.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.