Try XGEN free for 15 days — nothing to install, runs in your browserStart free trial
PlateerAI Labs

Product · Code Assistant

An AI Code Assistant that understands your codebase

Past generic autocomplete — it learns your code, APIs, database schemas, and artifacts, and answers at code level in your actual project context. It connects to GitLab and installs on-premise or air-gapped, so source never leaves.

Enterprise · on-premise coding assistant
orderService.tsXGEN Code Assistant
1
2
3
4
5
6
7
8
9
// Internal payment service — XGEN reads it in repository context
export async function placeOrder(order: Order) {
const items = await cart.load(order.id)
+ const risk = await xgen.assessFraud(order)AI suggestion · Tab
// Run the fraud check, then approve
return payment.approve(items, risk)
}
Add a fraud check based on our internal policy to this payment logic

On-premise install

Source and data stay in-house

Air-gap ready

Deploys into network-separated environments

GitLab access control

Account and permission based

Model-agnostic

Pick and swap the LLM you want

Why Code Assistant

AI shouldn't just generate code — it should understand where that code lives

Grounded in your Git repositories and development standards, it understands the project context and answers accurately. Source stays protected in an on-premise environment, and an open architecture with no lock-in to a single AI model leaves you free to choose the LLM that fits your organization.

Understands the whole project

It learns not just the code but APIs, database schemas, and policy documents, so it can tell you what to build and where, at code level.

On-premise security

Installed on your own infrastructure, so source and data never leave. Access is controlled by GitLab account.

Model-agnostic

A managed AI gateway lets you pick and swap the LLM, so you keep pace as the AI ecosystem shifts.

Business Value

Development productivity and operational stability, together

Project-specific code comprehension and safe on-premise operation raise development speed while cutting maintenance cost.

01

New developers onboard faster

Before

Weeks to months for a new hire to understand the legacy code

After

Ask the project code directly and grasp classes, APIs, database, and call flow immediately

ValueShorter ramp-up and higher developer productivity
02

Source code never leaves the building

Before

Using an external AI service means shipping source code out, with the security concerns that follow

After

Code and data stay internal in an on-premise or air-gapped environment

ValueMeets security policy in finance, public sector, and large enterprises
03

Answers that fit your project

Before

Generic code explanations from a general-purpose AI

After

Answers grounded in your project code, citing the actual components, APIs, tables, and source files

ValueAccurate answers with code evidence you can check
04

Maintenance productivity rises sharply

Before

Code exploration and analysis that depends on one person's experience

After

One question surfaces the related code, call relationships, and blast radius

ValueFaster incident response and change-impact analysis

Core Capabilities

Core capabilities

Capabilities built on learning your code, APIs, and schemas, so answers land in your project's context.

Repository-grounded answers

Repository-Grounded

Select a GitLab repository and answers are grounded in that codebase. It references the real components and file structure to show how to reuse them and how to implement.

Schema-aware

Schema-Aware

It learns the database schema and the relationships between tables — cardinality and descriptions included — so it points to exactly the tables and APIs a task needs.

Question decomposition

Question Decomposition

A question is broken into API, CODE, and TABLE parts, then recombined, producing a fuller and more precise answer than a single-shot response.

Code review and improvement

Code Review

It identifies problems in existing code and proposes concrete fixes at code level — authentication, error handling, performance — with example code.

Feature design support

Feature Design

It finds the components and patterns worth reusing and lays out the implementation steps with example code, connecting an idea to a real build.

Endpoint discovery

API Discovery

Across a large codebase, it finds the API endpoint and related controllers you need, with the exact path and how to use them.

How It Works

How it works

It indexes the repository into evidence, retrieves the context the question needs, and generates a code-level answer.

  1. 01

    Repository indexing

    GitLab repositories are indexed through full and incremental sync, learning code, APIs, database schemas, and artifacts as vectors.

  2. 02

    Context retrieval (RAG)

    The question is decomposed, related code, schemas, and documents are retrieved, and the answer is grounded in them.

  3. 03

    MCP pipeline

    The Model Context Protocol connects tools and context in a standard way, pulling in the information needed safely.

  4. 04

    Code-level answer

    Grounded in the retrieved evidence, it generates an answer at code level that fits your project's context.

