COMPREHENSION DEBT IS THE NEW TECH DEBT

Know where the risk lives, before you touch the code.

A desktop app that marries state-of-the-art static code analysis and your git history with LLM codebase-insight best practices. It shows where the risk, complexity and knowledge gaps are, and why: a short list of priorities instead of raw totals.

Bring the model you trust, from a local-only embedded model to OpenRouter or frontier models. Every AI request is guardrailed, and static analysis always runs on your machine.

Static analysis runs on your machineLocal, OpenRouter or frontier modelsGuardrailed AIApache 2.0
FIG. 01 — THE APP
Ombuto Codebase Insight Overview: health score, hotspot map and top hotspots Ombuto Codebase Insight Hotspots: churn by complexity treemap Ombuto Codebase Insight Architecture: module dependency graph with cycles Ombuto Codebase Insight Code Quality: verified duplication groups Ombuto Codebase Insight Diagrams: computed class diagram Ombuto Codebase Insight Ask: an answer with line citations
Overview: the health score, top hotspots and key risks, each linked to the evidence behind it.
Shown analysing northwind, a demo repository with a fictional name and fictional contributors.
FIG. 02 — COMPREHENSION DEBT

Comprehension debt is the new tech debt.

Code is being written faster than anyone can read it. Agents, new teammates and years of churn leave codebases that work but that nobody fully understands. That gap is comprehension debt, and it comes due the moment you need to change something. Ombuto Codebase Insight pays it down.

FOR DEVELOPERS NEW TO A PROJECT

Get your bearings in hours, not weeks.

Joining, inheriting or auditing a codebase? See the hotspots, the owners, the real architecture and the risky corners on day one. Then ask questions and get answers that cite the lines they come from.

HotspotsOwnershipArchitectureAsk
FOR DEVELOPERS WITH A HEAVY PR REVIEW LOAD

Know where the risk is before you open the diff.

When pull requests arrive faster than you can read them, spend your attention where it counts. See whether a change lands on a hotspot, who else understands that code, what it's quietly coupled to, and whether it's tested.

Churn × ComplexityBus FactorCo-changeUntested Files
FIG. 03 — DAY ONE ON A CODEBASE

Line counts and linters don't tell you where to look first.

You've joined, inherited or been asked to review a codebase: tens or hundreds of thousands of lines, years of history, and authors who may have left. Ombuto Codebase Insight answers the questions you actually have.

Which files are risky to change?

Files that change often and are complex, plus the bug-fix commits that keep landing on them.

Hotspots

Who understands this part?

Ownership and bus factor per file and module: the knowledge that walked out the door.

Ownership

How do the modules really depend on each other?

The import graph as it is, not as the docs say: cycles, fan-in, fan-out and instability.

Architecture

What's coupled without anyone saying so?

Files that change together but never import each other: hidden coupling, found in the history.

Co-change

Is the supply chain safe?

Outdated, vulnerable, deprecated or oddly licensed packages, and a local scan for committed secrets.

Dependencies

Where is this actually implemented?

Ask in plain language. Answers cite the files and lines they come from.

Ask
FIG. 04 — HOW IT'S DIFFERENT

State-of-the-art static analysis, plus history.

Most tools look at the code or at the git log. Ombuto Codebase Insight combines deep static analysis with the full history, computes it all locally, and keeps the facts apart from AI.

01

Static analysis, done properly

Grammar-aware tree-sitter parsing, not regex: symbols, imports, call graphs, request flows and per-function complexity across nine languages. Duplication is verified token by token. Combined with churn, ownership, co-change and fixes from git, it ranks what matters, and every number drills down to the file and line.

02

Local-first by design

Built for teams that can't, or won't, upload company code to a cloud service. Static analysis runs on your machine into a local database. Reopening a repo is instant, later analyses are incremental, and your repository is never modified.

03

AI that shows its work

Static analysis never needs AI. When you ask a question, the answer is labelled as AI, kept apart from computed facts, and cites the lines it came from. AI-assisted diagrams contain only elements found in the code.

Hotspots: churn by complexity
FIG. 05 — HOTSPOTS & HISTORY

Where change is expensive.

A churn × complexity map shows the files that change most and are hardest to change. That's where defects cluster and where refactoring pays off.

Add ownership and bus factor, fix-commit counts and co-change pairs, and you know which code is fragile, who knows it, and what it's quietly tied to.

Code Quality: verified duplication
FIG. 06 — CODE QUALITY

Signals you can trust.

Duplication is verified on ordered source tokens and labelled honestly: exact, structural (consistently renamed) or changed literals. Compare any two copies side by side.

Dead code, language-specific smells, TODOs aged by git blame, and source files with no tests, sorted by churn. Metrics worth acting on, not busywork.

FIG. 07 — EVERYTHING IN ONE PLACE

One analysis. Every angle.

Open a folder, watch the pipeline run, and start exploring partial results before it finishes.

01

Overview & health score

A health score with its parts shown, the top hotspots and a short list of key risks, each linking to its detail.

Health ScoreKey Risks
02

Hotspots & ownership

Churn × complexity, bus factor, code age, fix commits and co-change coupling across the whole history.

ChurnBus FactorCo-change
03

Architecture

Module dependency graph with import cycles, fan-in, fan-out and instability per module. Flow reach and chokepoints from every entry point.

CyclesInstabilityChokepoints
04

Complexity & size

Per-function cyclomatic complexity with a long-tail view, module averages and the size distribution of the code.

CyclomaticLong Tail
05

Code quality

Verified duplication, dead code, smells, aging TODOs and missing tests, with every finding linked to its lines.

DuplicationDead CodeTests
06

Dependencies & secrets

Lockfiles parsed into a package list with advisories, versions behind, licences and deprecations. Committed secrets found locally.

