---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Knowledge Graph integration with AI agents

# Knowledge Graph integration with AI agents {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 Knowledge Graph integration with AI agents

Knowledge Graph integration enhances ServiceNow AI agents by improving live agent productivity through better task execution and more accurate user query responses.
This integration leverages prebuilt connections to provide personalized and permission-aware information, making AI agents more effective in assisting users.
Show full answer Show less  

## Key Features

* **Integration for User Context:** AI agents use the User Profile schema in Knowledge Graph to fetch relevant, permission-aware user data such as name, location, email, and occupation. This allows AI agents to provide personalized responses and reduce the need for multiple user inputs.
* **Integration as a Tool:** Knowledge Graph can be utilized as a reusable tool within AI agents to perform specific tasks without coding. This facilitates automation of complex workflows by fetching and processing relevant data dynamically.
* **API Output in AI Agents:** AI agents query Knowledge Graph to retrieve specific data, e.g., manager details, returning structured information including user names, sysIds, and other relevant attributes.

## Practical Use Cases

* **Resume Builder:** AI agents gather user profile details via Knowledge Graph to help build resumes by requesting missing information and generating personalized outputs.
* **Asset Management:** AI agents use Knowledge Graph to retrieve assets assigned to a user. They then facilitate tasks such as retiring assets by leveraging data like table names and sysIds directly from the Knowledge Graph output.

## Benefits for ServiceNow Customers

By integrating Knowledge Graph with AI agents, customers can expect improved AI-driven assistance that is more contextually aware and task-oriented. This reduces manual data entry, accelerates workflows, and enhances the accuracy and personalization of AI responses, ultimately boosting productivity and user satisfaction.  
The prebuilt integrations of Knowledge Graph, improve live agent productivity by assisting AI agents in performing tasks and answering user queries.

In this release, the available prebuilt integrations with AI agents are:

1. Integration with AI agents for User Context: Helps users with personalized responses.
2. Integration with AI agents as a tool: Used to perform specific tasks that are assigned to the AI agents.

{#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__ol_fdm_tvh_cfc}

## Integration with AI agents for User Context {#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__section_k5x_5vh_cfc}

ServiceNow AI agents integrates the context from the prebuilt User Profile schema to fetch relevant data and provide personalized responses.

By using relationships between users, teams, and content, AI agents can fetch relevant, permission-aware user information and provide answers to reduce slot-filing requirement.

Here's an example use case of how Knowledge Graph is used within AI agents for user context.  
* A user needs assistance in writing their resume, so they use ServiceNow AI agents called Resume builder.
* The user ads their task: <kbd class="ph userinput">Build my resume</kbd>.
* AI agents uses Knowledge Graph to fetch the following information from the user profile schema:
  * First name
  * Last name
  * Location
  * Email ID
  * Phone number
  * Occupation
  {#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__ul_nxm_bbj_cfc}
* AI agents reverts with the available information and request for the missing information to proceed building the resume.
* Once the agent as all the required information, it provides user with output.
{#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__ul_ql4_d1j_cfc}

## Integration with AI agents as a tool {#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__section_ljt_5vh_cfc}

Knowledge Graph can now be used as a tool within AI agents. Users can choose Knowledge Graph to perform tasks, while creating an Agent.

You can define the flow action to use Knowledge Graph as a reusable operation in automating the ServiceNow AI Platform features without having to write code.

See [Add a Knowledge Graph to an AI agent](https://www.servicenow.com/docs/UElCtmY73RkPoeRiRefm5w "Add a Knowledge Graph to an AI agent in AI Agent Studio that uses the structured and unstructured data from different ServiceNow records to enhance the performance of AI agents.") to add Knowledge Graph to an AI agents in AI Agent Studio.
Example use case:

* A user wants to view and retire all the assets assigned to another user. To execute this task, user will use Asset Manager agent.
* Asset Manager uses Knowledge Graph to fetch the asset information related to the user.
* After processing the query, the agent provides the following output:User has the following assets:1.\<asset1\> 2.\<asset2\> 3.\<productID\>- \<asset 3\> \<purchase date\>. The email address for the user is \<emailId\> and username \<username1\>.
* User then proceeds with the task of retiring the assets: <kbd class="ph userinput">Proceed with retiring the assets associated with Username1.</kbd>
* The next tool, used execute this task, will take the table name and sysId displayed in Knowledge Graph output and proceed with the task.
{#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__ul_m5c_tnm_cfc}  

## Knowledge Graph API output in AI agents {#leverage-knowledge-graph-prebuild-integration-with-agentic-ai__example_owp_flq_dfc}

When a user ask a query <kbd class="ph userinput">What is my Manager's name? </kbd>, AI agents reaches out to Knowledge Graph to fetch this information. Here's an example output of the query:

    { 

        "Manager": [ 

            { 

                "sys_user": { 

                    "user_name": { 

                        "value": "abel.tuter", 

                        "displayValue": "abel.tuter" 

                    }, 

                    "sysId": "62826bf03710200044e0bfc8bcbe5df1", 

                    "name": { 

                        "value": "Abel Tuter", 

                        "displayValue": "Abel Tuter" 

                    }, 

                    "first_name": { 

                        "value": "Abel", 

                        "displayValue": "Abel" 

                    }, 

                    "last_name": { 

                        "value": "Tuter", 

                        "displayValue": "Tuter" 

                    } 

                } 

            } 

        ] 

    } 

In this example, the table that is called is `sys_user` and column referred is `user_name`. The output also displays sysId, example: `"sysId":
"62826bf03710200044e0bfc8bcbe5df1"`.

