Skip to content

About

Orbit, aka the GitLab Knowledge Graph, is a project that aims to provide a unified context API for AI systems and human users. This project has both a local Knowledge Graph for your code and a backend service for the entire SDLC.

Resources

Contributing

Stars

57 stars

Watchers

2 watching

Forks

Latest commit

 

History

4,703 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitLab Orbit logo

GitLab Orbit

Software lifecycle context graph for AI agents

pipeline status latest release Helm chart license Community fork

Documentation · Quickstart · Use cases · CLI · Contribute

Ask your GitLab anything. GitLab Orbit is the context graph of your software lifecycle. It connects your code, merge requests, pipelines, work items, and vulnerabilities in one graph that your AI agents can query. Ask what breaks if a service changes, or which CI/CD jobs fail most. Each answer shows only the data that your GitLab role lets you see.

Note

GitLab Orbit is in beta. The query language and the schema can change. The graph of your group needs GitLab Premium or Ultimate.

Quickstart

Install the GitLab CLI (glab) 1.120 or later. Then, in a Git repository, run:

glab auth login
glab orbit setup

setup downloads the GitLab Orbit CLI, connects the AI agents on your machine, and indexes the repository. Open your agent in the repository, and ask this question:

Using GitLab Orbit, what does this project do, and how is it structured?

To ask about merge requests, pipelines, and vulnerabilities, a user with the Owner role for the top-level group must turn on GitLab Orbit first.

Ways to use GitLab Orbit

Surface Use it to
glab orbit Search code, read definitions with their callers, and query the graph from a terminal.
AI coding agents Give your coding agents the graph and the GitLab Orbit skill through glab orbit setup.
MCP Connect any Model Context Protocol (MCP) client to the graph.
GitLab Duo Agent Platform Ask questions in the GitLab UI.
REST API Query the graph from scripts, pipelines, and your own tools.

For the query language, the schema, security, and troubleshooting, see the GitLab Orbit documentation.

Architecture

flowchart LR
  accTitle: How GitLab Orbit answers a question
  accDescr: GitLab Orbit indexes GitLab data and code into the Orbit graph. Your agent asks GitLab. GitLab checks your permissions, queries the graph, and returns only the data that you can read.
  source[GitLab data<br/>and code] -- index --> store[(Orbit graph)]
  agent[Your AI agent] -- ask --> rails[GitLab<br/>checks permissions]
  rails -- query --> store
  rails -- answer --> agent
Loading
  1. GitLab Orbit copies the data and the default-branch code of each top-level group that has GitLab Orbit turned on into a graph in ClickHouse. GitLab Orbit updates the graph when the data changes.
  2. Your agent sends a question through glab orbit, MCP, the REST API, or GitLab Duo.
  3. GitLab checks your permissions, runs the query on the graph, and returns only the data that you can read.

glab orbit also indexes the repository on your machine, so code questions work offline. For the components, see how GitLab Orbit works.

Contribute

Read CONTRIBUTING.md first. CONTRIBUTING.md has the setup, the mise tasks, good first issues, and the MR conventions. Many tasks need no deep Rust knowledge, for example documentation, ontology YAML, and test fixtures for a language.

Guide Use it to
Local development Run the full stack on a Caproni cluster.
Testing strategy Learn which tests a change needs.
Adding a language Add a parser for a new language.
Design documents Read the design of each area before you change it.

GitLab Orbit also uses these public repositories: GitLab Rails, Siphon, the GitLab Orbit Helm chart, and the end-to-end test harness.

To report a bug, open an issue with the bug report template. GitLab team members can find the roadmap, the team, runbooks, deployments, and dashboards in the GitLab Orbit team portal.

Founders and contributors

These people founded GitLab Orbit:

  • @michaelangeloio (Angelo Rivera): engineering lead
  • @michaelusa (Michael Usachenko): code graph and query engine
  • @jgdoyon1 (Jean-Gabriel Doyon): extract, transform, and load (ETL) engine and indexing
  • @bohdanpk (Bohdan Parkhomchuk): infrastructure, web server, and security

See the contributors graph for everyone who contributes to GitLab Orbit.

License

GitLab Enterprise Edition (EE) License. See LICENSE.md.

About

Orbit, aka the GitLab Knowledge Graph, is a project that aims to provide a unified context API for AI systems and human users. This project has both a local Knowledge Graph for your code and a backend service for the entire SDLC.

Resources

Contributing

Stars

57 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages