Huyen uses the definition of an agent as something that perceives and acts on its environment. A chess agent acts on a board, while a coding agent can navigate a repository, search files, and edit them. Giving a model tools can also expand its environment, such as letting it browse the internet.
Keynote: Why people think "agent" is a buzzword but it isn't
Speaker
Chip Huyen, AI engineer and author of *AI Engineering*, discusses why agents are useful and difficult to build at the AI Engineer Summit.
Agent tasks often involve multiple steps, and small per-step error rates compound. Huyen gives the example that a 2% error rate per step can lead to about an 18% chance of error over 10 steps. She says models in her planning benchmark generally struggle beyond five steps, though newer reasoning models handle more complexity than older ones.
Agents must translate natural-language requests into API calls, but requests can be ambiguous and APIs can be poorly documented. Huyen recommends documenting parameters, error codes, and return values, and giving agents a small set of narrow, well-defined tools. Query rewriting, intent classification, and asking users to clarify uncertain requests can also help.
Agents need context for instructions, tool documentation, tool outputs, and planning, so the amount of information can grow quickly. Huyen notes that a large context window does not guarantee effective use of its contents, and says models can hallucinate when given too much information. She suggests keeping task-relevant details in context and using external storage or trained internal knowledge for other information.
Takeaways
- Estimate how many steps a task requires and test whether the agent can handle that level reliably.
- Break tasks into smaller subtasks when they exceed the model’s demonstrated planning ability.
- Document tool parameters, errors, and return values so the agent can interpret API results.
- Keep tools narrow and limited, and ask users to clarify ambiguous requests.
- Use external storage for information that is not needed in the agent’s immediate context.
Mentioned in this talk
Snorkel AI
Shawn "swyx" Wang
Stuart RussellSearch inside this talk
What was claimed 7
- works atChip Huyen works at
Snorkel AI“I worked with NVIDIA, Snorkel AI”
YouTube Verified2 sources· Talk, Web· archived
- previously atChip Huyen previously at
Nvidia
“Before that, I worked with NVIDIA”
YouTube Verified2 sources· Talk, Web· archived
- featureSWE-agent: Operates in a computer environment with a terminal and file system and can navigate, search, view, and edit repository files
“the environment for the agent is a computer with a terminal and file system”
YouTube Unverified1 source· Talk
- metricChip Huyen: In her benchmark, most models solve tasks requiring at most five steps, but most fail after ten steps
“they can solve tasks requiring at most five steps, but after 10 steps, most models fail”
YouTube Unverified1 source· Talk
- metricZebraLogic: Defines problem complexity by the number of Z3 conflicts
“they define each problem's complexity by its number of Z3 conflicts”
YouTube Unverified1 source· Talk
- featuretest-time compute scaling: Provides more compute during inference so a model can use more tokens, reason longer, or generate multiple outputs
“you can give the model more compute during inference”
YouTube Unverified1 source· Talk
- featureVector RAG: Connects a model to external databases as long-term memory
“connecting a model to external databases gives it long-term memory”
YouTube Unverified1 source· Talk











