topic input, produces a typed brief output, and ships with a Google Search tool.
You’ll end up with. A saved agent whose inputs, outputs, tools, and agent_type you can verify locally before running it.
Demonstrates creating a functional agent with typed IoConfig inputs/outputs
and tool references in instructions using {{}} placeholders (v2 feature,
shown here for illustration).
Note: {{}} template validation is a v2 feature. In v1, instructions are
plain strings and {{}} references are passed through as-is.
Expected output
agent.id is server-assigned, so it changes every run; the rest of the lines reflect exactly what you declared.
See also
Functional agent run
Take this typed agent and execute it with
agent.run(inputs=...).Conversational agent with tools
The conversational counterpart — tools managed via the fluent API.
Agent reference
Full method surface.
