---
title: GitLab Duo
---

<!-- THIS FILE IS AUTO-GENERATED BY website/scripts/generate-model-docs.js. DO NOT EDIT MANUALLY. -->

# GitLab Duo

Use `gitlab/<model>` with VoltAgent's model router.

## Quick start

```ts
import { Agent } from "@voltagent/core";

const agent = new Agent({
  name: "gitlab-agent",
  instructions: "You are a helpful assistant",
  model: "gitlab/duo-chat-haiku-4-5",
});
```

## Environment variables

- `GITLAB_TOKEN`

## Provider package

`@gitlab/gitlab-ai-provider`

## Default base URL

Not listed.

You can override the base URL by setting `GITLAB_BASE_URL`.

## Provider docs

- https://docs.gitlab.com/user/duo_agent_platform/

## Models

<details>
  <summary>Show models (3)</summary>

- duo-chat-haiku-4-5
- duo-chat-opus-4-5
- duo-chat-sonnet-4-5

</details>
