The Code Exorcist: an AI agent diagnoses bugs, a human banishes them (Sanity + Next.js)
This is a submission for the Sanity Challenge, Path Two: Vibe-Code Something Strange What I Built The Code Exorcist is a horror-themed AI bug-triage app built with Next.js and Sanity. A developer pastes an error/stack trace and the actual buggy code snippet. A Groq-powered agent reads both together, finds the real root cause, names the "demon" (bug category), assigns a threat level, and writes a…
The Code Exorcist is an innovative AI-powered bug-triage application created using Next.js and Sanity. The platform is designed to swiftly diagnose and address coding errors, providing a structured first pass for teams before assigning dedicated review time. A developer uploads an error message and a faulty code snippet, which is then analyzed by a Groq-powered AI agent.
The agent reads both the error and code together, identifies the root cause, categorizes the bug, assigns a threat level, and suggests a concrete fix. A human reviewer in Sanity Studio can then either approve the fix with a 💀 BANISH button or send it back for further review via the 🔄 Send Back for Re-analysis button. Every decision is logged, timestamped, and visible in real-time on the frontend without any page reloads.
The project is built for immediate action right after a bug report, allowing teams to quickly assess and resolve issues.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.