Delphi-RAG-Lint
Products · DL (drag-lint)

Delphi RAG lint knows your code.

DL parses every unit you have. It doesn't just search the text. It builds a platform library index from your Delphi library and browsing paths, then a project index for each project. Everything it does after that is deterministic and works offline, on facts it already holds.

No AI runs inside DL. But it makes an AI assistant far better: it replaces grep with exact answers, so the assistant spends seconds and a few tokens where it used to spend minutes and many.

01 — How it works

Index once, ask anything

1. Platform library indexYour RTL, VCL, DevExpress, Spring4D... from the library and browsing paths. Built once per platform.
2. Project indexEvery unit in the project's compile closure, parsed, with symbols, calls, uses, DFM and SQL.
3. Deterministic answersQueries, lint, reports and fixes run offline against both.
02 — What it does

What it does

DL find-callers query output

Find anything

Symbols, callers and callees, the unit to add to uses, any message, caption or SQL text across .pas, .dfm and .sql.

How finding works →
screenshot coming

Lint with 190 rules

16 categories, from bug patterns to security and FireDAC. 23 rules fix the code for you.

The rules →
DL graph of the units that use a unit

Untangle circular units

Finds unit cycles and shows you the fix.

Breaking cycles →
A DL-written doc-comment shown in the RAD Studio editor

Document your project

Documents your code with more than the IDE can tell you.

Auto-documentation →
DL unit dependency chart

Charts and reports

Dependencies, call butterflies, change impact: as charts and as text.

Charts gallery →
DL change-impact chart

Impact before you change

What a change would break, and the call path between two routines.

Impact analysis →
screenshot coming

Dead code, unused uses

Across the whole project, not one file at a time.

Cleaning up →
screenshot coming

Lives in your tools

A RAD Studio plugin and a language server.

Integrations →
03 — Where it works

Embarcadero RAD Studio 13 Florence, VS Code, plus any editor that speaks LSP or MCP

RAD Studio 13 Florence
Delphi IDE plugin: menus, hints, quick fixes.
VS Code
Extension over the DL language server.
Any LSP editor
drag-lint lsp, standard protocol.
AI assistants
drag-lint serve: an MCP server.
04 — Built for our own work

Proven every day on Micronite

We build DL alongside HTR Micronite, our quality and production-control software for manufacturers, and we use it throughout Micronite’s development: every index, rule and report on this page has run on a large, real Delphi code base before it reached you.

On a big project, DL probably knows more about your code than your senior developer does. It finds the needle in the haystack. It also tells you that there is a needle in there, and helps you get it out.