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 Configuration Management Database (CMDB). These agents reduce manual workload for Service Mapping administrators by running on a recurring schedule and processing relevant records without requiring individual input. The solution includes two AI Agents:
Show less
- Service Mapping AI Agent: Automatically creates machine learning (ML)-based service maps from Application Service Candidates (ASCs), filters out irrelevant data, and persists service topology in the CMDB as non-operational maps for administrator review.
- Business App Mapping AI Agent: Automatically creates Common Service Data Model (CSDM) "Uses::Used by" relationships between Business Applications and discovered Application Services, using AI semantic search to match and connect entities with varying confidence levels.
Key Features
- Autonomous Processing: Both agents operate every 15 minutes, processing all relevant records in batches without manual intervention.
- Noise Filtering: The Service Mapping AI Agent excludes irrelevant processes such as monitoring or operating system processes to focus on accurate service topology.
- Confidence-Based Matching: The Business App Mapping AI Agent uses confidence scores to determine automatic connections (high confidence), staging for review (medium confidence), or exclusion (low confidence).
- Non-operational Default: Created service maps are initially non-operational, allowing administrators to validate before activation.
- Quota Management: Each AI Agent processes up to 100 records by default, with configurable limits to accommodate larger environments, mindful of Now Assist resource consumption.
- Easy Activation and Monitoring: Service Mapping administrators with the appropriate role can activate agents from the Service Mapping home page and monitor agent activity and results via the AI Activity section.
Practical Benefits for ServiceNow Customers
Using these AI Agents significantly reduces manual effort in creating and maintaining accurate service maps and their relationships to business applications. This automation supports large-scale environments where manually managing connections and evaluating service candidates is impractical. For example, it helps ensure comprehensive mapping of business applications—such as a payment application connected to multiple discovered services—enabling better monitoring and impact analysis.
By automating these processes, ServiceNow customers can expect:
- Faster and scalable service map creation and maintenance.
- Improved accuracy through ML-driven noise filtering and confidence-based relationship creation.
- Streamlined administrative workload with clear review points for medium-confidence matches and new service maps.
- Seamless integration into existing Service Mapping workflows without the need for AI Agent Studio configuration.
Activation and Usage
Service Mapping administrators activate the agents from the Service Mapping home page. Once enabled, the agents run automatically every 15 minutes. Administrators can review created service maps, manage operational status, and monitor AI agent activity through dedicated interfaces. Quotas can be adjusted to fit organizational needs, with attention to resource usage.
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