E
Eolentis Labs
AI code review for legacy codebases
Live — reviewing production PRs via GitHub and Jenkins/Bitbucket pipelines

AI code review that works where your code actually lives.

Eolentis Review Bot reviews every pull request on Bitbucket, self-managed GitLab, GitHub, and Azure DevOps — triggered from Jenkins or webhooks. It learns each repo's real conventions instead of nitpicking them, and drives measurable quality goals like test coverage on codebases that have been in production for years.

Legacy-stack native
Bitbucket, self-managed GitLab, GitHub, Azure DevOps. Triggered from Jenkins CI — no migration required.
Learns, doesn't nitpick
Per-repo memory tracks which suggestions your team adopts or rejects — and stops repeating the ones you've settled.
Measurable outcomes
Coverage gate plus review drive explicit targets — e.g. 80% branch coverage — with every step logged and costed.
review run • PR feat/payment-mapper-v2
trigger Jenkins stage 'AI Review' · Bitbucket
diff +214 −38 across 6 files (incremental)
memory repo learnings: 47 entries · 3 apply here
rag "ADR-019 input validation policy"
ci tests passed · coverage 71.4% (target 80%)
filter 2 findings suppressed — already settled in past PRs
post 1 must-fix · 1 should-fix · coverage note
done posted to PR with line-level links
mode: incremental memory updated post-merge

Review first — with the platform to act on it

Review Bot is the product. Behind it sits a shared RAG layer built from your internal docs, a codebase chat, and companion agents that act on review findings — writing the missing tests and drafting the fixes the review asks for.

Core product
Review Bot

Reviews every PR before a human opens it. Triggered from Jenkins CI or webhooks, diff-first, grounded in your ADRs and policies. Also enforces coverage thresholds automatically.

  • ✓ Must fix / Should fix / Nit with line-level links
  • ✓ Jenkins + GitHub / GitLab / Azure DevOps / Bitbucket
  • ✓ Coverage gate: flags files below threshold
  • ✓ Memory mode: learns from past PRs over time
  • ✓ Incremental reviews on PR updates
Included
RAG Chat

A chat interface over your indexed codebase and documentation — the same knowledge base that grounds every review. Ask questions, get streaming answers with cited sources.

  • ✓ Per-project knowledge base (Qdrant vector store)
  • ✓ Streaming answers with RAG source disclosure
  • ✓ Thread context summarization for long conversations
  • ✓ Can spawn fix tasks directly from chat
  • ✓ Per-message and per-thread cost tracking
Companion
Fix Agents

Bounded agent tasks that act on what the review finds: write the tests the coverage gate flagged, draft the fix a must-fix demands. On your machine or in cloud sandboxes — every step traceable.

  • ✓ Coverage gate can trigger test-writing tasks
  • ✓ Three-phase loop: plan / execute / self-review
  • ✓ Local agent daemon + cloud E2B sandboxes
  • ✓ Resulting PR goes back through Review Bot
  • ✓ Per-step cost breakdown in USD

Review Bot — CI-integrated PR review

Triggered by Jenkins or webhooks on every PR. Diff-first, RAG-grounded, and structured so findings are actionable — not a wall of text. Built for codebases where a generic reviewer would drown the team in noise.

PR Review — feat/payment-mapper-v2
Jenkins · Bitbucket
Must fix
High confidence
Input validation bypass in PaymentRequestMapper when customerType=VIP.
src/payments/mapper.ts · Lines +42..+58 · ADR-019: all external inputs must be validated
if (!isValidCustomerType(req.customerType)) {
  throw new ValidationError("Invalid customerType");
}
Should fix
Medium confidence
Renamed field iban → accountIban may break downstream consumers.
Verify: payment-consumer-service API contract before merging.
Coverage gate
Auto-triggered
src/payments/mapper.ts — line coverage 48% (below 60% threshold). New tests required.
What triggers a review
  • → PR mode — full review posted as a PR comment
  • → Branch mode — review of any branch push, no open PR needed
  • → Incremental — only reviews new commits since last review
  • → Memory update — post-merge mode that updates the bot's knowledge from closed PRs
  • → Coverage gate — called by Jenkins after npm test --coverage, flags files below threshold
