Skip to main content

Overview

UseAgentDefinitions lets an AgentBuilder-based agent inspect a shared AgentDefinitionRegistry. Its safe default is read-only: the capability adds list_agents and read_agent, but not write_agent. Supplying an explicit FileAgentDefinitionStore is what grants definition-writing authority. This example invokes the installed tools directly, so it performs no inference and needs no API credentials.

Example