cd /news/developer-tools/tessera-code-analysis-with-a-version… · home topics developer-tools article
[ARTICLE · art-96511] src=blog.stackademic.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Tessera: Code Analysis with a Versioned Knowledge Graph

Tessera, an open-source tool from developer Rcarubbi, builds a versioned knowledge graph of codebases using tree-sitter for deterministic static analysis and AI only for summarization, enabling incremental processing and time-travel queries. The tool, available at github.com/rcarubbi/tessera, offers a dashboard and a fully offline binary that runs the same pipeline without AI or database, supporting CI validation and local Markdown reports.

read2 min views1 publishedAug 14, 2026

Analyzing code is more than reading file after file. You want to understand the architecture: who calls whom, what the hidden dependencies are, what breaks if a function changes, whether a new PR violates project rules. Those answers don’t live in any single file — they live in the relationships between files.

That’s what drove Tessera: connect a Git repository and it builds a versioned knowledge graph of your codebase. Classes, interfaces, methods, calls, dependencies — all mapped. And the important part: every commit produces an immutable snapshot. You can ask “what breaks if I change X?” at any version of the code.

The first temptation in a project like this is to dump the whole repository into an LLM and ask it to “understand.” Spoiler: that doesn’t work well. Models hallucinate structure, invent relationships that don’t exist, and you lose trust in the entire system.

Tessera does the opposite. tree-sitter (static AST analysis) is the source of truth, at ~1.0 confidence. It decides what exists: classes, methods, inheritance, calls, dependencies. AI only comes in afterwards, to summarize and infer semantics — on top of a structure already decided deterministically.

The result: useful descriptions, but always correct structure.

Every graph node has two hashes:

This gives true incremental processing. Five files changed in a 10,000-file repository?

The AI processes 5 nodes, not the monolith. And because snapshots are immutable and content-addressed, every query is “time-travel”: architectural diffs between versions, versioned queries, no global state to manage.

The dashboard becomes a toolbox for analysis:

Not everyone wants to spin up Docker just to analyze a codebase. The tessera binary runs the same parse → summarize → link → graph pipeline, but 100% offline: no database, no API, no AI, no upload. It only needs the .NET runtime, git, and the parsing sidecar.

That means: architecture rules validated in CI, Markdown reports generated locally, and the same results as the dashboard — because it reuses the same rule engine and the same graph algorithms.

Open source, with a spec-driven development history documented along the way. If you want to understand the architecture of a codebase before touching it — including your own — take a look here: https://github.com/rcarubbi/tessera

Tessera: Code Analysis with a Versioned Knowledge Graph was originally published in Stackademic on Medium, where people are continuing the conversation by highlighting and responding to this story.

── more in #developer-tools 4 stories · sorted by recency
── more on @tessera 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/tessera-code-analysi…] indexed:0 read:2min 2026-08-14 ·