Skip to content
L

LGTM

Shipping fast is great. Shipping secure is better.

Created on 10th May 2026

•

L

LGTM

Shipping fast is great. Shipping secure is better.

The problem LGTM solves

LGTM solves two problems that every software team faces but nobody is fixing together expensive AI code review and unprotected CI/CD pipelines.

Existing tools burn thousands of LLM tokens on every PR by dumping your entire codebase into the model, making costs grow with your codebase size rather than the value you get. At the same time, nobody is watching the pipeline itself the workflow files and deployment configs that have full access to your production servers and secrets. Real attacks happen here, not in the application code.

LGTM fixes both. Our Tree-sitter and PageRank engine selects only the structurally critical code relevant to each change, sending 10x fewer tokens to 6 parallel specialist AI agents security, bugs, performance, style, documentation, and test coverage. You bring your own API key, we charge nothing on top, making a 10-developer team pay around $14 a month instead of $240 with competitors.

For pipeline security, 16 deterministic rule-based detectors scan your CI/CD configuration files on every push zero LLM tokens, sub-second execution. When a critical issue is found, three enforcement gates fire a PR comment with fixes, a blocked merge button, and most importantly a runtime halt that stops the pipeline before checkout, before tests, before anything runs. Direct pushes, cron jobs, tag-triggered deployments all covered. No competitor has this.

We also built a Knowledge Graph an interactive visual dependency map of your entire codebase showing which files are most critical, most coupled, and most risky powered by the same engine that makes our reviews precise.

LGTM is for startups moving fast without a security team, open source maintainers reviewing PRs from strangers, and any engineering team whose pipelines have never been audited.

Challenges we ran into

Building LGTM was not straightforward. Every layer of the system introduced its own set of problems that took real debugging time to solve.

The first major challenge was context selection. Getting Tree-sitter to parse a live GitHub repository accurately and then running PageRank on the resulting dependency graph in real time was not trivial. The graph computation had to be fast enough to not block the review pipeline while still being accurate enough to send meaningful context to the agents. Early versions were either too slow or sending irrelevant context, which tanked review quality.

The second challenge was the multi-agent architecture. Running six LLM agents in parallel sounds simple until you realise that parallel API calls fail unpredictably, rate limits hit at random, and the synthesizer has to produce a coherent verdict from six agents that may partially contradict each other. Building a reliable aggregation layer that handles partial failures gracefully without dropping findings or blocking the pipeline took significant iteration.

The third challenge was the BullMQ and Redis reliability issue. Workers were silently dropping jobs whenever Redis disconnected unexpectedly. No errors surfaced, no logs triggered tasks simply vanished. This was invisible until we noticed reviews not completing under load. Solving this required implementing proper Redis reconnection handling and dead letter queues for failed jobs.

The fourth and most frustrating challenge was the GitHub OAuth cold start problem on Fly.io. Our server was spinning down between requests due to Fly.io's idle machine behaviour, which killed active OAuth sessions mid-login. Users would authenticate with GitHub and get dropped back to the login page with no error. The fix was a single configuration line setting min_machines_running to 1 but finding that root cause after hours of debugging session handling code was painful.

The fifth challenge was the runtime halt architecture. Getting the GitHub Action to reliably call our API as step one of any workflow, receive the halt decision, and exit cleanly before any subsequent steps ran across different workflow configurations, different runner environments, and different trigger types required careful design of the Action's failure handling to ensure it never silently passed when it should have blocked.

Tracks Applied (3)

AI & ML

LGTM sits at the intersection of AI and security engineering two fields that are increasingly impossible to separate. T...Read More

Google Gemini

LGTM integrates Google Gemini as one of its selectable LLM providers powering the six parallel AI code review agents. Wh...Read More
Major League Hacking

Major League Hacking

MongoDB Atlas

MongoDB serves as the primary persistence layer for LGTM, storing everything that matters user accounts, connected repos...Read More
Major League Hacking

Major League Hacking

Discussion

Builders also viewed

See more projects on Devfolio