Stop paying AI to read code that doesn't matter.

SiftHook is the first local-first code analysis engine that mathematically calculates the 'Blast Radius' of your changes before sending them to an LLM.

Terminal
$

See the Blast Radius of every change

Most AI tools dump your entire codebase into context. SiftHook maps only the downstream functions your change actually affects.

The Blind Spot

Massive context bloat — sending entire files to AI, wasting tokens on irrelevant code paths.

SiftHook

Precise dependency mapping — only the specific downstream functions affected by your change.

Built for developers who ship fast

Every feature is designed to minimize wasted tokens and maximize AI accuracy on your codebase.

Temporal Coupling

Finds hidden bugs by hooking into your git history. Discovers files that always change together — even without explicit imports — revealing ghost dependencies.

🎯

Hard Token Budgeting

Auto-compresses context so you never exceed API limits. Set a hard token ceiling and SiftHook intelligently prioritizes the most impactful code paths — signatures first, bodies only when budget allows.

🧪

The Test Scaffolder

Auto-generates Jest/Vitest boilerplate for every affected function in your blast radius. Know exactly what to test before you push — not after CI screams.

Instant Background Daemon

Silently updates AST vectors on every save. Your dependency graph is always fresh — zero manual re-indexing, instant analysis on demand.

🔑

BYO-AI

Plug in your own Anthropic, OpenAI, or OpenRouter API keys. Full token transparency — see exact input/output counts and estimated cost for every analysis run. No proxy, no markup, no opaque credit pools.

Anthropic OpenAI OpenRouter Gemini

Two commands. Total clarity.

Initialize your codebase graph with full git history, then analyze any diff or PR instantly.

~/my-project
# Initialize with full git history for temporal coupling $ sifthook init --with-history ✓ Parsed 847 files (TS/JS + Python) ✓ Extracted 3,291 symbols, 8,744 edges ✓ Built temporal coupling from 1,205 commits ✓ Graph saved to .sieve/graph.db (2.4 MB) # Analyze your current diff with test scaffolding $ sifthook analyze --diff --test ⚡ Blast radius: 12 functions across 5 files 📊 Context: 4,218 tokens (budget: 8,000) 🧪 Generated 8 test stubs in __tests__/ ✓ Analysis complete — $0.003 estimated cost