Conversational Agent
Before language models, building something that could hold a conversation meant enumerating every intent a user might have and writing a dialogue tree for each. A conversational agent today is one model, a system prompt, and the transcript so far — which is why coverage stopped being the hard part and control became it.
What the system is made ofThe model itself is stateless; it remembers nothing between calls. The agent is the machinery around it. A system prompt fixes the persona, the scope and the rules. The transcript is re-sent on every turn, so the conversation must be truncated or summarised as it grows past the context window. Facts that have to be current — an order status, a price, a policy — are fetched at the moment they are needed rather than trusted to the weights. Output is streamed, so the reply starts appearing while it is still being written.
Why this is the hard application- Every turn conditions the next: a wrong detail accepted early is treated as established fact for the rest of the dialogue.
- People volunteer information out of order, change their mind, and ask three things at once — the behaviour that broke intent-and-slot chatbots, and the reason a large model earns its cost here.
- The open surface cuts both ways. Anything a user can type is a valid input, which makes prompt injection, scope creep and confidently wrong answers operational risks rather than theoretical ones.
The agent is judged on the conversation rather than the turn: whether the person left with the thing they came for.
A conversational agent is a system that holds a multi-turn dialogue with a user by wrapping a language model in the machinery it lacks: a system prompt that fixes persona and scope, the transcript re-sent each turn, truncation or summarisation as that transcript outgrows the context window, and live lookups for facts that must be current. It replaced intent-and-slot chatbots because unscripted phrasing no longer breaks it, at the cost of a surface where any input is possible.
Think of a new receptionist who is excellent at conversation but has no memory of yesterday. Every time you walk up, someone hands them the notes of everything said so far, plus a card describing their job and what they are not allowed to discuss. That is roughly how a conversational agent works. The old versions of these systems only understood a fixed list of phrases, so anything you worded unusually went nowhere. This one follows the thread however you say it — which is why it is pleasant to use, and why keeping it on topic and honest is now the real work.