---
sourceDocument: Xanadu Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/intelligent-experiences

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Knowledge Graph

# Add a Knowledge Graph to an AI agent {#ariaid-title1}

* Release version: Xanadu
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.

## Before you begin

Role required: sn_aia.admin

## Procedure

1. Navigate to AllAI Agent StudioCreate and manageAI agents.
2. Select New or open the AI agent that you want to add a Knowledge Graph to and navigate to the Add tools and information section.
3. In the Add tool drop-down list, select Knowledge graph.  
   You may need to scroll down.
4. On the form, fill in the fields.  
   {#add-knowledge-graph__table_wlm_2v5_cdc__entry__2}

   | Fields | Description |
   |-|-|
   | Name | Name that you want to specify for your selected Knowledge Graph. |
   | Description | Description of the Knowledge Graph and what it's going to do to assist your AI agent. Note: This description is sent to the large language model (LLM). |
   | Select Knowledge Graph | Existing Knowledge Graph to be added to the AI agent. |
   | Query instruction | The search query. Translate your request into a search query, including a verb. The query instruction is passed on to the LLM to generate a structured query for the Graph from the inputs selected in the tool form. |
   | Execution mode | Mode of execution for your selected Knowledge Graph: * Supervised: Inputs from your live agent are required during the execution of this Knowledge Graph while the AI agent runs. * Autonomous: Doesn't require any input from your live agent during the execution of this Knowledge Graph while the AI agent runs. {#add-knowledge-graph__ul_knh_pv5_cdc} |
   | Display output | Permission to display the output of the execution in the Now Assist panel or in Virtual Agent: * Yes * No {#add-knowledge-graph__ul_jlr_tv5_cdc} |
   | Processing message | Message to display to users when the tool is running. |
   | Output transformation strategy | Style for the LLM to present the results. * None * Concise * Paragraph * Verbose |
   [Table 1. Add a Knowledge Graph form]

   {#add-knowledge-graph__table_wlm_2v5_cdc}
5. Select Add.  
   The Knowledge Graph tool is added to the AI agent.

*[\>]: and then


