VM0VM0
Integration

GitLab

DevOps platform for managing projects, issues, and pipelines

GitLab is a complete DevOps platform for managing projects, issues, merge requests, and CI/CD pipelines.

Required Environment

NameTypeDescription
GITLAB_TOKENsecretPersonal access token with api scope from GitLab Settings
GITLAB_HOSTvarGitLab domain (e.g., gitlab.com or self-hosted)

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/gitlab

Run

vm0 run my-agent "create an issue in GitLab" \
  --secrets GITLAB_TOKEN=glpat-xxx

Example Instructions

AGENTS.md
# Issue Manager Agent

You manage GitLab issues and merge requests.

## Workflow

1. List issues by state or labels
2. Create new issues with details
3. Update issue status or assignees
4. Close resolved issues

## Issue States

- opened, closed, all
AGENTS.md
# Pipeline Monitor Agent

You monitor GitLab CI/CD pipelines.

## Workflow

1. List recent pipelines
2. Check pipeline status
3. View job details and logs
4. Report failures

## Pipeline States

- pending, running, success, failed