Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

How to invoke one AI Agent from another AI Agent in Virtual Agent Assistant?

Khanna Ji
Tera Guru

Hi Team,

I have created an AI Agent and deployed it in Virtual Agent (VA) as an assistant for end users. My requirement is to invoke different specialized agents from this main agent based on user requests—for example, an agent that creates problem tickets, another for incidents, etc.

 

Current Challenge:

  • Agentic Workflows with multiple agents can only be tagged to Now Assist panels, not VA assistants
  • Adding instructions in the agent to invoke other agents doesn't work
  • I need agent-to-agent escalation/invocation within a VA context

 

What I've tried:

  • Adding instructions to the agent
  • Checking Agentic Workflow options (limited to Now Assist)

 

What I need: Is there a way to invoke one AI Agent from another AI Agent in Virtual Agent? Any native ServiceNow functionality, API, or workaround for this use case?

Any guidance would be appreciated.

13 REPLIES 13

warren_chan
ServiceNow Employee

Hi @lukes_19 , apologies for the delay. I was having some issues with getting a proper working instance. I still have the wider team looking at the supervised vs. autonomous configuration, and what kind of outputs we actually expect.

 

In any case, scripting a User ID into the Subflow should work. I hardcoded the sys_id to return for demo data user Alene Rabeck. Her user record does have the role access required to invoke the AI agent in question (Egg Frying Agent).

 

In the Subflow:

Screenshot 2026-07-06 at 9.31.55 PM.png

 

In the Flow Designer Subflow test:

Screenshot 2026-07-06 at 9.31.24 PM.png

In the AI Agent Execution Plan:

Screenshot 2026-07-06 at 9.30.46 PM.png

Hi @warren_chan,
My apologies for my delayed response. I've simulated the same conditions except using my own user record as the support user who does have the necessary roles to execute the Agent directly manually inside of AI Agent Studio. The results are posted below:

Subflow Configuration:
Screenshot 2026-07-07 135445.png

Flow Designer Execution Context:
Screenshot 2026-07-07 135254.png

AI Agent Execution Plan:
Screenshot 2026-07-07 135610.png

Is it possible that I'm missing a configuration somewhere since this seems to be an isolated occurrence? The instance itself is running on Australia Patch 2 Hotfix 3a and Now Assist Suite Version 29.2.20260702.

warren_chan
ServiceNow Employee

Maybe double-check by returning a string that has the sys_id of the sys_user. It looks like you're still returning a GlideRecord object.

Hi @warren_chan,
Turns out this was the issue in my case, thank you for your help!