Willmott challenges the assumption that a smarter, larger model is always better or safer. A capable model may understand harmful instructions hidden in a poem, while an agent with a broad remit has more ways to be exploited and more behavior to test. For deployment, he says, teams need to balance capability, safety, cost, and speed.
Spec-Driven Testing for Agents With A Brain the Size of A Planet
Speaker
Steven Willmott, CEO of Safe Intelligence, discusses how to specify and test AI agents at the AI Engineer event.
A useful specification goes beyond input and output examples. It can include ground-truth datasets, business rules such as discount and refund limits, relevant destinations or terminology, domain knowledge, user permissions, and robustness requirements. For example, a customer-facing agent should be tested against typos and rephrasings, not only clean inputs.
Willmott recommends benchmarks tailored to the agent’s task and role, including the context needed to judge its answers. He relates these to integration tests and says implicit requirements should be made explicit. Agent cards and prompt-management context can help describe an agent, but teams still need to define which variations in a request are valid.
Willmott describes using an agent’s intended tasks and capabilities to guide security checks, since the agent may be most vulnerable in the domains it is designed to handle. Teams can also vary inputs to see how reliably it performs across a range of requests. He says these ideas apply regardless of the testing platform.
Willmott recommends specifying behavior independently of the agent implementation so tests can carry across platforms such as LangSmith and Vertex AI Agents. Running those tests can reveal robustness gaps and support iteration, a process he compares to a makeshift form of reinforcement learning around the model. He sees potential in keeping specifications in a version-controlled repository and importing them into different tools.
Takeaways
- A larger model can understand harmful instructions that a smaller one misses, so test capability and risk together.
- Write down business rules, domain terms, permissions, and task context as part of the agent specification.
- Test realistic variation, including typos and rephrasing, alongside standard evaluation examples.
- Use the agent’s intended tasks and tools to identify where security testing should focus.
- Keep behavioral tests independent of the model platform so they remain useful when infrastructure changes.
Mentioned in this talk
Search inside this talk
What was claimed 7
- works atSteven Willmott works at
Safe IntelligenceCEO“I'm the CEO of Safe Intelligence.”
YouTube Verified2 sources· Talk, Web· archived
- feature
Safe Intelligence: Has been operating for three years“We're a company that's been around for three years.”
YouTube Unverified1 source· Talk
- launched
Safe Intelligence: A product for testing language models“Yesterday, we released a new product that does something analogous for language models.”
YouTube Unverified1 source· Talk
- feature
Safe Intelligence: Uses formal verification techniques for machine learning validation“We go very deep into ML validation. We use formal verification techniques”
YouTube Unverified1 source· Talk
- ceo ofSteven Willmott CEO of
Safe Intelligence“I'm the CEO of Safe Intelligence.”
YouTube Unverified1 source· Talk
- feature
Safe Intelligence: Platform performs security checks and robustness testing using agent specs“In our platform, we do two things. We do security checks.”
YouTube Unverified1 source· Talk
- built
“I helped write that spec way back in the day.”
YouTube Unverified1 source· Talk












