· Business
From scripts to agents: why context changes everything
AI agents don’t fail because the model is weak, but because they lack the context the person doing that job used to have.
Quick answer: AI agents don’t fail because the model is weak, but because they lack context. Without it, an agent doesn’t behave like a script: it keeps going with an answer that sounds credible even when it isn’t true. The engineering that really matters today is the kind that gives the agent the same context the person who used to do that job had.
For fifteen years, automating has meant programming the process. Scripts, RPA, iPaaS, connectors. You draw the happy path, clean up the input data, and the system does exactly what you told it to. It works, and it works well, as long as the path stays closed. The moment an exception shows up, whether it’s a supplier replying by email with a scanned PDF or a system with no API, the process breaks and you need a person again.
That person was the real automation. The script moved the data; they did the work.
What changes with agents
The leap isn’t that software is “smarter.” It’s that it stops just moving data between systems and starts doing the whole operational job: reading the email, calling the carrier, deciding whether the exception fits the policy, updating the ERP and recording why. Automation stops being the wire between systems and takes the seat of the person who was sitting in front of them.
The clearest example I’ve followed this year is HappyRobot. They deploy agents that close entire operational workflows over voice, email and SMS, legacy systems included, not a chatbot bolted onto a CRM that hands the ticket back to a human. A month ago they closed a $150 million Series C at a $1.2 billion valuation. You can argue about the multiple; what you can’t argue about is the signal: there are critical operations (DHL, Kuehne+Nagel, Repsol) paying for finished work, not for demos.
The bottleneck is no longer the model
Here comes the part that interests me as a CTO. Today anyone can put together an agent that makes phone calls and sounds reasonable. That’s not the hard part.
Think about the person who used to do that job. They knew things like these:
-
Customer X always pays late, but never fails to pay.
-
Y’s warehouse doesn’t unload on Friday afternoons.
-
That incident was already opened yesterday, and you have to link to it instead of duplicating it.
-
A discount above 5% has to be signed off by someone else.
None of that is in the model. Almost none of it is in the documentation. It’s spread across the CRM, the ERP, three email threads and somebody’s head.
That’s context: who you are, what system you’re in, what happened yesterday, what you’re allowed to do and what shared memory the business has. Without it, an agent is an expensive script with better writing. With it, it’s a new hire who doesn’t need six months of onboarding.
And there’s a nuance I see a lot of people skip: an agent without context doesn’t fail like a script. The script stops. The agent carries on with a plausible answer. It grants the discount it wasn’t allowed to grant, reschedules the delivery into a slot that didn’t exist, closes the incident that wasn’t resolved. Plausible isn’t true, and in operations you pay for the difference in money.
Where the real engineering is
Putting an LLM in a workflow is the easy part, and it’s already commoditized. What’s hard to build, and what will set apart whoever does it well, is the layer that gives the agent the same thing the person had:
-
Access to the right systems.
-
The history of what has happened.
-
The limits of what it can do.
-
A way for what it learns today to be available tomorrow, for the next agent and for the next human.
That’s not prompt engineering. It’s business modeling, integration with systems that were never designed to talk to anyone, permission governance and decision traceability. Good old-fashioned engineering, applied to a new problem.
Where are you seeing this bottleneck in your organization: in the model, or in the context nobody has written down yet?
Agents already know how to work. What’s missing is telling them which company they’re in.