Git platform support
GitHub · GitLab · Azure DevOps · Bitbucket
PR identifier format accepted for all four platforms. Always returns HTTP 200 so Jenkins can safely read the JSON response body regardless of review outcome.
Jenkins pipeline snippet
stage('AI Review') {
  steps {
    sh '''curl -s -X POST \
      -H "x-internal-secret: $SECRET" \
      -H "x-tenant-id: $TENANT" \
      -d '{"mode":"pr","branch":"...",
           "prUrl":"...","repoSlug":"..."}' \
      $API_URL/api/review'''
  }
}
Diff-first focus
Reviews the changed lines and their immediate impact. Not the whole repo.
Low noise by design
CI results feed the review, settled discussions aren't re-litigated, and stale or restated findings are filtered before posting.
Memory that improves over time
Post-merge memory updates track which suggestions were adopted or rejected — getting more precise with every cycle.

How it all fits together

Review Bot — Jenkins integration
Step 01
Jenkins calls the API
POST /api/review with mode=pr or mode=branch. Authenticated via x-internal-secret.
Step 02
Fetch diff + RAG
Pulls the diff, retrieves ADRs and policies relevant to the changed code.
Step 03
Apply rules + memory
Universal best practices, your internal ADRs, and per-repo learnings from past PRs.
Step 04
Post structured findings
Must fix / Should fix / Nit with patches and confidence. Posted directly to the PR.
Fix agents — acting on findings
Step 01
A finding needs work
Coverage gate flags missing tests, or you spawn a fix task from a review finding or chat.
Step 02
Plan
Agent estimates complexity, sets step budget, queries RAG for relevant context.
Step 03
Execute
Read, write, patch files. Run tests and commands. Each step logged with cost.
Step 04
Self-review & commit
Reviews its own diff, produces structured commit: branch, title, body, summary.
Step 05
PR → Review Bot
The generated PR triggers Review Bot. Same RAG, same rules. Loop closed.
Self-healing

When a fix task fails, the platform automatically spawns a remediation task. The planning phase analyzes the failure, the original steps, and the error message to produce a targeted remediation prompt — then re-queues the task. Sensitive fields (tokens, API keys) are redacted from the failure context before analysis.

RAG & Chat — your codebase, answered

The knowledge base behind every review is also directly usable. Index your codebase, Confluence pages, and Jira tickets into per-project Qdrant collections. Then ask questions in natural language, get streaming answers with cited sources, and spawn fix tasks directly from the conversation.

What gets indexed
Codebase
Source files indexed by the built-in indexer worker. Configurable per repo, with a file denylist for secrets and generated files.
Confluence
ADRs, wikis, policy pages. Ingestion pipeline fetches and chunks pages into the project's Qdrant collection.
Jira
Tickets and acceptance criteria. Reviews and fix tasks can pull Jira context when a change implements a ticket.
Chat features
  • ✓ Streaming answers (SSE) with full markdown rendering
  • ✓ Source disclosure per message — file path, section, similarity score
  • ✓ Thread context: long conversations are summarized and reinjected to stay within token limits
  • ✓ Per-message and per-thread USD cost tracked and displayed
  • ✓ Spawn a fix task from chat — "implement this" creates a task on the fly
  • ✓ File attachments (S3) — attach specs, screenshots, or reference docs to your task
Chat with your codebase
Where is payment error handling currently implemented?
The primary handler is in src/payments/handler.ts (lines 42–89). Error types are defined in src/payments/errors.ts.
Sources: src/payments/handler.ts (0.94)
src/payments/errors.ts (0.87)
ADR-041-error-schema.md (0.81)
Implement a missing case for network timeouts.
Creating task on David's Mac…
→ Task created · Session #47

Fix agents: local or cloud

When a review finding or coverage gap needs code written, a bounded agent task can do it. You pick where it runs — on your machine with direct filesystem access, or in an ephemeral cloud sandbox. Both modes share the same task queue and UI, and the result goes back through Review Bot.

