v2.5.8

March 6, 2026

Bring GitLab project and pipeline context into your agents in minutes

Engineering and platform teams using GitLab can now connect agents directly to their repositories. GitlabTools brings read-focused GitLab access to Agno agents, covering projects, merge requests, and issues, with async support and granular control over which tools are exposed.

This makes it straightforward to build agents that monitor repository activity, triage open issues, summarize merge request pipelines, or answer questions about project state, without custom API wrappers or manual data fetching.

Details:

  • Covers five read operations out of the box: list and inspect projects, merge requests, and issues
  • Supports both GitLab.com and self-hosted GitLab instances via a configurable base URL
  • Each tool can be toggled on or off individually using enable_* parameters, giving teams precise control over what the agent can access
  • Async support ensures GitLab operations don't block agent execution in concurrent or high-throughput deployments
  • Authentication via a GitLab access token set through environment variables — no code changes needed to rotate credentials

from agno.agent import Agent
from agno.tools.gitlab import GitlabTools

agent = Agent(
    instructions=[
        "Use GitLab tools to answer repository questions.",
        "Use read-only operations unless explicitly asked to modify data.",
    ],
    tools=[GitlabTools()],
)

agent.print_response(
    "List open merge requests for project 'gitlab-org/gitlab' and summarize the top 5 by recency.",
    markdown=True,
)

View the GitlabTools docs.