Do AI coding agents work with GitLab? Which tools actually do, and which are GitHub-only
Jul 20, 2026 · 8 min read · By Marcus Bell, Engineering
Some do, most do not. As of July 2026, the majority of AI coding agents that open a change for you are wired to GitHub only. Agentcode and Devin also work on GitLab; GitHub Copilot's coding agent and Claude Code's pull-request path do not, and Amazon Q reaches GitLab only through a self-managed GitLab Ultimate setup. If your code lives on GitLab, that single fact removes most of the shortlist before price or features enter the picture.
This is the question to ask first, and almost nobody does. Teams compare autocomplete quality and model benchmarks, buy a tool, and then discover the agent that was supposed to open merge requests only speaks to GitHub-hosted repositories. The host check is a five-minute disqualifier that saves a wasted trial.
Which AI coding tools support GitLab?
Here is where the named tools stand on opening a change on GitLab, checked against each vendor's own documentation in July 2026. Support changes, so confirm on the vendor page before you commit.
| Tool | Opens a change on GitLab? | Notes |
|---|---|---|
| Agentcode | Yes | Connects to GitHub and GitLab and opens a reviewable request on either. |
| Devin | Yes | Spans multiple git hosts, including GitLab and Bitbucket. |
| GitHub Copilot coding agent | No | Runs on GitHub-hosted repositories only, per GitHub's own docs. |
| Claude Code | No, for the PR path | The terminal agent runs locally, but opening a pull request routes through GitHub. |
| Amazon Q Developer | Partial | GitLab only through GitLab Duo with Amazon Q on a self-managed Ultimate subscription. |
| Aider | N/A | Local CLI. It edits your checkout but does not open a cloud merge request at all. |
The pattern is clear enough to plan around. Tools that grew out of GitHub's own ecosystem tend to stay inside it, and tools built host-agnostic from the start reach across. If GitLab is your home, you are choosing from the second group.
One nuance worth flagging: pushing a branch is not the same as opening a merge request. A few tools can push commits to a GitLab remote but stop there, leaving you to open, describe, and manage the request by hand. That is a thinner integration than an agent that owns the whole request, attaches its plan and test results, and responds to review comments. When a vendor says it supports GitLab, ask which of those two it means, because the gap changes how much work actually comes off your plate.
Why are so many agents GitHub-only?
Two reasons, one technical and one commercial. The technical one is that opening a change means integrating with a host's API, auth, and review model, and doing that well for a second host is real work that many vendors defer. The commercial one is that GitHub is where the largest share of public and enterprise repositories live, so a GitHub-first launch reaches the most users for the least effort. GitLab support arrives later, if at all.
For a GitLab shop, the effect is that a tool's polish elsewhere is irrelevant if it cannot reach your repo. A brilliant agent that only opens GitHub pull requests is a non-starter when your merge requests, CI pipelines, and review discussions all live on GitLab.
How does an AI agent open a merge request on GitLab?
Mechanically, the same way it opens a pull request on GitHub, with GitLab's names for things. You connect the agent to your GitLab project and grant it access. You describe a task. The agent clones or reads the repo, plans the change, edits the files involved, runs your existing test suite, and pushes a branch. Then it opens a merge request, which is GitLab's term for what GitHub calls a pull request, with a summary of what it did and the test results attached. A human reviews the diff and merges, or sends it back.
The part that matters for trust is the same on either host: a good agent stops at the merge request and never merges on its own. Review stays a real gate. That is how an AI coding agent can run autonomously through the work while a person still owns the decision to ship. If you want the full mechanics, see what an autonomous coding agent can do.
Does GitHub Copilot's agent work on GitLab?
No. GitHub is explicit that the Copilot coding agent works on GitHub-hosted repositories only. Copilot's in-editor autocomplete and chat work in any editor regardless of where your code is hosted, because they operate on the file open in front of you. But the agent that takes an issue and opens a pull request in the background is GitHub-only, and there is no GitLab path for it. If you are on GitLab and want that agentic behavior, Copilot's completions can still help you type, but the finished-task job needs a different tool. The GitHub Copilot alternative page walks through the options for exactly this case.
What to check before you buy
Run these four checks in order, and the first one settles it for most GitLab teams:
- Host support. Does the agent open a merge request on GitLab, not just push a branch? Push-only is not the same as an agent that owns the request end to end.
- Self-managed vs SaaS GitLab. Some integrations only support GitLab.com, others only self-managed. Match it to your setup.
- CI awareness. Can the agent run your GitLab CI pipeline, or at least your test suite, before it opens the request? An agent that cannot see your tests is guessing at correctness.
- Billing model. Flat or metered. This is the biggest cost variable in the category right now, and it is covered in full on the AI coding tool pricing comparison.
Once a merge request is merged and deployed, the job is not quite finished: you still want to know the endpoint you just changed is actually up, which is why teams pair the coding side with uptime monitoring that checks their APIs every 30 seconds. The agent gets the change reviewed and shipped; the monitoring tells you it stayed healthy.
The short version for GitLab teams
If your code is on GitLab, filter the market by host support first and everything else second. Agentcode connects to GitHub and GitLab, runs your existing tests, and opens a reviewable request on either, at a flat monthly price. Devin also spans hosts if you need Bitbucket or fleet orchestration. Most of the rest are GitHub-first, and for a GitLab shop that is the line that matters. To weigh the tools that do reach GitLab against each other, start with the best AI for coding in 2026.