---
sourceDocument: Brazil Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/conversational-interfaces

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# AI agents in Virtual Agent topics

# AI agents in Virtual Agent topics {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of AI agents in Virtual Agent topics

AI agents in Virtual Agent topics enable automated task execution within a Virtual Agent conversation by leveraging custom skills.
These AI agents perform specific tasks passed to them through the AI Connector utility in Assistant Designer, such as consolidating knowledge base article content.
This capability enhances Virtual Agent interactions by providing dynamic, AI-driven responses based on the tasks defined by the customer.
Show full answer Show less  

## Using AI Agents in Virtual Agent

* AI agents can be selected and configured from the AI Connector utility by choosing the appropriate skill type and AI agent type.
* Tasks are defined through input mapping variables where you specify the task details, for example, retrieving and consolidating a specific knowledge base article.
* The AI agent processes the task and delivers output mappings automatically, which are returned in the Virtual Agent chat as part of the interaction.

## AI Agent Output and Execution Plans

The AI agent generates a detailed execution plan that includes the following key output mapping properties:

* **Execution plan ID:** Unique identifier for the execution plan.
* **Execution state:** Current status of the plan.
* **Objective:** The intended task of the plan.
* **State reason:** Explanation of the current state.
* **Messages:** Communications sent during execution.
* **Execution tasks:** List of tasks performed.
* **Execution tools:** Tools utilized in the plan.

All execution plans, detailing inputs, outputs, objectives, and task flows, are stored in the Execution Plan \[snaiaexecutionplanlist\] table for tracking and analysis.

## Practical Benefits for ServiceNow Customers

By integrating AI agents within Virtual Agent topics, customers can automate complex tasks like content consolidation and data retrieval seamlessly during chat interactions. This improves response accuracy and efficiency, providing end users with enriched, context-aware assistance while enabling administrators to monitor and manage AI tasks through execution plans.  
An AI agent custom skill performs a task that you pass to it from a Virtual Agent topic, such as consolidating the content of a knowledge base article.
There might be AI agents installed on your instance that are not used in agentic workflows. To learn how to see all agents that are available to you, see [Find AI agents](https://www.servicenow.com/docs/access?context=find-ai-agents&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US).
An AI agent performs a task that you pass to it inside the AI Connector utility in Assistant Designer. For more information on the AI Connector utility, see [AI Connector utility](https://servicenow-prod.fluidtopics.net/lC8vujScKNMerqeoi8J7FA "Use this utility to link generative AI to custom skills for added versatility in your Virtual Agent LLM (large language model) conversations.").

For example, you can use the AI agent in the AI Connector utility to get all data on a knowledge base article. The AI agent provides the article if it is available or notifies you if it can't find it. The agent also provides data
on the consolidation itself by way of its output mappings.

To see which AI agents are installed on your instance, see [Find AI agents](https://www.servicenow.com/docs/access?context=find-ai-agents&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US).

To use the AI agent, select it from the Skill type drop-down list in the AI Connector utility, then select the AI agent's type from the Select AI agent drop-down list. For example, to
have the AI agent consolidate a knowledge base article, select KB content consolidation AI agent.

Define the task for the AI agent by placing a value in the Task input mapping variable. You can define a condition, or enter a script or command. For example, enter `return KB00090;` to have
the AI agent retrieve that knowledge base article and consolidate its information into a reply in the Virtual Agent chat.

The AI agent's output mapping properties are automatically defined when you select the AI agent type. All output mappings are returned in the chat when the AI agent completes the task.
{#ai-agent-custom-skill__table_orx_d4v_lfc__entry__2}

| Variable | Description |
|-|-|
| Execution plan ID | ID number of the execution plan. |
| Execution state | Current state of the execution plan. |
| Objective | Intended task for the execution plan. |
| State reason | Reason for the execution plan's current state. |
| Messages | List of messages sent through the execution plan. |
| Execution tasks | List of tasks in the execution plan. |
| Execution tools | List of tools in the execution plan. |
[Table 1. AI agent output mapping properties]

{#ai-agent-custom-skill__table_orx_d4v_lfc} When the AI agent performs its job, it generates the full plan showing the input and output mappings. Each plan shows the objective, all tasks performed for the objective, and any messages sent or tools
used in the plan. All plans are listed in the Execution Plan \[sn_aia_execution_plan_list\] table.

