lgtm
AI-powered local code review with intelligent diff grouping. Analyzes your branch changes, organizes them into logical review groups, and serves an interactive UI for self-reviewing before opening a PR.
How it works
- Run
lgtmin your repo (or use the desktop app) - Your branch is diffed against the base branch
- AI groups related changes into logical review units
- Deep analysis agents flag bugs, quality issues, and architecture concerns
- An interactive UI opens for reviewing, chatting, and applying fixes
Features
| Feature | Description |
|---|---|
| Intelligent grouping | Organizes diffs into logical review units, not just file-by-file |
| Bug detection | Flags potential issues inline with severity levels |
| Deep analysis | Parallel agents for code quality and architecture review |
| Chat | Ask questions about specific groups or the whole PR |
| Code edits | Chat can suggest fixes you apply directly from the UI |
| PR comments | View and post GitHub PR review comments inline |
| Custom agents | Define per-repo review agents with .lgtm.d/*.md files |
| Themes | GitHub Dark + 4 Catppuccin variants |
Quick start
# Desktop app (recommended)
# Download from Releases, drag to Applications, open
# CLI
npm install -g @flpstudio/lgtm
lgtm See Installation for full setup.