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


---

# Search contracts AI agent

# Search contracts AI agent {#ariaid-title1}

Release version: Brazil  
Updated June 1, 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 Search contracts AI agent

The Search contracts AI agent is designed to assist legal professionals, procurement teams, sales executives, and compliance officers in efficiently locating and understanding legal contracts through conversational search and Q\&A.
It classifies user queries, retrieves relevant contract metadata or content, and provides direct links to results.
Importantly, it does not perform contract drafting, modification, or legal interpretation, ensuring compliance and focused functionality.
Show full answer Show less  

## Workflow

* The agent identifies whether a request is to retrieve an attachment from a contract and, if so, fetches it directly.
* Queries are classified as structured (metadata-based), unstructured (content-based), or a combination, and the agent runs the appropriate search.
* If results are found, users are prompted to view them; if not, users are encouraged to rephrase or broaden their search.
* The agent seeks clarification for ambiguous queries rather than making assumptions.
* Requests outside factual contract search, such as drafting or legal interpretation, are politely declined with offers to assist with supported queries.

## Configuration and Access

* **Third-party and AI specialist access:** Can be enabled or disabled via configuration, controlling who can use the AI agent and access advanced tool mappings.
* **Long-term memory:** Optionally enabled to use previous user interactions as context, enhancing conversational relevance.
* **Tools utilized:** Includes subflows for contract information retrieval, AI skills for contract query classification, and scripts for attachment retrieval.
* **User roles:** Access is restricted to specific user roles such as `sncmgenai.aicontractfulfiller` and `contractmanager`, ensuring secure and appropriate data access.
* **Triggers and Channels:** Triggers are optional and configurable by admins. The agent can be integrated into Virtual Agent or ServiceNow Otto panels through Assistant Designer for conversational workflows.

## Practical Benefits for ServiceNow Customers

* Enables rapid, conversational search of legal contracts, improving efficiency for legal and compliance teams.
* Supports both metadata and full content-based queries, providing flexible search capabilities.
* Ensures compliance by restricting actions to factual retrieval and avoiding unauthorized contract modifications or legal advice.
* Configurable access and memory settings allow tailoring to organizational policies and user needs.
* Integrates smoothly into existing ServiceNow interfaces, enhancing user experience and adoption.  
This AI agent helps legal professionals, procurement teams, sales executives, and compliance officers find and understand legal contracts through conversational search and Q\&A. It classifies each query, retrieves matching
contract metadata or content, and links directly to results, while declining requests to draft, modify, or legally interpret contracts.

## Workflow {#cm-search-contracts-ai-agent__zsmdlwierhjt}

The agent searches and answers questions about legal contracts on the user's behalf.

1. Determine if the request is for retrieving an attachment from a contract, and if so, retrieve the attachment directly.
2. Otherwise, classify the query as structured (metadata-based), unstructured (content-based), or a combination of both.
3. Run the appropriate contract search based on that classification and check whether matching results were found.
4. If matching results are found, let the user know they can select "Show" to view them; if not, ask the user to rephrase or broaden their search.
5. Ask for clarification before acting on an ambiguous query instead of guessing what the user means.
6. Politely decline any request that goes beyond factual contract search, such as drafting, modifying, or legally interpreting a contract, and offer to help with a supported request instead.
{#cm-search-contracts-ai-agent__ol_cm_search_contracts}  
{#cm-search-contracts-ai-agent__zsmdlwierhjt__entry__2}

| Field | Description |
|-|-|
| Allow third party to access this AI agent | When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the External discoverable field. |
| Allow AI specialists to access this AI agent | When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the Specialist enabled field. |
| Manage long-term memory | When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see [ServiceNow Otto AI agents reference](https://www.servicenow.com/docs/sa1bdHN6FqAGJmyqCFbo6w "Find more information about user roles, tables, and the different properties that are installed in ServiceNow Otto AI agents."). |
| Tools | Subflow :   Contract information retrieval Generative AI Skill :   Contracts query classifier Script :   Retrieve attachments of a Record |
| Allowed user roles The specific user roles that can access this AI agent. | sn_cm_gen_ai.ai_contract_fulfiller |
| Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. | sn_cm_gen_ai.ai_contract_fulfiller, sn_lg_ops.request_fulfiller, sn_cm_core.contract_fulfiller, contract_manager, sn_cm_obligation.obligation_fulfiller |
| Triggers | Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://www.servicenow.com/docs/TTPcY_6jqFaCPLWj8oH1fQ "In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met."). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://www.servicenow.com/docs/access?context=configure-now-assist-va&version=brazil&pubname=brazil-conversational-interfaces&ft:locale=en-US). |
| Used in agentic workflows | [Conversational contract search and insights](https://www.servicenow.com/docs/access?context=cmpro-agentic-use-conv-search&version=brazil&pubname=brazil-employee-service-management&ft:locale=en-US) |
[Table 1. Configuration]

For more information, see [Contract Management Pro](https://www.servicenow.com/docs/access?context=cncore-cmpro-landing-page&version=brazil&pubname=brazil-employee-service-management&ft:locale=en-US).

