GitLab Brain

In the agent era, GitLab’s advantage is what it knows: the code, the reviews, the pipelines, and the permission model that governs them. GitLab Brain turns that knowledge into a working mind — observed as it happens (events), remembered in durable infrastructure (storage), recalled instantly (search), reasoned over into insight. This is how GitLab becomes a system of intelligence.

Mission

We power GitLab’s intelligence — for every person and every agent who builds.

Organization Structure

Each group is one function of the brain: the Event Platform observes, Data Infrastructure processes and remembers, Code Search recalls, and Intelligence reasons.

flowchart LR
    BRAIN[GitLab Brain]
    click BRAIN "/handbook/engineering/gitlab-brain/"

    BRAIN --> EP[Event Platform]
    click EP "/handbook/engineering/gitlab-brain/event-platform/"
    BRAIN --> DI[Data Infrastructure]
    click DI "/handbook/engineering/gitlab-brain/data-infrastructure/"
    BRAIN --> SR[Code Search]
    click SR "/handbook/engineering/gitlab-brain/search/"
    BRAIN --> INT[Intelligence]
    click INT "/handbook/engineering/gitlab-brain/intelligence/"

    EP --> EI[Events Instrumentation SDKs]
    click EI "/handbook/engineering/data-engineering/analytics/analytics-instrumentation/"
    EP --> IS[Ingestion and Streaming]
    click IS "/handbook/engineering/gitlab-brain/event-platform/ingestion-and-streaming/"
    EP --> DC[Data Schema, Ontology & Contracts]
    click DC "/handbook/engineering/gitlab-brain/event-platform/data-contracts/"

    DI --> DS[Data Storage]
    click DS "/handbook/engineering/gitlab-brain/data-infrastructure/data-storage/"
    DI --> MQ[Message Queue and Replication/CDC]
    click MQ "/handbook/engineering/gitlab-brain/data-infrastructure/message-queue-and-replication/"

    SR --> GSE["Global Code Search Experience (Retrieval and Ranking)"]
    click GSE "/handbook/engineering/gitlab-brain/search/experience/"
    SR --> SI[Search Indexes and Infrastructure]
    click SI "/handbook/engineering/gitlab-brain/search/indexes/"

    INT --> QS[Query and Semantics]
    click QS "/handbook/engineering/gitlab-brain/intelligence/query-and-semantics/"
    INT --> DIA[Data Intelligence Agent]
    click DIA "/handbook/engineering/gitlab-brain/intelligence/data-intelligence-agent/"
    INT --> SIU[Software Intelligence UI]
    click SIU "/handbook/engineering/gitlab-brain/intelligence/software-intelligence-ui/"

How we work

  • Quarterly planning: how we plan a quarter: ranked, right-sized bets inside a capacity ceiling, a 20-minute review every fourteen days, swap and deprioritize rules, and a say/do score at quarter close.
  • Priorities tracker guide: the companion reference for the tracker spreadsheet: the tabs, the Two-pager, the columns on a row, the capacity arithmetic and the checks a row must pass before plan lock.
  • Pre-mortems for launches: an optional, forty-five-minute practice for surfacing launch-specific risks before the ship date. The launch DRI decides whether to run one.

Code Search
How GitLab finds things: search across every content type, and the indexes underneath.
Data Infrastructure
Runs GitLab's datastores and data movement as internal services. Every system here has an owner who answers for its SLOs, capacity, cost, and upgrades.
Event Platform
Everything between an event happening in GitLab and that event sitting safely on the queue: instrumentation, ingestion, and the contracts events must meet.
Intelligence
Where GitLab's data becomes product: the query layer, the dashboards, and the agent that answers questions about your work.