The full structure — gateway-based authentication isolation plus indexing, RAG, and MCP — is documented in the architecture pages.

Read the Code Assistant architecture

How this differs from a general coding assistant

General coding assistantAI Code Assistant
Project understandingGeneric answers — limited grasp of project contextLearns your code, APIs, schemas, and artifacts, so it understands the project context
Answer depthMostly high-level explanationCode-level answers that point to the actual components, endpoints, and tables
SecurityOften assumes transmission to an external cloudOn-premise and air-gapped install keeps source inside
Model choiceLocked to the vendor's modelA managed gateway lets you pick and swap the LLM

Integration and deployment

GitLab integration

Sign in with a GitLab account and connect your repositories. A GitLab Duo hybrid setup widens language coverage.

On-premise deployment

Installed on your own GPU servers, with a managed AI gateway covering air-gapped environments.

Artifact RAG

Domain artifacts such as policy and design documents are added through RAG, so context beyond the code reaches the answer.

Technical Specs

Technical specs and integration

From how it connects to your existing development environment through to the core technical specifications.

Development environment (IDE)

A VS Code extension — inline completion, context menu, and diagnostics inside the editor

Repository integration

Connected to GitLab repositories, with real-time incremental indexing keeping the code current

Code comprehension

AST-based structuring — the codebase is learned through call and dependency relationships, not file by file

Hybrid search

Keyword (BM25) combined with semantic vector search, then AI reranking for accuracy

Document parsing

Unified parsing of xlsx, docx, ppt, PDF, HTML, and other artifacts, used as context

Tool and data integration

Heterogeneous systems and databases connected safely through the MCP standard

Models

On-premise self-hosting, embedding and reranker models, and your choice of LLM — swappable, model-agnostic

Security

Network separation and air-gap, RBAC access control, audit logs, and secure-coding practice

Use Cases

Use cases

How an AI Code Assistant that understands your code, APIs, and schemas gets used day to day.

Guidance for building a new feature

  • Finds and presents reusable components and patterns
  • Lays out the implementation steps with example code
  • Points to the related APIs and tables, connecting into the design

API and schema discovery

  • Locates the endpoints and controllers you need
  • Confirms database tables, relationships, and cardinality
  • Points precisely to the APIs and tables the task requires

Legacy comprehension and onboarding

  • Explains a large codebase's structure at code level
  • Surfaces undocumented logic together with its evidence
  • Shortens the onboarding period for new hires

Code review and improvement

  • Diagnoses problems in authentication, error handling, and performance
  • Concrete improvements that include example code
  • Pre-checks for rule and security violations
See AI Code Assistant customer cases

Frequently asked questions

Does it learn our existing codebase?
Yes. It indexes your GitLab repositories, turning code, APIs, database schemas, and artifacts into knowledge, and generates answers grounded in that repository. If you don't select a repository, you can still use it freely as a general AI chat.
Is our source code sent anywhere external?
No. AI Code Assistant is installed on-premise or in an air-gapped environment, so source and data stay inside your organization.
Are we locked into a specific LLM?
No. A managed AI gateway lets you select and swap models, so you keep pace as the AI ecosystem changes.
How is this different from a general coding assistant like GitHub Copilot?
General-purpose tools rarely understand a project deeply enough to get past high-level answers. AI Code Assistant learns the whole internal project, so it gives concrete, code-level answers that point to the actual components, endpoints, and tables.
Does it support languages and environments beyond GitLab?
A GitLab Duo hybrid setup extends coverage across a wide range of programming languages and environments.

After Deployment

We stay with you after the rollout

It doesn't end at the build. Training that lands the capability inside your team, and technical support that keeps it running steadily.

Let's evaluate it against your codebase

We design the rollout together, fitted to your repositories and development environment.