💻
Local Agent Daemon

Register your machine in the UI, download the generated installer script, run it. The daemon connects to the shared Redis queue and picks up tasks assigned to your node — working directly on your local filesystem without cloning or sandboxing.

# One-time setup
node install.js # downloaded from UI
npx tsx workers/daemon/index.ts
# Node appears online in UI within seconds
  • → Works directly on your local files — no git clone
  • → Dedicated queue per node — tasks never leak to other agents
  • → REPO_MAPPINGS maps repo names to explicit local paths
  • → Heartbeat every 30 s — node shows online/offline in real time
  • → Use any local LLM (Ollama, LM Studio) to keep code on-prem
☁️
Cloud Worker (E2B)

Cloud workers run tasks in ephemeral E2B sandboxes. They clone the repository using the tenant's stored GitHub token, run the agent, commit results, and push to a new branch — without touching any local filesystem.

# Scale with PM2
pm2 start agent-worker.ts -i 3
# 3 workers share the same Redis queue
# Tasks distributed automatically
  • → Ephemeral E2B sandbox per task — fully isolated
  • → Clones repo, runs agent, pushes branch automatically
  • → Git token stored per-tenant in the database
  • → Scale horizontally — multiple workers, shared queue
  • → Can be toggled per tenant from Settings
Three-phase agent loop

Each task goes through three independent phases, each configurable with its own LLM. Use a powerful model for planning, a fast cheap model for the mechanical execution loop, and a balanced model for the final self-review.

Phase 1 — Planning

Analyzes the task, estimates complexity (low / medium / high), sets a step budget, and identifies which files to read or create. Also drives self-healing if a prior task failed.

LLM_MODEL_PLANNING=claude-opus-4-6
Phase 2 — Execution

Tool-call loop: readFile, writeFile, patchFile, runCommand. RAG queries happen here. Runs until all checks pass or the step budget is exhausted.

LLM_MODEL_EXECUTION=gpt-4o-mini
Phase 3 — Self-review

Reviews the final diff before completing. Produces a structured commit: branch name, title, body, and task summary ready to open a PR.

LLM_MODEL_REVIEW=gpt-4o

Any LLM, per phase

Reviews and fix tasks each use independently configured models. Mix providers across phases, or route everything to a local model when your data must never leave your network.

OpenAI
LLM_MODEL_PLANNING=gpt-4o
LLM_MODEL_EXECUTION=gpt-4o-mini
LLM_MODEL_REVIEW=gpt-4o
gpt-4o-mini for execution is ~16× cheaper and handles mechanical edits well.
Anthropic Claude
LLM_MODEL_PLANNING=claude-opus-4-6
LLM_MODEL_EXECUTION=claude-haiku-4-5
LLM_MODEL_REVIEW=claude-sonnet-4-6
Models starting with claude- are auto-routed to the Anthropic provider — no extra config.
Local (Ollama / LM Studio)
LLM_BASE_URL=http://localhost:11434/v1
LLM_MODEL_PLANNING=qwen2.5-coder:32b
LLM_MODEL_EXECUTION=qwen2.5-coder:14b
Set LLM_BASE_URL and all phases route to your local endpoint. Costs tracked as $0.
Mix providers across phases: use Claude Opus for planning, GPT-4o-mini for execution, Claude Sonnet for review — or any combination. The platform resolves each phase independently from environment variables.

Security & deployment

Built for regulated environments: multi-tenant with per-tenant API key isolation, deployable entirely behind VPN, and compatible with local LLMs so your code never reaches an external API.

On-prem / behind VPN
  • ✓ Runs entirely inside your network perimeter
  • ✓ Local LLMs (Ollama, LM Studio) — code stays on-prem
  • ✓ RAG (Qdrant) runs locally — your docs never leave
  • ✓ Minimal context analysis — only fetches related code when the review needs it
  • ✓ Worker-to-API auth via Bearer tokens (masked in responses)
