Skip to content
PMInterviewKit
In this course9 lessons

Designing an AI feature

7 min readFree lesson

Most AI design answers go wrong in the same place. The candidate picks a feature. They describe the happy path, where everything goes right, in loving detail. Then they run out of time before saying what happens when the model is wrong. This lesson teaches the first three of the Five Gates, the steps this course uses for every answer. They are Job, Fit and Failure, and they are where AI design answers are won.

We will use one example the whole way through: Harbor, a made-up app. Small landlords use it to manage the places they rent out. The prompt: "Use AI to help Harbor landlords handle tenant messages."

Gate 1: Job

Start the way any product answer starts. Pick a user and a task. Then say what a good result looks like. Pick a user and find real pain points covers this in depth. The AI part adds one thing: define "good" in clear, exact terms. You will need that later for evals. An eval is a test you run on the AI's answers.

For Harbor:

  • User: a landlord with five to twenty units (homes to rent) who manages them on top of a day job.
  • Job: answer tenant messages fast and correctly, without spending evenings on it.
  • Good outcome: urgent problems (leaks, no heat, lockouts) are spotted within minutes. Routine questions get a correct reply the same day. The landlord spends less time on each message.

That last line already holds three things you can measure: time to spot urgent problems, how correct the replies are, and time spent. You have started building your eval criteria, the rules you will grade by, in the first two minutes.

Gate 2: Fit

Now ask whether AI is the right tool, and which kind. This is the gate most candidates skip, and skipping it is the clearest signal of hype over judgment.

Name the capability

"Use AI" is vague. Say which capability the job needs:

CapabilityWhat it doesHarbor example
ClassifyPut an input in a bucketIs this message urgent, routine or a rent question?
ExtractPull structured fields from messy textUnit number, issue type, when the tenant is home
SummarizeShorten while keeping what mattersA weekly digest of open issues
GenerateWrite new textDraft a reply to the tenant
Search and answerFind information and answer from it"Does my lease allow pets?" answered from the lease
ActTake steps using toolsBook a plumber from the landlord's preferred list

Each capability carries a different risk. Classifying is easier to check than generating. Acting is the riskiest, because mistakes leave the screen and enter the world.

Gate 2: Fit, continued

When not to use AI

Say out loud where you would not use a model. Good reasons:

  • A rule already works. If "rent is late" means "no payment recorded by the 5th", that is a database query, not a model call.
  • You need the exact same right answer every time. Calculating a prorated rent amount belongs in code.
  • Errors are costly and nobody can check them. If no human sees the output before harm happens, the bar for automation is very high.
  • A simpler product change solves it. If tenants send vague messages because the form is a blank text box, a structured form with "What's the issue? Where? Is water involved?" may beat any model.
  • The volume is too low to matter. Automating a task that happens twice a month adds cost and risk for little gain.
  • You do not have the data. A model cannot answer from a lease you never uploaded.

For Harbor, a strong candidate would say: "I'd use AI for triage and draft replies, because tenant messages are messy free text. I'd keep rent calculations and late-fee rules in code, and I'd fix the message form so tenants give better details up front, which helps the model too."

Key idea Saying where AI does not belong is not a detour. It is the fastest way to show an interviewer you have judgment, and it makes your actual AI proposal more believable.

Gate 3: Failure

The model will be wrong some of the time. This gate decides what that costs the user and how the design catches it. Work through three questions.

How bad is a mistake?

Rank the failure modes by harm, not by frequency. For Harbor:

  1. Missing an urgent issue (a leak labeled routine). High harm: property damage, a tenant without heat.
  2. A reply that promises something false ("We'll cover the cost" when the lease says otherwise). Medium to high harm: legal and money.
  3. A clumsy or overly formal draft. Low harm: the landlord edits it.

The worst failure gets the strongest protection. That is the whole logic of this gate.

How much autonomy?

Choose a level of autonomy for each capability, from least to most:

  1. Suggest: the AI offers options; the user picks.
  2. Draft for approval: the AI prepares the output; a human must approve before anything happens.
  3. Act with undo: the AI acts, tells the user and makes reversal easy.
  4. Act alone: the AI acts with no human in the loop.

Match the level to the harm and to how easy it is for a person to check the output. For Harbor: draft replies sit at level 2 because a wrong promise is costly and the landlord can read a reply in seconds. Urgency triage can run at level 3 for raising alerts, because a false alarm costs little and a missed alarm costs a lot. Booking a plumber stays at level 2 until you have evidence.

A useful rule: lean the errors toward the cheap side. For urgent issues, accept more false alarms to miss fewer real ones. Say that trade-off out loud.

Gate 3: Failure, continued

What happens when it's wrong or unsure?

Design four things:

  • Fallbacks. If the model is slow, unavailable or unsure, the product still works. Harbor shows the raw message with a standard template, and keyword rules ("water", "flood", "no heat", "smoke") flag urgency even if the model is down.
  • Uncertainty in the interface. Do not show raw probabilities like "82% confident"; most users cannot act on them, and the model's own sense of confidence is often poorly matched to reality. Instead, show why and where to check: "Possible leak. Tenant mentioned water under sink." Highlight the part of a draft that makes a commitment so the landlord reads that line first. Show the lease clause a policy answer came from.
  • A way to abstain. Let the system say "I couldn't tell. Please review." An honest "not sure" is better than a confident wrong answer.
  • Feedback capture. Record when landlords edit, reject or relabel. That data shows you where the model fails and feeds your evals.

Try it Pick an AI feature you use. Find its worst plausible failure. Does the interface protect you from it, or does it rely on you noticing? Write one design change that would catch it.

Gates 4 and 5, briefly

Once Job, Fit and Failure are solid, close with Proof and Ship. Keep them short in a design answer unless the interviewer pushes.

  • Proof: "Before launch I'd build a test set of a few hundred real, anonymized tenant messages labeled by urgency, with extra leak and heating cases, and set a bar for urgent-issue recall. After launch I'd track missed urgent issues, draft acceptance and edit rates, and landlord time per message." See Evals and quality and Metrics for AI products.
  • Ship: "Triage runs on every message, so I'd use a small, fast model for it and save the larger model for drafts. Tenant messages contain personal details, so I'd check data handling with our model provider. I'd roll out to a small group of landlords first." See Cost and latency trade-offs and Risk, safety and trust.

What a weak answer sounds like

"I'd add an AI assistant that reads every tenant message and automatically replies, so landlords never have to deal with messages again. It would use a large language model fine-tuned on property management data."

It sounds ambitious. It loses points because it skips Fit (rent math in a model?), sets autonomy to maximum with no review on a task where a wrong promise costs money, never mentions the urgent-leak case, and proposes fine-tuning with no reason. The interviewer will spend the rest of the round pulling those answers out of you, and you will be on the defensive.

Recap

  • Job: define a good outcome concretely; it becomes your eval criteria later.
  • Fit: name the capability (classify, extract, summarize, generate, search, act) and say where you would not use AI.
  • Failure: rank mistakes by harm, set autonomy per capability, and lean errors toward the cheap side.
  • Design fallbacks, show reasons and sources instead of raw confidence numbers, allow abstaining and capture feedback.
  • Keep Proof and Ship brief in a design answer, but never skip them.

Practice this lesson

You’ve just read one of 39 free lessons.

The other 77, including 72 worked answers written out in full, are in the full kit: $129 once for life, or 1 year for $69.

See plans · from $69