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


---

# Contract repository AI agent

# Contract repository 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 Contract repository AI agent

The Contract repository AI agent in ServiceNow automates the retrieval and processing of contract details for a specified record.
It gathers essential contract information such as vendor, supplier, account data, contract models, and document attachment IDs.
Additionally, it calculates the average lead time for similar contracts when relevant data is available, enhancing contract management efficiency.
Show full answer Show less  
This agent initiates asynchronous extraction of key contract metadata---including effective dates, renewal and termination notice periods, and auto-renewal clauses---without requiring user input or waiting for completion. If the obligations plugin is active, it also extracts contractual obligations automatically.

## Key Features

* **Automated Contract Detail Retrieval:** Fetches vendor, supplier, or account information along with contract models and document details.
* **Asynchronous Metadata Extraction:** Extracts critical contract metadata and obligations without blocking workflows, continuing even if errors occur.
* **Lead Time Calculation:** Computes average lead times for contracts sharing vendor, supplier, or account attributes to support contract planning.
* **Configurable Access Controls:** Enables selective access for third-party AI agents and AI specialists, controlled via AI Agent configuration settings.
* **Long-Term Memory Option:** Can maintain context from previous interactions for improved AI responses when enabled by system property.
* **Role-Based Access:** Access is restricted to specific user and data access roles such as contract fulfillers and managers to ensure security and compliance.
* **Integration with Workflows and Channels:** Supports triggering through business rules and integration with the ServiceNow Otto panel for agentic workflows and reminders.

## Practical Benefits for ServiceNow Customers

Implementing this AI agent streamlines contract repository management by automating data extraction and lead time analytics, reducing manual effort and improving accuracy. It supports proactive contract lifecycle management by integrating with reminders and workflow triggers. Configurable permissions ensure secure and appropriate use by different roles within your organization, while asynchronous processing minimizes impact on system performance.

Overall, customers can expect enhanced visibility into contract details, timely extraction of critical metadata and obligations, and improved operational efficiency in contract management processes.  
This AI agent retrieves contract repository details for a specified record, including vendor information, contract model, and document attachment IDs. It also calculates the average lead time for similar contracts when vendor,
supplier, or account data exists.

## Workflow {#cm-contract-repository-ai-agent__zsmdlwierhjt}

The agent retrieves contract repository details and starts metadata and obligation extraction for a specified record. It also initiates asynchronous extraction of key metadata from contract documents, such as effective dates, renewal and termination notice periods, and auto-renewal clauses.

1. Retrieve the contract repository details for the specified record, including vendor, supplier, or account information, the contract model, and whether the obligations plugin is active.
2. Start metadata extraction for the contract document, such as effective date, end date, and renewal and termination notice periods, without waiting for it to finish, and continue even if it encounters an error.
3. If the obligations plugin is active, also start extraction of contractual obligations from the document without waiting for it to finish, and continue even if it encounters an error.
4. If vendor, supplier, or account information is available, calculate the average lead time for similar contracts.
5. Complete these steps automatically without asking the user for any input.
{#cm-contract-repository-ai-agent__ol_cm_contract_repository}  
{#cm-contract-repository-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 | Scripts :   Calculate average lead time of similar contracts :   Get Contract repository details :   Initiate metadata extraction :   Initiate Obigation Extraction |
| 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 | Activate the following business rules to trigger the agent. * Agentic AI - Set reminders for contract * Agentic AI Set reminders for Econtract {#cm-contract-repository-ai-agent__ul_js2_m3s_5kc} business rule to trigger the agent. |
| Channels | Enable the AI agent for the ServiceNow Otto panel. |
| Used in agentic workflows | Renewal notice period remainder |
[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).

