Another airport, another opportunity to reflect. I’m heading back to Dubai, and apparently my idea of passing the time now involves reading about chatbots misbehaving.
I stumbled across this Business Insider article from December 2023. People had persuaded a car dealership’s AI chatbot to stray from its intended purpose, including writing Python and agreeing in a chat to sell a car for $1. Unsurprisingly, the guy didn't bag himself a Chevy for a dollar (gutted), but more pertinently, the chatbot actually did make a promise that it had no authority to make.
Still, quite the conversation to have with your digital sales assistant.
It got me thinking about guardrails.
I’d initially thought of them as rules you give an AI.
- Stay on topic.
- Don’t disclose confidential information.
- Don’t offer a vehicle for less than the price of a coffee.
Perhaps add “IMPORTANT” in capital letters, so it knows you mean business.
But the distinction that interests me is between telling a model how to behave and controlling what the surrounding system allows it to do.
“Don’t change the price” is an instruction, whereas preventing the chatbot from changing prices in the sales system is an enforced restriction.
Both have a role, but they are not the same thing.
Guardrails can include checks on requests and responses, restricted access to data and tools, and approval steps before consequential actions. Microsoft’s overview of guardrails and controls shows how controls can operate at different points in an AI system.
In practical terms, that means checking the input, proposed actions and output, with appropriate rules at each point. The model generates probabilistically, but controls around it, such as access permissions, can be enforced deterministically. A single check can miss something, so multiple layers help reduce the risk. They still need testing, and none of this makes the system foolproof.
For an analytics assistant, I might allow it to query approved data and draft an explanation. Sending that explanation to a client, or updating the underlying records, would need a separate decision about permissions and review.
Even without the ability to complete a transaction, an inappropriate response can still cause confusion and damage trust. Controlling actions doesn’t remove the need to test what the system says.
And testing should include people who don’t behave like the helpful user in the demonstration. People misunderstand things. They experiment. Occasionally, they decide their afternoon would be improved by negotiating a $1 Chevrolet.
I’m only scratching the surface, but my view is that guardrails deserve attention while we’re designing the job an AI will do. What does it need access to? Where should it ask? What happens when something goes wrong?
Those questions make the promise of AI more practical for me. I want useful autonomy, with boundaries that have been deliberately chosen and tested.
A worthwhile rabbit hole for the flight home. Though I’ll probably leave the aircraft systems to the people up front.