AI Agents for Service Mapping

  • Release version: Australia
  • Updated April 16, 2026
  • 7 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of AI Agents for Service Mapping

    The Service Mapping AI Agents in ServiceNow automate the creation and maintenance of service maps within the Configuration Management Database (CMDB). This automation significantly reduces manual effort for Service Mapping administrators by running autonomously on a recurring schedule and processing all relevant records without requiring individual input.

    Show full answer Show less

    There are three key AI Agents provided by the ITOM AI Agents for Service Mapping application:

    • Service Mapping AI Agent: Automatically creates machine learning (ML)-based service maps from Application Service Candidates (ASCs), filtering out noise and focusing on high-confidence candidates.
    • Business App Mapping AI Agent: Uses AI semantic search to create Common Service Data Model (CSDM) "Uses::Used by" relationships between Business Applications and discovered Application Services.
    • Tag-Based Service Map Creation AI Agent: Creates service maps from cloud infrastructure metadata tags by validating the coherence of tagged virtual machines and confirming they represent real business services.

    Why These AI Agents Matter

    Traditionally, Service Mapping administrators had to manually review and create service maps from ML-powered or tag-based candidates and manually link discovered services to business applications. This manual approach is time-consuming and difficult to scale for large environments with numerous services and infrastructure.

    These AI Agents automate:

    • Evaluation and creation of service maps from high-confidence ML candidates
    • Automatic linking of business applications to corresponding discovered services based on AI-driven semantic matching
    • Validation and creation of service maps from cloud tag metadata while detecting incoherent groupings

    This automation enables faster, more accurate service topology maintenance and better alignment between business applications and infrastructure services.

    How the AI Agents Work

    • Service Mapping AI Agent: Processes all ASC records, skips noise (e.g., monitoring or OS processes), prioritizes high-confidence candidates, and creates non-operational service maps in the CMDB for administrator review.
    • Business App Mapping AI Agent: Retrieves all business applications, performs AI semantic searches to find matching discovered services, automatically links high-confidence matches, and stages medium-confidence matches for manual review.
    • Tag-Based Service Map Creation AI Agent: Retrieves tag-based candidates, validates prerequisites, evaluates coherence across tagged virtual machines, assesses signal strength from tags combined with process data, and creates non-operational service maps if criteria are met.

    Activation and Monitoring

    By default, the AI Agents are inactive. Service Mapping administrators with the appropriate role can activate the agents from the Service Mapping home page:

    • The Service Mapping AI Agent and Tag-Based Service Map Creation AI Agent are activated together.
    • The Business App Mapping AI Agent is activated independently.

    AI Agents run automatically every 15 minutes and process batches of relevant records without manual input. All created service maps are initially non-operational, allowing administrators to review and approve before making them operational.

    Administrators can monitor AI Agent activities and review results via the AI Activity section in the Service Mapping navigation.

    Processing Quotas and Configuration

    Each AI Agent has a default processing limit of 100 records. When the limit is reached, the agent pauses. Administrators can increase this quota by configuring specific system properties for each agent and then reactivating the agents. Increasing quotas will consume more Now Assist resources, so adjustments should be made with consideration for resource usage.

    Practical Benefits for ServiceNow Customers

    • Automates large-scale, accurate creation and maintenance of service maps, reducing manual workload.
    • Improves alignment between business applications and discovered infrastructure services, enabling better service health monitoring and impact analysis.
    • Enhances use of cloud metadata tags for service mapping with validation to prevent incorrect service groupings.
    • Provides non-operational staging of created maps for controlled administrative review before operational use.
    • Allows scalable, continuous processing of service mapping candidates with minimal administrator intervention.

    The Service Mapping AI agents 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 three AI Agents that automate key parts of the Service Mapping workflow. After activation, all 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 three 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.

    Tag-Based Service Map Creation AI Agent
    Automatically creates service maps from tag-based candidates generated by cloud infrastructure metadata. This Agent analyzes cloud tags (such as Application and Environment) applied to virtual machines and determines whether they represent real, coherent business services. The Agent performs two critical evaluations:
    • It signals whether the tag represents a meaningful business service using both the tag name and running process evidence.
    • It verifies that all virtual machines (VMs) grouped under the tag actually belong to the same application service rather than multiple unrelated systems that share a tag. Created service maps are set to non-operational by default.

    Why these AI Agents are needed

    Without these AI Agents, Service Mapping administrators have to manually review each ML-powered candidate or tag-based 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.

    Organizations using cloud infrastructure often apply metadata tags (such as Application and Environment) to virtual machines for organization and governance. However, manual service creation from these tags is time-consuming and error-prone, especially at scale. The Tag-Based Service Map Creation AI Agent solves this by automatically analyzing tagged infrastructure, detecting when multiple unrelated systems are incorrectly grouped under a single tag, and creating service maps only when the tag represents a real, coherent business application.

    How AI Agents work

    All 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:

    1. The agent retrieves full ML candidate data from the Application Service Candidate (ASC) record, including the candidate name, process name, and server count.
    2. 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.
    3. The agent retrieves all running processes associated with the candidate.
    4. 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).
    5. 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:

    1. The agent retrieves all Business Application records from [cmdb_ci_business_app].
    2. 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).
    3. 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.
    4. 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.
    5. Candidates below 0.1 are filtered out. The agent does not create a record or a relationship for these.
    Note:
    If the AI Search profile is unavailable, the Business App Mapping AI Agent falls back to a keyword search using the CONTAINS operator on the service name field.
    Tag-Based Service Map Creation AI Agent process:
    1. The agent retrieves a tag-based candidate record from [svc_by_tags_candidates], including the cloud tags (such as Application and Environment) and the set of member virtual machines.
    2. The Agent validates the candidate through prerequisite checks: confirming it is not hidden, ensuring at least 2 configuration items (CI) exist to form a topology, and verifying no existing service already maps it.
    3. The agent performs a coherence evaluation by analyzing the running processes and process groups (AFP groups) across all member VMs. It determines whether all VMs running under this tag belong to the same application service or whether multiple unrelated systems are incorrectly grouped.
    4. If the candidate is incoherent (containing multiple distinct business systems), the agent records the outcome and skips service creation, flagging the candidate for administrator review.
    5. If the candidate is coherent or uncertain, the agent evaluates the signal strength by combining the cloud tag name (for example, "order-management") with running process evidence to determine whether a real business service exists.
    6. If the signal is strong enough, the agent derives a service name using this priority order:
      1. Service Fingerprint (SFP) name if the candidate's CIs match an Application Service Fingerprint in the Discovery Content Library.
      2. Strong cloud tag value if no service fingerprint exists.
      3. AFP process-derived name if the tag signal is weak and no fingerprints exist.
      The agent then creates the service topology and sets the service to non-operational. If a topology for the same candidate already exists, the agent skips creation.

    Activation and monitoring

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

    The Service Mapping AI Agent and Tag-Based Service Map Creation AI Agent are activated together through a single workspace activation button. The Business App Mapping AI Agent is activated independently.

    Note:
    The Service Mapping AI Agent and Tag-Based Service Map Creation AI Agent operate independently despite sharing the same orchestrator and writing the results to a shared run record table [sn_sm_gen_ai_svc_create_run]. They process different input sources and have no data dependencies.

    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, 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 any 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.

    To raise the quota and reactivate the agents, first configure the following properties:
    1. For the Service Mapping AI Agent: sn_sm_gen_ai.agent_invocation_limit.ServiceMapCreationAISpecialist
    2. For the Business App Mapping AI Agent: sn_sm_gen_ai.agent_invocation_limit.CSDMBusinessApplicationtoInfrastructureAISpecialist
    3. For the Tag-Based Service Map Creation AI Agent: sn_sm_gen_ai.agent_invocation_limit.TagBasedServiceMapCreationAISpecialist
    You can change the value according to your needs, with consideration of the Now Assist resources. After raising the quota, reactivate the Service Mapping AI Agents in the Service Mapping workspace.
    Note:
    Raising the quota results in a higher Now Assist resource consumption.