This document describes how to directly route user requests to applications you create on the Model Studio platform—including agents, workflows, and agent orchestration—along with to third-party agents integrated via the A2A protocol.
Configure Direct Agent Invocation
In the Understanding and Generation configuration panel, enable the Intent Recognition switch, disable the Text Model switch, and enable the Direct Agent switch. After enabling Direct Agent, user requests are directly routed to applications created on the Model Studio platform (including agents, workflows, and agent orchestration) and third-party agents (integrated via the A2A protocol).
- This feature currently supports only multimodal applications. Voice applications are not yet supported.
- After you disable the Text Model, the system sends only intent recognition results. Welcome messages, prompts, conversational continuations, knowledge bases, and long-term memory are temporarily unavailable. Re-enable the Text Model to restore these features.
Integrate Model Studio agents and third-party agents using the console
You can use this method in multimodal applications. The suite provides two ways to integrate your business agents.
- Model Studio agents: For creation and configuration instructions, see Integrate Model Studio Applications.
- Third-party agents: After you complete A2A service deployment, integrate them in the console. See AgentCard.
Pass Parameters During Connection Setup
When establishing a connection with a service, configure agent_command to create a service connection pipeline for A2A or Model Studio agents. All text and recognition requests for this session pass directly to the agent for processing.
Key parameter: parameters.bizParams.commands[]
bizParams | Parameter | First-level parameter | Type | Description |
commands[] | ||||
name | String | Fixed value: "agent_command" | ||
exec_params | Object | |||
app_id | String | The `agentId` from the application list in the console. | ||
intent | String | Fixed value: "open_" + `agentId` | ||
user_defined_params | Object | Parameters configured for the agent. | ||
agentId | Object | An object with `agentId` as the key. Parameters within this object pass to the agent. |
Update Parameters Using UpdateInfo
To pass parameters to your agent during a conversation, use this method. The pass-through parameters are included in the next request to the agent service.
Parameters set this way are included with every agent request. You can update parameters with the same name using UpdateInfo.
parameters.bizParams | Parameter | First-level parameter | Type | Description |
user_defined_params | Object | Parameters configured for the agent. | ||
agentId | Object | An object with `agentId` as the key. Parameters within this object pass to the agent. | ||
user_prompt_params | Object | When using a Model Studio agent application, use this structure to pass parameters defined in the agent prompt. |
Pass Images Using UpdateInfo
If your agent supports image modality interaction, you can pass images to the agent as links or Base64-encoded data.
Key parameter: parameters.images[]
images[] | Parameter | Type | Description |
type | String | Image type. Supports "url" or "base64". | |
value | String | Image link or Base64-encoded data. Note that the original image size should not exceed 180 KB when submitting Base64 data. |