Code Context

•

Accelerate AI agent code search and optimize LLM token consumption through fast local trigram caching, block-clamped context retrieval, and structured data probing.

Code Context provides fast local file discovery, source search, and block-clamped context retrieval designed specifically to optimize AI coding agents. Backed by a high-performance Rust trigram cache, it significantly cuts LLM spending by eliminating redundant prompt cache re-reads and unnecessary tool turns. Available as native VS Code Language Model Tools and an MCP server, it also features zero-schema data and log probing, document anchors, and transcript compaction continuity across Linux, native Windows, WSL, and SSH environments.

Características Principales

01High-speed local code and file search powered by a shared Rust trigram cache daemon
02Native VS Code Language Model Tools integration alongside an MCP server interface
03Compact session continuity (`cctx journal`) for multi-step agent transcripts without prompt bloat
04Block-clamped context retrieval and document anchors to minimize LLM token consumption and session costs
05Zero-schema structured data and log probing (`pctx`) with automated secret redaction and anomaly digests
060 GitHub stars

Casos de Uso

01Probing large application logs and API response payloads without exhausting agent context windows
02Optimizing token usage and reducing API bills during extensive AI-assisted coding and refactoring sessions
03Conducting ultra-low-latency symbol discovery and context slicing across large codebases for AI agents