AI
AI Agents in ServiceNow: What They Are, How They Work, and When to Use Them (Beginner Guide)
What Are AI Agents?
AI Agents in ServiceNow are autonomous AI workers that can reason about a task, plan the steps needed, execute those steps, and handle errors — all without a human telling them what to do at each stage.
This is fundamentally different from the other AI capabilities in ServiceNow:
| Now Assist | Virtual Agent | AI Agents | |
|---|---|---|---|
| Role | Assistant — suggests and drafts | Chatbot — follows scripted flows | Worker — reasons and acts autonomously |
| Decision making | Human makes the decision, AI provides information | Pre-built decision trees — bot follows the programmed path | AI makes decisions within defined boundaries |
| Autonomy level | Low — always advisory | Medium — follows rules but can branch | High — plans and executes multi-step tasks |
| When human is involved | Always — human reviews every suggestion | Only on escalation (handoff to live agent) | Only for exceptions outside the agent's scope or confidence |
The Everyday Analogy
Think about the difference between these three workplace roles:
- Now Assist = a research assistant. You ask them to summarize a report or draft an email. They do the work, but you review and send it yourself.
- Virtual Agent = a receptionist with a script. They greet visitors, answer common questions from a FAQ, and direct people to the right department. They follow a defined process.
- AI Agent = a junior analyst who can work independently. You give them a task ("handle this incoming request"), and they figure out the steps: check the request type, look up policies, verify eligibility, create the necessary records, notify the right people, and close the loop. They come to you only when they encounter something outside their training.
How AI Agents Work — The Reasoning Loop
An AI Agent follows a reasoning loop that is fundamentally different from a scripted workflow:
Trigger: New P1 incident created with no assignment group
↓
AI Agent receives the task:
"Investigate and route this P1 incident"
↓
REASONING STEP 1: "What kind of incident is this?"
→ Agent reads the short description, category, and affected CI
→ Agent uses Knowledge Graph to find similar past incidents
→ Conclusion: "This is a database connectivity issue on the payment server"
↓
REASONING STEP 2: "Who should handle this?"
→ Agent looks up the CI's support group in the CMDB
→ Agent checks the on-call schedule for that group
→ Conclusion: "Database Operations team, Jane Doe is on-call"
↓
REASONING STEP 3: "What else needs to happen for a P1?"
→ Agent checks P1 procedures: bridge call required, exec notification required
→ Agent creates a bridge call task
→ Agent sends executive notification
↓
ACTION: Agent updates the incident:
- Assignment group: Database Operations
- Assigned to: Jane Doe
- Work notes: "AI Agent analysis: Database connectivity issue on payment
server CM0001234. Similar to INC0045678 (resolved by restarting
connection pool). Routed to Database Operations per CMDB ownership.
Bridge call created. Executive notification sent."
↓
MONITORING: Agent monitors for resolution
→ If not acknowledged in 15 min → escalate to backup
→ If resolved → generate resolution summary
Notice the difference from a workflow: a workflow would need every possible path pre-programmed. The AI Agent reasons about the situation and decides what to do based on the context.
AI Agent Studio — Where You Build Agents
AI Agent Studio is the visual builder for creating and configuring AI Agents.
// Navigate to: All > AI Agent Studio // // When building an agent, you define: // // 1. PURPOSE — What is this agent responsible for? // Example: "Route and enrich incoming P1 incidents" // // 2. TOOLS — What actions can the agent take? // - Look Up Record (read CMDB, incident history, KB) // - Update Record (set fields on the incident) // - Create Record (create tasks, notifications) // - Knowledge Graph search // - Call Subflow (trigger a Flow Designer automation) // - File Upload / Download // - Send Notification // // 3. GUARDRAILS — What can the agent NOT do? // - Cannot delete records // - Cannot change priority (only a human can de-escalate a P1) // - Cannot access HR data tables // - Must explain its reasoning in work notes // // 4. ESCALATION — When should the agent hand off to a human? // - Confidence below 60% on intent classification // - No similar past incidents found // - Customer is VIP with special handling rules // - Agent has taken 5+ actions without resolution
Tools — What AI Agents Can Do
AI Agents are given access to tools — specific capabilities they can use during execution. The agent decides which tools to use based on the situation.
| Tool | What It Does | Example Use |
|---|---|---|
| Look Up Record | Query any ServiceNow table | Look up the affected CI's support group, check the caller's VIP status, find similar past incidents |
| Update Record | Modify fields on existing records | Set assignment group, update priority, add work notes |
| Create Record | Create new records in any table | Create a child task, create a change request, create a problem record |
| Knowledge Graph | Search connected knowledge across CMDB, KB, and service relationships | Find which business service is affected, find the owner, find relevant KB articles |
| Call Subflow | Execute a Flow Designer subflow | Trigger a password reset, create a bridge call, send a Slack notification |
| Predictive Intelligence | Run ML models for classification | Predict the correct category, assignment group, and priority |
AI Agents in Virtual Agent
One of the most powerful combinations: an AI Agent running inside a Virtual Agent conversation. Instead of following rigid scripted topic flows, the Virtual Agent hands off to an AI Agent that can reason about the user's request in real time.
// Traditional Virtual Agent: // User says "my laptop is slow" // Bot follows scripted flow: "Have you restarted?" → Yes/No → ... // Every possible path must be pre-built // // Virtual Agent + AI Agent: // User says "my laptop is slow" // AI Agent reasons: check user's device in CMDB → check recent incidents // for that device → check if there's a known issue → // "I see your laptop was imaged 3 years ago and has 4GB RAM. // There's a hardware refresh program available. Would you like me // to submit a replacement request?" // // The AI Agent handles the conversation dynamically based on data, // not a pre-scripted decision tree.
When to Use What — The Decision Framework
| Scenario | Use This | Why |
|---|---|---|
| User needs to check ticket status | Virtual Agent (scripted topic) | Simple lookup — no reasoning needed, just a GlideRecord query |
| Agent needs a ticket summary | Now Assist skill | Advisory — agent reviews and uses the summary |
| Password reset request | Virtual Agent + Flow Designer | Well-defined process with clear steps — scripted flow is sufficient |
| Route a P1 incident with CMDB context | AI Agent | Requires reasoning about CI relationships, team availability, and P1 procedures |
| Handle a complex, multi-step employee onboarding | AI Agent | Many conditional steps, cross-department coordination, exceptions handling |
| Generate resolution notes at ticket close | Now Assist skill | Single-task AI assistance, human reviews output |
| Automatically resolve known-error incidents | AI Agent + Predictive Intelligence | AI matches to known error, applies fix, verifies, closes — fully autonomous |
Governance and Safety
Because AI Agents can take actions autonomously, governance is critical:
| Control | What It Prevents |
|---|---|
| Tool restrictions | Agent can only use tools you explicitly grant. No tool = no access. |
| Table/field ACLs | Standard ServiceNow ACLs apply. The AI Agent runs under a service account with specific roles — it cannot access tables or fields its role does not permit. |
| Confidence thresholds | If the agent's confidence in its reasoning drops below a threshold, it escalates to a human instead of guessing. |
| Action limits | Maximum number of actions per execution. Prevents runaway loops. |
| Human-in-the-loop | For high-impact actions (delete, major field changes), require human approval before the agent acts. |
| Audit logging | Every action the AI Agent takes is logged — what it reasoned, what tools it used, what changes it made. Full audit trail. |
| AI Control Tower | Dashboard showing all AI Agent activity across the instance — usage, errors, escalations, compliance status. |
The Adoption Path — How to Get There
AI Agents are not a day-one deployment. They require a mature foundation:
- Phase 1: Data Foundation — Clean CMDB, structured KB, consistent categorization. Without good data, AI Agents make bad decisions.
- Phase 2: Now Assist — Deploy AI assistance for agents. Prove AI value with lower-risk advisory capabilities.
- Phase 3: Virtual Agent — Deploy scripted self-service chatbot. Learn which use cases work well and which need human judgment.
- Phase 4: Predictive Intelligence — Deploy ML-based categorization and routing. Build confidence in AI-driven decisions.
- Phase 5: AI Agents (Pilot) — Pick one well-defined, high-volume use case (e.g., known-error auto-resolution). Build the agent with strict guardrails. Monitor closely.
- Phase 6: AI Agents (Expand) — Expand to more use cases as confidence and governance maturity grow.
The #1 Mistake
Deploying AI Agents before the data foundation is solid. An AI Agent that routes incidents based on bad CMDB data will misroute them at scale — faster than a human would, and without the judgment to realize something is wrong. Fix your data first, then automate.