--- title: GitLab merge request management AI agent description: This AI agent manages GitLab merge requests. It creates, updates, and accepts merge requests, adds, updates, and deletes merge request notes, and looks up merge requests and their notes. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/inth-gitlab-gitlab-merge-request-management-ai-agent.html release: australia topic_type: reference last_updated: "2026-09-30" reading_time_minutes: 2 breadcrumb: [GitLab Spoke AI agents, Integration Hub AI agents, Integration Hub, AI agents library, AI assets, Enable AI experiences] --- # GitLab merge request management AI agent This AI agent manages GitLab merge requests. It creates, updates, and accepts merge requests, adds, updates, and deletes merge request notes, and looks up merge requests and their notes. ## Workflow The agent helps the user create, review, and merge GitLab merge requests. 1. Ask the user what they want to do and collect the details the action needs, such as the project ID and merge request. 2. Look up merge requests or the notes on a merge request. 3. Create a new merge request or update an existing one. 4. Add, update, or delete a note on a merge request. 5. Accept a merge request. 6. Report the outcome to the user, including details of any error.
| 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md). |
| Tools | - **Flow Actions** Accept Merge Request Create Merge Request Create Merge Request Note Delete Merge Request Note Look up Merge Request Notes Stream Look up all Merge Requests Stream Update Merge Request Update Merge Request Note |
| Allowed user roles The specific user roles that can access this AI agent. | snc\_internal |
| Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. | snc\_internal |
| 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/configure-now-assist-va.md). |
| Used in agentic workflows | Not applicable. |