SALC

•
1
•

Virtualizes repository context for AI coding agents by providing a compressed, lazily-expandable symbol graph instead of full source files.

SALC (Symbolic Context Virtualization Protocol) revolutionizes how AI coding agents interact with codebases. Instead of dumping entire files into the model's context, SALC locally parses your repository into a symbol graph, folding code blocks into one-line signatures. This approach dramatically reduces token usage and context window consumption by allowing agents to orient themselves within the graph and expand only the specific functions or classes they intend to edit. It enables precise AST patching, offers robust grounding checks, and supports features like protected code regions, all while operating locally without cloud dependencies or embeddings.

主要功能

01Local-first, deterministic operation with zero cloud dependency
02Code freezing directive (`@ai:freeze`) for protected regions
03Symbol graph-based context for AI agents
04Lazy expansion of code nodes on demand
05Structured AST patching for targeted edits
060 GitHub stars

使用案例

01Wiring up custom or existing MCP-based AI coding agents (Claude Code, Cursor)
02Managing codebases with compliance-critical or generated files that require protection
03Optimizing token spend and context window limits for large repositories