OSV AdvisoriesLicencesSecret Scan
07

Security findings

Per-language rules for risky code patterns, plus a map of the external services the code calls.

RulesExternal Calls
08

Diagrams

Schema, class, infrastructure, dependency, call-graph, request-flow, state-machine, test and API diagrams computed from the code.

MermaidPlantUMLSVG · PNGAI: sequence · C4 · domain
09

Share report & badges

A self-contained health report as HTML, PDF or Markdown, plus README badges. Contributor names stay hidden unless you include them.

HTML · PDF · MDBadges
FIG. 08 — LLM-ASSISTED CODE ANALYSIS

Static analysis says what the code is. LLMs help explain what it does.

Every AI feature starts from the computed analysis: real entry points, call graphs, chokepoints and hotspots go into the prompt, so the model reads less and guesses less. Answers cite their sources and are labelled as AI, so you can always tell an explanation from a fact.

Code Map: an agent-built map of the main modules with a flow traced step by step and its story
Code Map: an agent-built map of the main modules and the flows that matter. Here the “Dynamic layout and automatic page breaks” flow is traced across six modules, with its trigger, story and steps.
01 · CODE MAP

Learn the system, not just the graph

A local CLI agent such as Claude Code reads the repository and maps up to 20 main modules, the relationships between them with evidence, and the 3 to 5 flows that matter, told step by step. It’s seeded with the computed entry points and chokepoints, and every flow is checked against the call graph.

ModulesFlowsValidation report
02 · ASK

Answers that cite their lines

Ask in plain language. Lexical, semantic or hybrid retrieval finds the code, and the answer cites the files and lines it used. Turn on Investigate with tools and the model queries the analysis itself, with every step shown.

CitationsSemantic searchTools
03 · EXPLAIN

Explanations on demand

Ask why a hotspot is risky, what a commit changed, or what a module is for. Module summaries, hotspot and commit explanations, and an optional narrative for the shareable report, each generated only when you ask.

HotspotsCommitsModules
04 · DIAGRAMS

AI diagrams, held to the code

Sequence, C4 and domain diagrams drafted by the model, then validated so they contain only elements found in the code. Annotate the computed diagrams too, and export to Mermaid, PlantUML, SVG or PNG.

SequenceC4Domain
05 · YOUR AGENT

MCP for Claude Code, Codex and more

A local MCP server gives your own coding agent read-only access to the analysis over stdio, with no network listener, so it plans changes with the same hotspots, owners and call graphs you see.

MCPRead-only
06 · ANY MODEL

From local to frontier

A built-in local model, your own Ollama, any model on OpenRouter, the Anthropic, OpenAI or Gemini APIs, or the Claude Code and Codex CLIs. Or switch everything to Local only.

LocalOpenRouterFrontier
GROUNDEDPrompts carry the computed facts: entry points, call graphs, hotspots and owners.
CITEDAnswers point to files and lines. Answers without validated citations are flagged.
LABELLEDAI output is always marked and kept apart from computed facts.
GUARDEDAn egress guard scans prompts for secrets. Code Map runs only when you confirm. Local only keeps all AI on the machine.
Ask the Codebase: a cited answer
FIG. 09 — ASK THE CODEBASE

Answers that cite their lines.

Ask in plain language and get an answer grounded in the code, with citations to specific files and lines. Turn on Investigate with tools and the model queries the analysis itself, step by step, with every step shown.

FIG. 10 — PROCESS FLOW

From folder to findings in one pass.

Open folder→ Extract files→ History & blame→ Transform→ Dependencies & secrets→ Score & rank→ Explore→ Ask (optional)

Results are cached in a local database, so reopening is instant and the next analysis only processes what changed.

FIG. 11 — LANGUAGES

Grammar-aware, not regex.

Symbols, imports, calls, complexity and smells come from tree-sitter grammars bundled with the app. Git history works for any language in the repo.

JavaScriptTypeScript + TSXPythonJavaC#GoRustRuby + RailsSQL schema
FIG. 12 — BRING YOUR OWN MODEL

Local or cloud. Your call. Guardrailed either way.

Run a local-only embedded model, your own Ollama, any model on OpenRouter, or frontier models directly. An egress guard checks prompts for secrets before they leave your machine, a Local only switch keeps all AI on the machine, answers without validated line citations are flagged, and AI output is always labelled.

Built-in local modelOllamaOpenRouterAnthropicOpenAIGeminiClaude Code CLICodex CLI
Analysis pipeline with per-stage progress and switches
FIG. 13 — PRIVACY

Your code stays put.

  • Static analysis is local. Parsing, history, metrics and diagrams run on your machine and are stored in a local database.
  • Read-only. Ombuto Codebase Insight never modifies your repository.
  • Online lookups are a switch. Dependency advisories and registry checks send package names and versions only. Turn them off and nothing is sent.
  • AI is your choice. With a local model, no code leaves the machine. With a cloud model, an egress guard scans each prompt for secrets first. Code Map is the exception: a CLI agent reads the repository directly, so it runs only when you start it and confirm the warning.
  • Every stage is visible. The pipeline shows what ran, what was skipped and why, and lets you switch optional stages off per repository.
FIG. 14 — AT A GLANCEv0.1
9
languages parsed with tree-sitter
12
diagram types
0
lines of code uploaded for static analysis
100%
AI answers labelled and cited
Ombuto Codebase Insight
OPEN SOURCE · APACHE 2.0 · EARLY ACCESS

See your codebase clearly.

Free and open source. Runs from source today with Node.js 24 LTS and git.

$ git clone https://github.com/FrancoisBotha/ombuto-codebase-insight
$ cd ombuto-codebase-insight
$ npm install
$ npm start

Coming soon: npx ombuto-codebase-insight

View on GitHub Meet Ombuto Code ▸