AI Gaslighting
ELI5 — The Vibe Check
AI gaslighting is when the AI looks you dead in the eyes (metaphorically) and insists the broken code it just wrote is totally correct. You say 'this crashes.' It says 'I apologize, but that code should work correctly.' You run it. It crashes. The AI says 'I see the issue' and gives you the exact same code again. You start questioning your own reality.
Real Talk
AI gaslighting describes the phenomenon where AI coding assistants confidently defend incorrect code or repeatedly provide the same broken solution with minor cosmetic changes. This occurs due to LLMs' tendency toward confident responses and difficulty acknowledging persistent errors. It's a known challenge in AI-assisted development that requires developers to trust their debugging instincts over AI confidence.
When You'll Hear This
"Claude keeps telling me the code is correct but it clearly segfaults." / "The AI gaslit me for 30 minutes before I realized the package doesn't even exist."
Related Terms
AI Pair Programming
AI pair programming is pair programming where your partner is an AI.
Hallucination
When an AI confidently makes something up — like citing a library that doesn't exist or generating code that calls a function that was never written.
The Loop
The Loop is that endless cycle where you tell the AI about a bug, it suggests a fix, the fix creates a new bug, you tell the AI about that bug, it suggests...
Vibe Debugging
Vibe debugging is when you paste an error into an AI and let it figure out what's wrong.