Skip to main content

Connect agentic virtual agents to Architect Virtual Agent flows

After you publish an agent in AI Studio, you can connect it to an Architect bot flow or digital bot flow. The bot flow or digital bot flow must be enabled with Virtual Agent using the Call Agentic Virtual Agent action. 

Publish an agent in AI Studio

  1. Click Menu > Orchestration > AI Studio > Agentic Virtual Agents.
  2. (Optional) To search for a specific agent, start typing the name of the agent in the search box. As you type, the matching agents are shown.
  3. To open an AI agent, click the agent’s tile. The Agent profile view opens.
  4. Complete the entire agentic virtual agent setup and click Publish. After you publish the agent, you can now open Architect and connect the agent to a Virtual Agent flow.

Agent size limits for publishing

When you publish an agent, the system validates the overall size of the agent definition, including its instructions, guidelines, descriptions, tools, and data types. If the definition exceeds the size limit, publishing fails and you must reduce its size before publishing again.

A smaller definition also consumes fewer tokens at runtime because the definition is sent to the model on every turn. To reduce the size of an agent and its token consumption, use the following strategies:

  • Reuse values through linking: When the same value is used in multiple places, such as a tool input that matches a start context variable or a value shared across tools, link to the existing variable instead of defining it again. For more information, see the Set up input variables section in .
  • Mask values that the agent does not need: Mark non-meaningful or sensitive values, such as authentication tokens, API keys, and internal IDs, as masked. This applies to both start context values and data action output values. Masked values are hidden from the agent and do not count toward size limits.
  • Select only the output fields that you need: When you configure a tool, include only the data action output fields that the agent actually requires instead of the entire output schema.
  • Reduce verbosity: Keep instructions, guidelines, and descriptions concise. Verbose or repetitive content increases the size of the agent and is sent to the model on every turn.

    Add a Call Agentic Virtual Agent action to a bot flow or digital bot flow in Architect

    Use the Call Agentic Virtual Agent action in a bot flow or digital bot flow that is enabled with Virtual Agent to invoke the AI agent. You can solely use the agent or mix and match the agent with conventional flow-based elements as necessary to implement a hybrid workflow.  

    Notes:
    • The AI Studio category and the Call Agentic Virtual Agent action are available only when you .
    • When you add a Call Agentic Virtual Agent action to a flow in Architect, the flow type changes to Agentic Virtual Agent and it is indicated by the following badge at the upper right corner:
      Architect Agentic Virtual Agent flag

    You can use Architect’s to search for flows that have dependency on an agentic virtual agent.