Metabase built Repro-Bot, an AI agent powered by Claude Code that automates GitHub issue triage by reproducing bug reports. The agent sets up matching environments, follows reproduction steps using browser automation (Playwright) and API calls, and produces reports with root cause analysis and proposed tests. Key lessons shared include keeping the agent focused on reproduction rather than resolution, providing the right tools, trimming token usage, reading transcripts to fix blockers, and sandboxing against prompt injection attacks. The source code is publicly available on GitHub.
Table of contents
How our AI agent reproduces a bug reportRepro-Bot is already saving us timeLearnings for your own bug reproduction AI agentCheck out our source code and build your own Repro-BotSort: