{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":24558,"path":"intelligent-experiences/troubleshoot-external-ai-agents.md","title":"Troubleshoot external AI agents","bundle":null,"doc_type":null,"release":"australia","body":"\n# Troubleshoot external AI agents\n\nUse this troubleshooting guide to resolve issues with External AI agents' roles, testing procedures, failure diagnosis and reference resources.\n\n## Prerequisites for External AI agents\n\nThe following plugins, versions, and roles are apply for external AI agents:\n\n-   Application version: ServiceNow Otto AI Agents v6.0.x+.\n-   Platform version: Zurich Patch 4+ or Yokohama Patch 11+.\n-   Enable external agent interoperability \\(AI Agent Studio → Settings\\):\n    -   Set the **sn\\_aia.external\\_agents.enabled** to **true** \\(ServiceNow can call external agents\\).\n    -   Set the **sn\\_aia.internal\\_agents.enabled\\_external** system property to **true** \\(External agents can call ServiceNow AI Agents\\).\n-   Service account &amp; roles for inbound A2A calls: sn\\_aia.integration \\(runtime\\) or sn\\_aia\\_admin \\(testing\\), plus rest\\_service and snc\\_platform\\_rest\\_api\\_access.\n-   AI Agent activation &amp; discoverability: Ensure the agent is active and enable the AI agent for discovery \\(sets External discoverable on sn\\_aia\\_agent\\_config\\).\n\n## Autonomous mode\n\nYou must enable the autonomous mode for executing External AI agents. Using the Supervised execution mode runs with human interaction or intervention as opposed to an agent interaction and needs the autonomous mode to be set up. For more information, see [Add tools and information to an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-tool-aia-new.md).\n\nThe asynchronous mode is not supported for external AI agents in AI Agent Studio. Change the communication mode to the Synchronous mode while onboarding the external agents and enable push notifications.\n\n## Review logs for external agents\n\nYou can retrieve tool logs using the sn\\_aia\\_external\\_agent\\_exec\\_history table and to access the full conversation history via the task/get method, enable the **Display output** in tool settings.\n\n## Additional resources\n\nUse the following documentation resources for more information:\n\n-   Enable MCP and A2A protocol: [Enable MCP and A2A for your agentic workflows](https://www.servicenow.com/community/servicenow-otto-articles/enable-mcp-and-a2a-for-your-agentic-workflows-with-faqs-updated/ta-p/3373907).\n-   [AI Agents and 3rd-party integrations](https://www.servicenow.com/community/servicenow-otto-articles/ai-agents-and-3rd-party-integrations/ta-p/3316286).\n-   [Setting up A2A authentication for ServiceNow AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown)\n-   [Sample payloads for A2A - ServiceNow as secondary Agent](https://www.servicenow.com/community/servicenow-otto-articles/sample-payloads-for-google-a2a-servicenow-as-secondary-agent/ta-p/3451904)\n-   [AI Agents FAQ and Troubleshooting](https://www.servicenow.com/community/servicenow-otto-articles/ai-agents-faq-and-troubleshooting/ta-p/3200454)\n-   [Troubleshooting AI Agents](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2419769)\n-   [External AI agents in ServiceNow via A2A - ServiceNow as primary agent](https://www.servicenow.com/community/servicenow-otto-articles/external-agents-in-servicenow-via-google-a2a-servicenow-as/ta-p/3467587)\n-   [Generative AI skill support in MCP Server Console](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/now-assist-skill-support-mcp.md)\n-   [Troubleshooting RaptorDB](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1513425)\n\n"}}