Or when you used a prescription renewal app - You found the medication, tapped "Renew," submitted.
These experiences feel effortless because someone spent a very long time making them so.
Every screen has a defined purpose.
Every button leads somewhere specific.
Every error state was anticipated and handled.
The product team mapped every possible path a user could take, and then built simple paths around all of them. You can't try to renew a prescription and accidentally end up on the sessions scheduling screen. The system won't let you.
This is the core gift of classical product design: it makes the interaction space bounded.
And bounded spaces are testable, improvable, and safe.

Now imagine that same bank replaced the transfer screen with a conversation.
The client may say something like "Hi, I'd like to move some money to my parents' account" or even "Send money to father."
Where does that go?
I've seen a patient saying (to a beta product, luckily) "I think I need a refill of that pink stuff. pink? yes, pink-redish. You know? oh, and I'm having a headache. Is it related?"
In the new architecture, the walls are gone. The flowchart doesn't exist. And you're in genuinely different territory.
What a Finite State Space Actually Gives You
In software engineering and cognitive science, a state space is the full set of conditions a system can be in at any moment. Classical product design, such as apps, forms, IVR trees, legacy chatbots, is built on what's called the closed-world assumption: the premise that you can, in principle, enumerate all meaningful states and handle them explicitly. You write the code for each one. You test and QA them one by one.This assumption used to be real and unavoidable, not a simplification or a shortcut. It allowed a product team to say, with confidence, "we've covered this." It's why a banking app can process millions of transactions a day without anyone watching. The walls do the work.
The entire history of digital product development - UX research, usability testing, A/B testing, error rate tracking - is built on top of this assumption. It works because the system only accepts inputs it was designed to handle.
Conversation Breaks the Contract
The moment a patient can say anything, that assumption collapses.They can misremember the name of their medication.
They can express a fear sideways - "I don't know if this is even worth it" - when what they mean is that they're thinking about stopping treatment.
They can go completely off-topic.
They can be sarcastic.
They can be angry in a way that looks like confusion.
They can type three words and go silent.
They can circle back to something they said four messages ago and contradict themselves.
None of these are edge cases. They are routine features of how humans communicate, especially humans who are stressed, unwell, or uncertain - which is to say, most patients and customers, most of the time.
A conversational AI agent does not get to decide that these inputs are out of scope. They arrive anyway.
This is what I mean by the infinite state problem. It's not that the space is technically infinite, it's that it's effectively infinite for any practical purpose of design or testing.
No QA suite covers it.
No usability study reaches it.
The state space has no walls.
What Happens When You Try to Build Walls Anyway
The first generation of conversational AI products, rule-based chatbots, IVR systems, early NLP assistants - tried to solve the infinite state problem by refusing to accept it. They built walls. Hard ones. You've felt them: "I'm sorry, I didn't understand that. Please rephrase your question." "That option isn't available. Please say yes or no." "I didn't catch that. Let's start over."These weren't bugs. They were a design philosophy. The system was trained on a finite grammar of expected inputs, and anything outside that grammar hit a wall and bounced back. The product team had, in effect, decided that the infinite state space didn't exist - or that users would conform to the finite one if the walls were firm enough.
They didn't.
Users got frustrated, escalated, abandoned the interaction. In clinical contexts it broke the therapeutic allience, and lead patients to disengage from the care.
The wrong version of behavioral science
Early behavioral approaches to this problem made the same mistake in a more sophisticated register.If the engineering solution was "enumerate the states," the behavioral science solution was "enumerate the behaviors."
We tried to predict every likely patient response.
Map every emotional trajectory.
Build a decision tree of psychological states.
This is a seductive idea - it sounds rigorous (and fun to plan, to be honest) - but it runs into the same wall the chatbot did, just further down the road. Human behavior in open conversation doesn't enumerate cleanly. People don't move through psychological states in sequence. They hold contradictory beliefs simultaneously. They behave differently on a Tuesday than they do after a difficult appointment. They say one thing and mean my mother, not because they're being deceptive, but because language and intention are loosely coupled in ways that resist exhaustive mapping.
Behavioral science spent several decades learning this the hard way. The stimulus-response tradition - the idea that you could predict behavior by cataloguing inputs and outputs - ran into the messiness of real humans and evolved, gradually and not without resistance, into something more useful.
What behavioral science actually offers
The mature version of behavioral science doesn't try to enumerate behaviors.It builds tools for modeling tendencies, predicting distributions, planning for variance, and responding quickly when the unexpected happens - which it always does.
This is exactly the toolkit a conversational AI agent needs:
Not a map of every possible patient utterance, but a principled model of how patients in a given context are likely to behave- where they'll hedge, where they'll push back, what kinds of emotional states correlate with disengagement, how linguistic cues signal escalation before the patient has said anything explicit about it.
It means designing the agent's response logic not around anticipated inputs but around behavioral profiles - probabilistic, population-level, calibrated against real interaction data. It means building in response capacity for the unexpected: not a fixed fallback ("please rephrase", "anyway, let's move on") but a flexible behavioral recovery that can meet the patient where they are.
And critically, it means knowing when the model is operating outside its validated range.
One of the most important outputs of a behavioral science approach isn't the agent's response to expected inputs - it's the detection system that recognizes when the conversation has moved somewhere the agent wasn't designed to go, how to evade, and where to lead from there.
If you're building a conversational AI agent for healthcare, banking, or any actionable system, or evaluating one, the question isn't whether the product works in the demo.
The demo is always finite.
The question is whether anyone has seriously thought about what happens in the space beyond it - and whether they had the right tools to do it.
That space is where your patients actually live.
That space is what behavioral science maps.