1AI Smells

37 AI code smells in LLM systems

Code smells for AI: signs that a prompt, agent, or pipeline will hurt later. It works, but it gets expensive, fragile, or unsafe.

items
37
Groups
7
01

Bloaters 6

Things that grew so large that nobody can understand or change them anymore.

02

Control-flow abusers 6

Control flow hidden in the wrong place: inside the prompt or left to chance.

03

Change preventers 5

Every tweak becomes scary because nobody knows what will break.

04

Dispensables 5

Parts that cost tokens, time, and attention without earning their keep.

05

Couplers 4

Steps glued together by fragile formats, so changing one breaks the next.

06

Security 5

Gaps that turn any piece of text into a real action.

07

Operations 6

The system works in the demo and bleeds money or time in production.

Search