Skip to main content
← Back to course

What "Adding AI" Actually Means

You've used Claude or ChatGPT in a browser tab. You typed a question, it typed back, and that felt like "AI." So when someone says "let's add AI to the app," it's easy to picture stuffing that whole chat window inside your product. That's not what's happening — and the real version is simpler and far more useful.

A useful way to picture it

Think of the AI model as a very capable contractor you call on the phone. You don't move the contractor into your house. You call, describe exactly what you need ("summarize these three paragraphs in one sentence"), and they hand back the finished work. You hang up. Next time you call, it's a fresh call.

That's the difference between the chatbot you chat with and the model you call:

  • The chatbot is a finished product — a website with a chat box, memory, and a face. It's for you, the human.
  • The model is the engine underneath, reachable by an API call. Your app sends it text (a "prompt") and gets back text (a "completion"). No chat window required. It's for your code.

When you "add AI" to something you've built, you're almost always doing the second thing: your server makes a quiet API call to the Claude API, gets text back, and uses it. The user may never see a chat box at all.

What an AI-powered feature actually looks like

It's smaller than you think. A feature is just: take some text in → send it to the model with instructions → do something with the text that comes back. A few you could ship this week:

A left-to-right flow showing text going in, instructions added, the model called via API, text returned, and the result used in the app.

  • A summarizer — paste a long support email, get a two-line gist.
  • A classifier — read an incoming message, return one word: urgent, normal, or spam.
  • A helper — turn a user's messy note into a clean, formatted task.

Notice none of those are a chatbot. They're ordinary app features where one step is handled by a model call instead of code you'd have to write by hand. That's the whole mental model for this course: AI is a function you call, not a personality you embed.

Securafy safety note: that contractor's phone number is your API key, and it bills to your account. It lives in .env on the server — never in browser code, never pasted into a chat, never committed to git. If a key ever touches the front end, anyone can read it and run up your bill. Keys stay server-side, always.

▶️ Try this

Open the app you already use AI in (Claude, ChatGPT, anything) and give it this exact instruction: "Summarize the following in one sentence," then paste a long email below it. Watch what comes back. That single request — instruction plus text in, text out — is precisely the API call you'll soon make from your own code. You just ran the feature by hand first.