jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Troubleshoot external AI agents

On this page

Troubleshoot external AI agents

Use this troubleshooting guide to resolve issues with External AI agents’ roles, testing procedures, failure diagnosis and reference resources.

Prerequisites for External AI agents

The following plugins, versions, and roles are apply for external AI agents:

  • Application version: ServiceNow Otto AI Agents v6.0.x+.

  • Platform version: Zurich Patch 4+ or Yokohama Patch 11+.

  • Enable external agent interoperability (AI Agent Studio → Settings):

    • Set the sn_aia.external_agents.enabled to true (ServiceNow can call external agents).

    • Set the sn_aia.internal_agents.enabled_external system property to true (External agents can call ServiceNow AI Agents).

  • Service account & roles for inbound A2A calls: sn_aia.integration (runtime) or sn_aia_admin (testing), plus rest_service and snc_platform_rest_api_access.

  • AI Agent activation & discoverability: Ensure the agent is active and enable the AI agent for discovery (sets External discoverable on sn_aia_agent_config).

Autonomous mode

You 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.

The 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.

Review logs for external agents

You 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.

Additional resources

Use the following documentation resources for more information:

Keep exploring.

Find another answer, or bring this documentation into your own tools.