Fehm 1.4.0 Release notes ↗

CODEBASE INTELLIGENCE, ON YOUR MACHINE

Codebase context
for your
AI assistant.

Build a local graph of files, symbols and dependencies. Retrieve source-backed context, inspect change impact and check architecture drift from your terminal or coding assistant.

Local processingOpen sourceNo account
THE CONTEXT WORKFLOW
add refunds your task
{ }
Relevant sourceSymbols, excerpts & locations
Connected evidenceRelationships, tests & architecture
Decision memoryHistory & project context
FEHM CONTEXTSource context within your budget.Ranked evidence for your assistant
$ fehm context "add refunds"

Workflow illustration · results depend on repository evidence

Bring the context to your coding assistant.

Claude CodeCursorCodexGemini CLICopilot CLIVS Code
Connect other compatible clients with MCP →

BEFORE YOU CHANGE THE CODE

Check the boundaries.
Inspect the impact.

A shared source graph connects what you read, what you change, and what you check next.

01 / ENGINEERING PRACTICES

Detect missing
engineering controls.

Approve the rules that fit your project. Compare current evidence with a saved baseline and review what disappeared.

Explore architecture & drift
02 / CHANGE INTELLIGENCE

Find the code
a change can affect.

Follow changed files into affected dependencies, routes, and tests. Use the evidence to decide what deserves a closer look.

Explore change verification

These diagrams explain the workflow. Findings support review; they do not guarantee correctness.

EXPLORE THE FEATURES

Explore code.
Review changes.

Browse ten feature groups with commands, examples and the limits of each analysis.

01 ↗

Understand the system

Trace files, symbols, callers, dependencies, and entry points. Find the source behind the explanation.

Explore capability →
02 ↗

Give agents focused context

Retrieve source excerpts, related tests, architecture rules and project history within a context budget.

Explore capability →
03 ↗

Check architecture and practice drift

Compare changes with approved boundaries. Detect when engineering-practice evidence disappears.

Explore capability →
04 ↗

Review and verify changes

Follow a diff through dependencies, inspect its blast radius, and run supported checks.

Explore capability →
05 ↗

Find quality and reliability gaps

Connect coverage, dependency risk, API contracts, infrastructure, and runtime evidence.

Explore capability →
06 ↗

Engineer AI systems

Version prompts, review tool contracts, compare model behavior, and evaluate changes against held-out cases.

Explore capability →
07 ↗

Keep the team in context

Watch repositories, explore the local cockpit, preserve decisions, and export onboarding notes.

Explore capability →
08 ↗

Testing & coverage

Inspect test quality, ingest measured coverage, and explore mutation testing and historical bug replay.

Explore capability →
09 ↗

Security & delivery

Review security paths, dependency risk, API contracts, and infrastructure configuration together.

Explore capability →
10 ↗

Review agent claims and outcomes

Check graph-backed claims and preserve agent outcomes, recurring mistakes, and resolution history.

Explore capability →

INSTALL WITH UV

It starts in
your repository.

Install the packaged tool with uv, register your assistant, and scan. The graph stays on your machine. Provider features make external calls only when you configure and invoke them.

Follow the installation guide →
~/your-projectTERMINAL

$ fehm scan .

$ fehm query "authentication flow"

$ fehm serve .fehm/graph.json --watch

CLI · MCP · localhost cockpit
What’s included in Fehm ↗

BEFORE YOU START

Installation,
privacy and languages.

Do I need npm to use Fehm?

No. Install a supplied wheel with uv. The package includes the engine and installs a private Node runtime.

Does a query call an AI model?

Ordinary graph queries run locally and return evidence. Your coding assistant can use that evidence to explain the code. Model evaluation features require an explicitly configured provider.

Which languages can I analyze?

TypeScript and JavaScript have the deepest analysis. Python, Go, Rust, and Java have shallower declaration, import, and call resolution.

Where should I start?

Follow the setup guide, scan a repository you know, and ask about a familiar flow. Then connect your coding assistant to reuse that context.

SCAN · QUERY · REVIEW

Start with your repository.

Start with Fehm ↗