Traditional software starts with a spec, then code and tests; an agent starts with instructions, followed by running it, observing its behavior, and adjusting prompts or tools. Schmid compares the shift to moving from controlling every traffic signal to dispatching an agent toward a goal without prescribing every step.
Why (Senior) Engineers Struggle to Build AI Agents
Speaker
Philipp Schmid, who works on agents for Gemini and the Gemini API at Google DeepMind, explains why engineers need different approaches to building reliable AI agents at an AI Engineer talk.
Schmid says language models can interpret meaning that fixed flags and data structures miss. A researcher could approve a plan while adding a US focus and excluding California, rather than rejecting it and starting over. Personalization can also adapt to a user's stated preference, such as using Fahrenheit for cooking despite generally using Celsius.
Fixed workflows struggle with cases that change as a conversation unfolds, such as a customer who asks to cancel and then changes their mind. Schmid argues that agents need room to respond dynamically. When a long-running task fails, the system should pass the error back to the model and continue where possible instead of restarting and losing work, context, and compute.
Because agents are nondeterministic, Schmid recommends measuring how often they succeed with evals rather than relying only on tests that expect the same output every time. Teams should trace agent actions and grade results, using human experts or an LLM as a judge when outcomes are subjective. Tool schemas and descriptions should explain their meaning and behavior because agents lack developers' background knowledge of an API.
Schmid summarizes his guidance as trusting models while verifying results, preserving context, planning for recovery, and evaluating reliability. He also advises building with the expectation that software may need to be replaced as models and agents improve.
Takeaways
- Give agents a goal and useful context, then let them choose steps where the task allows it.
- Represent user preferences and plans in language when fixed flags cannot capture their meaning.
- Feed recoverable errors back into the agent loop so long tasks can continue without starting over.
- Measure how consistently agents achieve useful outcomes, not just whether one run passes.
- Write tool descriptions for an agent that has no prior knowledge of your product or API.
Mentioned in this talk
Search inside this talk
What was claimed 5
- previously atPhilipp Schmid previously at
Googleteam member; works mostly on AI Studio and the Gemini API“I’m part of the Google DeepMind team, mostly working on AI Studio and the Gemini API.”
0:13inWhy AI Agents Should Have Their Own SandboxYouTube Unverified3 sources· Talk
- featureAI agents: Can pursue a defined goal without following a fixed sequence of steps
“We define the goal, but not the exact steps the agent needs to take to achieve it.”
YouTube Unverified1 source· Talk
- featurelarge language models: Can understand semantic meaning
“Now, LLMs can understand semantic meaning.”
YouTube Unverified1 source· Talk
- featureAgent evaluation: Measure how often an agent succeeds across runs
“We need to test how often something works.”
YouTube Unverified1 source· Talk
- featureagent-ready APIs: Provide semantic interfaces, schemas, and documentation that agents can understand
“We need to build APIs or tools that are really agent-ready, with self-documenting semantic interfaces.”
YouTube Unverified1 source· Talk






