---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# ServiceNow AI agents as secondary agents

# ServiceNow AI agents as secondary agents {#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 ServiceNow AI agents as secondary agents

ServiceNow AI agents can function as secondary agents, specializing in handling specific workflow tasks delegated by a primary agent or user.
This capability allows integration with other AI platforms via the Agent2Agent (A2A) protocol, enabling ServiceNow AI agents to operate within broader AI ecosystems.
Show full answer Show less  
Secondary agents are created and managed in AI Agent Studio. They can be accessed through a unique Agent Card URL, which serves as the endpoint for executing the AI agent. Authentication for these agents uses OAuth or API keys, supporting streamlined security management.

## Enabling ServiceNow AI Agents as Secondary Agents

* Navigate to **AI Agent Studio \> Settings \> External AI agents** and toggle **Allow third party access to ServiceNow AI agents** to enable.
* Use the provided Agent Card URL in the format `{{instance}}.service-now.com/api/snaia/a2a/v2/agent/id/{{agent-id}}` to integrate with external AI models.
* For version 1 agents, ensure the system property `snnowassistva.showainativeexperience` is **true** and the A2A deployment experience is set to **AI native** in the `sysnowassistdeploymentchannel` table.
* Monitor AI agent execution via the `Execution Plan [snaiaexecutionplan]` table, which tracks conversations and objectives.

## Agent-to-UI (A2UI) Protocol Support

The A2UI protocol enhances secondary agent interactions by enabling agents to control UI workflows and provide structured, advanced visual responses in external systems. To leverage A2UI:

* Enable the system property `snaia.externalagents.a2ui.enabled` by setting it to **true**.
* Route A2A deployment through the off-glide experience; A2UI responses require this path.
* Confirm `snnowassistva.showainativeexperience` is **true** and the deployment experience is set to **AI native**.
* Verify the agent card includes the A2UI extension under `capabilities.extensions`. Lack of proper setup may cause errors logged without warnings.
* Ensure the calling client requests A2UI on each call by sending the header `X-A2A-Extensions` (e.g., `https://a2ui.org/aa-extension/a2ui/v0.9`) and uses supported content types like `application/json+a2ui` or `application/json` with appropriate accepted output modes.

Note that only version 0.9 of A2UI is currently supported, and improper configuration results in request rejection.

## Additional Notes

* To use version 1 when ServiceNow acts as the primary agent, enable the premium chat feature in the assistant executing the agent.
* For authentication details, refer to the guidelines under **Authentication for A2A - ServiceNow as Secondary Agent**.
* Sample payloads and further technical documentation are available for integration and troubleshooting purposes.  
Secondary agents are specialized AI agents that handle specific workflow tasks delegated by a primary agent or user. You can connect your ServiceNow agent to other agentic AI model providers using the Agent2Agent protocol.

## Enable ServiceNow AI agents as secondary agents {#a2a-secondary-agent__section_bwd_4g4_kkc}

You can enable ServiceNow AI agents as secondary agents to use on other AI platforms. To do so, navigate to AI Agent StudioSettingsExternal AI agents and toggle Allow third party access to ServiceNow AI agents.

## Secondary agents overview {#a2a-secondary-agent__section_db3_kf4_kkc}

After creating your AI agent in AI Agent Studio, you can point it to the Agent Card URL that is displayed for secondary agents. Admins can view, copy, and consume the URL for easy access. The endpoint to point the AI agent to Agent Card for the
actual execution of the AI agent is in the <kbd class="ph userinput">{{instance}}.service-now.com/api/sn_aia/a2a/v2/agent/id/{{agent-id}}</kbd> format.

You can use the same OAuth or API key for authenticating the agent discovery and the agent execution. For more information, see [A2A API Key credential behavior](https://www.servicenow.com/docs/pdPuK5q5Ft7~7cOf_Q9eHQ "Starting in Now Assist AI Agents 7.1.x, the API Key credential record determines the header in each A2A request. The flow action no longer adds the header automatically.").

If you want v1 of the secondary agent, then verify that the sn_nowassist_va.show_ai_native_experience system property is set to true and the A2A deployment record experience is set to
AI native in the sys_now_assist_deployment_channel.

To verify that your AI agent is running from the ServiceNow side, during a conversation with the AI agent, you can go to the Execution Plan \[sn_aia_execution_plan\] table. From the Execution Plan table, you can identify the execution plan
based on the Objective field that contains the prompt from the conversation on the other platform.

For more information about setting up instructions for your ServiceNow AI agents as secondary agents (acting as A2A server), refer to [Authentication for A2A - ServiceNow as Secondary Agent](https://www.servicenow.com/community/now-assist-articles/authentication-for-google-a2a-servicenow-as-secondary-agent/ta-p/3446091).

For more information about sample payloads for A2A with ServiceNow AI agent as Secondary agent, see [Sample payloads for A2A](https://www.servicenow.com/community/now-assist-articles/sample-payloads-for-google-a2a-servicenow-as-secondary-agent/ta-p/3451904).

## Agent-to-UI (A2UI) protocol support for secondary agents {#a2a-secondary-agent__A2UI}

The A2UI protocol allows interactions that enable agents to drive UI workflows and receive structured responses from user interface surface with more advanced visual responses in external systems when connecting to ServiceNow agents. To enable the A2UI protocol, you must:

* Turn on the sn_aia.external_agents.a2ui.enabled system property to true, whose default value is false.
* Route the A2A deployment through off-glide experience. The A2UI responses can only be built on the off-glide path. Verify that the sn_nowassist_va.show_ai_native_experience system property is set to true and the A2A deployment record experience is set to AI native in the sys_now_assist_deployment_channel, as shown in the following image:

* Check the agent card. When you enable the system properties mentioned earlier, the card adds the extension under capabilities.extensions. If the property is enabled but the off-glide experience isn't setup, then the extension is left off the card without any warning. The only sign is an error in the log.
* Have the calling client request A2UI on each call. The client has to:
  * Send the header `X-A2A-Extensions`. For example, `https://a2ui.org/aa-extension/a2ui/v0.9`.  
    Note:  
    Only versions 0.9 is supported.
  * Include `application/json+a2ui` or `application/json` if it sets the `configuration.accpetedOutputModes`. Without one of those, the requests is rejected with `InvalidAccpetedOutputModes`.

    To get v1 when ServiceNow acts as primary agent, the premium chat should be enabled in the respective assistant this agent is being executed from. Refer to the [Premium Chat experience](https://www.servicenow.com/community/servicenow-ai-platform-blog/premium-chat-101-meet-servicenow-s-newest-conversational/ba-p/3590724) article on how that can be enabled.

For more information about A2UI, see [A2UI documentation](https://a2ui.org/).

*[\>]: and then


