Home / Failure Modes / Hallucination

Hallucination

AI Agent Failure Mode — 2 Documented Incidents

What is Hallucination?

Hallucination occurs when an AI coding agent references APIs, functions, packages, libraries, or files that do not exist. The agent confidently generates code that calls nonexistent methods, imports fictional packages, or references documentation that was never written. This is one of the most common AI agent failure modes because the model generates plausible-looking code based on patterns rather than verified reality.

2
Total Incidents
2.1
Avg Severity /10
2
Agents Affected
0
Critical

Which AI agent hallucinations the most?

Claude-Code 1 incidents
Devin 1 incidents

Frequently Asked Questions

What is hallucination in AI coding agents?

Hallucination occurs when an AI coding agent references APIs, functions, packages, libraries, or files that do not exist. The agent confidently generates code that calls nonexistent methods, imports fictional packages, or references documentation that was never written. This is one of the most common AI agent failure modes because the model generates plausible-looking code based on patterns rather than verified reality.

Which AI agent has the most hallucination failures?

Based on 2 documented incidents, Claude-Code has the most hallucination failures with 1 incidents, followed by Devin with 1.

All Hallucination Incidents