GitLab merge request management AI agent

reference brazil Updated Sep 30, 2026 2 min read inth-gitlab-gitlab-merge-request-management-ai-agent.md
Raw file servicenow.com

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.

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.

Channels

Configure an assistant for Virtual Agent or ServiceNow Otto panel using Assistant Designer.

Used in agentic workflows

Not applicable.

**Parent Topic:**[GitLab Spoke AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/inth-gitlab-ai-agents-overview.md)

Related topics

GitLab Spoke

Integration Hub spokes

Search documentation
Search document titles and file paths on the brazil branch