Interface: BuiltAgents
Output of buildAgents: resolved agents plus the default id.
Properties
Section titled “Properties”agents
Section titled “agents”agents:
Record<string,Agent>
ambientTools
Section titled “ambientTools”ambientTools:
MastraTools
Ambient tools shared across every agent (the built-in system tools
spread with config.tools). Surfaced so the optional MCP server
can re-expose them when MastraMcpConfig.tools is enabled.
defaultAgentId
Section titled “defaultAgentId”defaultAgentId:
string
defaultModels
Section titled “defaultModels”defaultModels:
Record<string,AgentDefaultModel>
Default model intent per agent id. An unconfigured agent is "auto" and
resolves the highest-ranked live endpoint; a string is "configured"; a
custom function is "dynamic". Consumed by the plugin’s
GET /default-model route.