Supervisor Agent
A Supervisor Agent coordinates tools and subagents, such as Genie Agents, Knowledge Assistants, Unity Catalog functions, MCP servers and agent endpoints, to answer requests that span several domains. It is served through its own serving endpoint. Tools and subagents are managed through the Tool resource. See https://docs.databricks.com/aws/en/generative-ai/agent-bricks/multi-agent-supervisor for the product documentation.
SupervisorAgent object
A Supervisor Agent coordinates tools and subagents, such as Genie Agents, Knowledge Assistants, Unity Catalog functions, MCP servers and agent endpoints, to answer requests that span several domains. It is served through its own serving endpoint. Tools and subagents are managed through the Tool resource. See https://docs.databricks.com/aws/en/generative-ai/agent-bricks/multi-agent-supervisor for the product documentation.
- namestringBetaIDImmutable
The resource name of the Supervisor Agent. Format: supervisor-agents/{supervisor_agent_id} The server assigns the name when the agent is created.
- display_namestringBeta
The display name of the Supervisor Agent. It must be unique among the agents in the workspace. Creating an agent with a display name that is already in use fails with ALREADY_EXISTS.
- descriptionstringBeta
A summary of what the agent does. It is shown to users of the agent.
- instructionsstringBeta
Natural-language guidelines for how the supervisor should respond and how it should delegate requests to its tools and subagents.
- idstringDeprecatedBetaOutput only
Deprecated: Use supervisor_agent_id instead. This field is no longer populated.
- supervisor_agent_idstringBetaOutput only
The universally unique identifier (UUID) of the Supervisor Agent. It is the last segment of
name.
- creatorstringBetaOutput only
The email address of the user who created the Supervisor Agent.
- create_timestringBetaOutput only
The time at which the Supervisor Agent was created, as an RFC 3339 timestamp.
- endpoint_namestringBetaOutput only
The name of the Model Serving endpoint that serves the Supervisor Agent. Query this endpoint to chat with the agent.
- experiment_idstringBetaOutput only
The ID of the MLflow experiment that is created together with the Supervisor Agent.
Get a Supervisor Agent Beta
GET
Gets a Supervisor Agent.
API scopes: supervisor-agents
Parameters
- namestringRequiredpath
The resource name of the Supervisor Agent. Format: supervisor-agents/{supervisor_agent_id}
Response
Returns the SupervisorAgent object.
List Supervisor Agents Beta
GET
Lists the Supervisor Agents in the workspace that the caller has permission to view.
API scopes: supervisor-agents
Parameters
- page_sizeint32[ 1 .. 100 ]query
The maximum number of supervisor agents to return. If unspecified, at most 100 supervisor agents will be returned. The maximum value is 100; values above 100 will be coerced to 100.
- page_tokenstringquery
A page token, received from a previous
ListSupervisorAgentscall. Provide this to retrieve the subsequent page. If unspecified, the first page will be returned.
Response
Returns a list of SupervisorAgent objects.
Create a Supervisor Agent Beta
POST
Creates a Supervisor Agent together with its serving endpoint and MLflow experiment. Tools and subagents are added to the agent afterwards with the Tool methods.
API scopes: supervisor-agents
Request body
The Supervisor Agent to create.
- namestringIDImmutable
The resource name of the Supervisor Agent. Format: supervisor-agents/{supervisor_agent_id} The server assigns the name when the agent is created.
- display_namestringRequired
The display name of the Supervisor Agent. It must be unique among the agents in the workspace. Creating an agent with a display name that is already in use fails with ALREADY_EXISTS.
- descriptionstring
A summary of what the agent does. It is shown to users of the agent.
- instructionsstring
Natural-language guidelines for how the supervisor should respond and how it should delegate requests to its tools and subagents.
Response
Returns the SupervisorAgent object.
Update a Supervisor Agent Beta
PATCH
Updates a Supervisor Agent. Only the fields listed in update_mask are changed. All other fields
keep their current values.
API scopes: supervisor-agents
Parameters
- namestringRequiredIDImmutablepath
The resource name of the Supervisor Agent. Format: supervisor-agents/{supervisor_agent_id} The server assigns the name when the agent is created.
- update_maskstringRequiredquery
Comma-separated list of the fields to update. Supported values are
display_name,descriptionandinstructions. The request fails if the mask is empty or names any other field.
Request body
The Supervisor Agent to update. name identifies the agent. The other fields carry the new values
for the paths listed in update_mask.
- display_namestringRequired
The display name of the Supervisor Agent. It must be unique among the agents in the workspace. Creating an agent with a display name that is already in use fails with ALREADY_EXISTS.
- descriptionstring
A summary of what the agent does. It is shown to users of the agent.
- instructionsstring
Natural-language guidelines for how the supervisor should respond and how it should delegate requests to its tools and subagents.
Response
Returns the SupervisorAgent object.
Delete a Supervisor Agent Beta
DELETE
Deletes a Supervisor Agent together with the resources created for it, including its tools, examples, serving endpoint and MLflow experiment.
API scopes: supervisor-agents
Parameters
- namestringRequiredpath
The resource name of the Supervisor Agent. Format: supervisor-agents/{supervisor_agent_id}