context-guardian
Context Guardian is a context-compression proxy for local OpenAI-compatible model backends, designed to fail open so that long sessions are not interrupted by context-window limits. When a conversation is about to exceed the model's context window, it automatically summarizes earlier turns, keeps the most recent turns verbatim, and forwards a request adapted to the window. All folded content is archived to disk and sealed with a hash chain, supporting verification and retrieval. The project also provides a Claude Code adapter, a DeepSeek Harness native engine, an MCP server, a status-line tool, and more. It is intended for coding CLI users who use local backends such as Ollama, LM Studio, vLLM, and LiteLLM.