Skip to content
AI-grafen
CBuilderAI product development· about 30 min· fundamentals that rarely change· verified 2026-09-20· EN

Does my app need AI?

Be able to determine whether a feature requires AI or if standard rules are sufficient.

Prerequisites

Everyday explanation

AI is not always the answer. Often, standard code is better — faster, cheaper, and always correct.

The question to ask: can the rules be written down?

TaskRules exist?Choose
Calculate the total in a shopping cartyes, exactcode
Check that a password has 8 charactersyescode
Sort by dateyescode
Determine if an image shows a catnoAI
Summarise a textnoAI
Suggest the next step in a processpartiallyboth

The rule: if the rules can be written down — write code. It will be correct every time, it costs nothing per use, and you can explain exactly why.

If they cannot — there are thousands of ways a cat can look and no list covers them all — then AI is needed.

Intuition

What it costs to choose AI unnecessarily:

Standard codeAI
Cost per use~0money every time
Speedmillisecondsseconds
Correct answeralways (if the code is right)usually
Explanationexactapproximate
Works without internetyesusually not
Maintenancethe codemodel, prompt, evaluation

The last row is the one that is underestimated: an AI feature requires ongoing supervision. The model is updated, behaviour changes, and what worked last autumn may not work this spring.

When AI is the right answer:

SignalExample
Input is messy and variedfree text, images, speech
Rules are too many to write downlanguage understanding
“Approximately right” is acceptablesuggestions and summaries
Rules change constantlytrends, language usage

When AI is the wrong answer:

SignalWhy
The answer must be exactcalculation, payment, authorisation
The decision has major consequences for someonemust be justifiable and appealable
It must run in millisecondstoo slow
A good formula already existsno reason to use AI

The most common pattern in real apps is to mix them: AI handles the messy part (understanding what the user wrote), standard code handles the exact part (calculating the price). Neither part does the other’s job.

Interactive

Assess eight features in a hypothetical app for a publishing house. Write “code”, “AI” or “both” — and one sentence on why.

#FeatureYour choice
1Show which titles are published
2Calculate the publishing fee
3Suggest a book based on what you have liked before
4Search by title
5Search for “an exciting book about space”
6Remind the day before the book is due back
7Read an ISBN from a photographed barcode
8Answer “do you have anything similar to Harry Potter?”

Answer key with justification:

  1. Code — a database query.
  2. Code — a formula: days × fee.
  3. Both — a simple rule (same genre) goes a long way; AI gives better suggestions.
  4. Code — text matching.
  5. AI — requires understanding what “exciting” and “about space” mean.
  6. Code — a date and a scheduled job.
  7. Code — barcode reading is a solved task with standard libraries, not AI.
  8. AI — requires understanding of similarity between books.

Number 7 is the trickiest. It feels like AI because it involves an image, but barcodes are designed to be easy to read mechanically and ready-made libraries exist. Throwing an image model at the problem would be more expensive and worse.

Number 3 shows the most common pattern: start with the rule, measure how good it is, and add AI only if the measurement shows it is needed.

Mastery means

  • Determine if a feature needs AI
  • Justify the choice using the rule of clear rules
  • Recognise the costs of choosing AI unnecessarily

Sign in to do the exercises and build your mastery up.

Sources

All the sources and licences