Multi-tenant architecture
  • ✓ Per-tenant API keys stored and masked in the database
  • ✓ Per-tenant Qdrant collections — data isolated by tenant
  • ✓ Per-tenant GitHub token for cloud worker git operations
  • ✓ Per-tenant rate limiting (coming)
  • ✓ Deployed on Railway with PostgreSQL, Redis, Qdrant

Integrations

Git
GitHub · GitLab · Azure DevOps · Bitbucket
CI/CD
Jenkins (review + coverage gate)
Docs & tickets
Confluence · Jira · internal wikis · ADR repositories
LLM providers
OpenAI · Anthropic · Ollama · LM Studio · any OpenAI-compatible endpoint

Pricing

Flat per-organization pricing — not per-seat. Priced for teams with complex codebases and real compliance constraints, with support included.

Pilot
Proof of Value
Validate Review Bot on 1–2 repos with your ADRs and coding standards.
  • PR review bot in your CI (Jenkins or webhooks)
  • RAG ingestion (guidelines + Confluence + ADRs)
  • Coverage gate setup
  • Success metrics reporting
Annual License
Code Quality Program
Review Bot on all repos, with an explicit quality goal — e.g. a target branch-coverage level — and the platform to reach it.
  • Review Bot with memory mode, all repos
  • Coverage gate with agreed targets
  • RAG Chat per project
  • Fix agents — local + cloud nodes
  • On-prem / VPN deployment
  • Local LLM support
Add-ons
Usage & Extensions
Scale review volume and extend with custom integrations.
  • Additional repos and review volume
  • Fix-agent task packs
  • Custom RAG ingestion sources
  • Custom policy packs

FAQ

How does Review Bot integrate with Jenkins? ▾
Add a Jenkins stage that POSTs to /api/review with the branch, PR URL, and mode (pr or branch). The endpoint always returns HTTP 200 so Jenkins never fails on a review error. For coverage, call /api/coverage-gate after your test run and pass the coverage-summary.json data — the bot flags files below your threshold and can trigger fix tasks to write missing tests.
How is this different from generic AI reviewers? ▾
Three ways. It runs where legacy code lives — Bitbucket, self-managed GitLab, and Jenkins pipelines, not just GitHub apps. It's grounded in your ADRs and policies via RAG, so findings cite your rules, not generic best practices. And it maintains per-repo memory of what your team adopted or rejected, filters out already-settled discussions, and feeds CI results into the review — so it doesn't drown a long-lived codebase in noise.
Can we use a local LLM to keep code off external APIs? ▾
Yes. Set LLM_BASE_URL to any OpenAI-compatible endpoint (Ollama, LM Studio, vLLM, etc.) and all phases route to your local model. Combined with an on-prem deployment and a local Qdrant instance, your code, docs, and inference can all stay within your network perimeter.
What are fix agents, and can they run on my local machine? ▾
Fix agents are bounded coding tasks that act on review output — writing tests flagged by the coverage gate or drafting a fix for a finding. They can run in cloud sandboxes or locally: register your machine in the UI, download the generated installer script, and run it. The local daemon picks up tasks assigned to your node and works directly on your filesystem. The resulting PR goes back through Review Bot.
What happens when a fix task fails? ▾
Self-healing kicks in automatically. The platform analyzes the failed steps and error message, generates a remediation prompt (with sensitive values redacted), and re-queues a fix task. You can also review the full step trace in the UI to understand exactly what went wrong.
Does RAG Chat replace the review for code questions? ▾
They complement each other. RAG Chat is for interactive questions about the codebase — fast, streaming, with cited sources. When the answer leads to "let's implement this", you can spawn a fix task directly from the chat thread. The task then has access to the same RAG context used to answer the question, and its PR is reviewed by Review Bot.

See a real review on your code

Send us a couple of ADRs and your coding standards. We'll run Review Bot on your repos — Bitbucket, GitLab, or GitHub, through Jenkins or webhooks — and show you exactly what grounded, low-noise review looks like on your codebase.

© Eolentis labs s.r.o. All rights reserved. · Eolent (open source) · About · Privacy · Imprint