AI Agents for Service Mapping
Summarize
Summary of AI Agents for Service Mapping
AI Agents for Service Mapping are autonomous tools designed to automate the creation and maintenance of service maps within the ServiceNow Configuration Management Database (CMDB). These agents reduce manual effort for Service Mapping administrators by running automatically on a recurring schedule, processing relevant records without requiring manual input.
Show less
The ServiceNow ITOM AI Agents for Service Mapping application includes two main AI Agents:
- Service Mapping AI Agent: Creates ML-based service maps from Application Service Candidates (ASCs) and persists service topology in the CMDB, setting new maps to non-operational for administrator review.
- Business App Mapping AI Agent: Establishes Common Service Data Model (CSDM) "Uses::Used by" relationships between Business Applications and discovered Application Services using AI semantic search, automating connection of high-confidence matches and staging medium-confidence matches for review.
Key Features
- Autonomous Processing: Both agents run every 15 minutes, processing all relevant records in batches without per-record manual input.
- Noise Filtering: The Service Mapping AI Agent filters out noise such as monitoring clients, security clients, and OS processes to focus on meaningful services.
- Confidence-based Matching: The Business App Mapping AI Agent uses AI semantic search confidence scores to determine automatic linking, staging for review, or filtering out of relationships.
- Non-operational Default: Created service maps are initially non-operational, allowing administrators to review before making them operational.
- Quota Management: Each AI Agent can process up to 100 records by default; quotas can be increased with configuration changes, balancing processing needs with Now Assist resource usage.
- Easy Activation and Monitoring: Agents are inactive by default and can be activated by users with the Service Mapping admin role from the Service Mapping home page. Activities and outcomes can be monitored via the AI Activity section.
- Fallback Search: The Business App Mapping AI Agent falls back to keyword search if AI Search is unavailable.
Practical Benefits for ServiceNow Customers
These AI Agents eliminate the need for manual review and mapping of service candidates and business application relationships, significantly reducing time and effort for Service Mapping administrators. They enable scalable, automated service map creation and maintain up-to-date business application context in the CMDB, which is critical for effective service health monitoring and impact analysis.
For example, in complex environments with numerous application services, such as a banking payment system, the AI Agents automatically connect business applications to all relevant discovered services, ensuring accurate and timely service maps without manual intervention.
Activation and Usage
- Activate the Service Mapping AI Agent and Business App Mapping AI Agent from the Service Mapping home page.
- No additional AI Agent Studio configuration is required for Service Mapping administrators.
- Review AI Agent activities and results in the AI Activity section.
- Service maps created by the Service Mapping AI Agent start as non-operational and can be made operational manually after review.
AI Agents for Service Mapping are autonomous AI agents that automate the creation and maintenance of service maps in the Configuration Management Database (CMDB), reducing manual effort for Service Mapping administrators.
AI agents for Service Mapping include two AI Agents that automate key parts of the service mapping workflow. After activation, both agents run autonomously in the background on a recurring schedule, processing all relevant records without requiring administrator input for each one.
Available AI Agents
The ITOM AI Agents for Service Mapping application [sn_sm_gen_ai] provides two AI Agents:
- Service Mapping AI Agent
-
Automatically creates ML-based service maps from Application Service Candidates (ASCs) and persists the full service topology in the CMDB. This Agent evaluates ML-powered candidates, focuses on those with a high-confidence name suggestion source such as Service Fingerprints (SFPs), filters out noise (such as monitoring clients, security clients, and operating system processes), and creates the service topology. Created service maps are set to non-operational by default so that the Service Mapping administrator can review them before making them operational.
- Business App Mapping AI Agent
-
Automatically creates Common Service Data Model (CSDM) "Uses::Used by" relationships between Business Applications [cmdb_ci_business_app] and discovered Application Services [cmdb_ci_service_discovered]. This Agent uses AI semantic search to find the best-matching discovered services for each business application and writes the relationship to [cmdb_rel_ci]. High-confidence matches are connected automatically. Medium-confidence matches are saved to a staging table for administrator review.
Why these AI Agents are needed
Without these AI Agents, Service Mapping administrators have to manually review each ML-powered candidate and decide whether to create a service map. Similarly, connecting discovered application services to their business application context in the CSDM required manual one-to-one or one-to-many mapping. Using the AI Agents makes these processes significantly less time-consuming and enables processing at a much larger scale.
The following examples illustrate the challenges these AI Agents solve.
Consider a bank that has a payment application defined as a business application. Under it, Service Mapping discovers many application services: online payment processing, cash payment handling, net banking, and mobile payment systems. Business stakeholders are only concerned with the payment application at the top level and need it connected to all the relevant discovered services so they can monitor health and impact. Manually maintaining these connections as new application services are created is impractical. The Business App Mapping AI Agent solves this by iterating over all business applications and automatically finding and connecting the matching discovered services, working top-down from the smaller set of business applications to the larger set of discovered application services.
In a typical scenario, an organization runs hundreds of servers and generates a large number of ML-powered candidates daily. A Service Mapping administrator who previously had to manually evaluate each candidate and create a service map can instead activate the Service Mapping AI Agent, which processes all high-confidence candidates automatically, creates service maps, and sets them to non-operational for administrator review.
How AI Agents work
Both agents use a ReAct (Reasoning and Acting) strategy. The agent reasons about each step before deciding which tool to invoke. After activation, a script runs every 15 minutes. On each run, the agent processes all relevant records in a single batch — for example, all business applications in the system — without any per-record input from an administrator.
Service Mapping AI Agent process:
- The agent retrieves full ML candidate data from the Application Service Candidate (ASC) record, including the candidate name, process name, and server count.
- The agent performs a noise check. If the candidate is flagged as noise, such as monitoring clients, security clients, or operating system processes, the agent skips it.
- The agent retrieves all running processes associated with the candidate.
- The agent analyzes the data and reasons about what the actual service is, prioritizing candidates with a high-confidence name suggestion source such as Service Fingerprints (SFPs).
- The agent creates the service topology in the CMDB and sets the service to non-operational. If a topology for the same candidate already exists, the agent skips creation.
Business App Mapping AI Agent process:
- The agent retrieves all Business Application records from [cmdb_ci_business_app].
- For each business application, the agent runs an AI semantic search against [cmdb_ci_service_discovered] using the application name and description as the query. The search returns up to 30 candidates, ordered by relevance score (0–1).
- Candidates with a score of 0.3 or higher are automatically connected. The agent creates a Uses::Used by relationship in [cmdb_rel_ci]. A business application can be linked to multiple services if multiple candidates qualify.
- Candidates with a score of 0.1–0.29 are saved to the staging table [sn_sm_gen_ai_ba_candidate_rel] for administrator review. No relationship is created automatically for these.
- Candidates below 0.1 are filtered out. The agent does not create a record or a relationship for these.
Activation and monitoring
Both agents are inactive by default. A user who has the Service Mapping admin role activates them from the Service Mapping home page. For procedural information, see Activate AI Agents for Service Mapping.
No configuration in AI Agent Studio is required for Service Mapping administrators; AI Agent Studio is used by platform administrators or users who have the AI admin role to manage agent definitions and token usage.
After activation, both agents run automatically every 15 minutes. Administrators can monitor activity and review results in the AI Activity section of the Service Mapping list navigation. For more information, see Service Mapping AI Agent activity list tables.
Service maps created by the Service Mapping AI Agent are non-operational by default and can be made operational from the application service record in the Mapped Application Services list.
AI Agent processing quota
Each AI Agent can process up to 100 records by default. When an AI Agent reaches this limit, it stops processing and its status is set to Paused.
- For the Service Mapping AI Agent: sn_sm_gen_ai.agent_invocation_limit.ServiceMapCreationAISpecialist
- For the Business App Mapping AI Agent: sn_sm_gen_ai.agent_invocation_limit.CSDMBusinessApplicationtoInfrastructureAISpecialist