Ctxkit

•

Provide local-first, offline-capable persistent memory and automated hallucination verification for AI agents.

Ctxkit equips AI agents with long-term memory and automated output verification without relying on cloud services or external network connections. Operating with zero runtime dependencies, it stores and retrieves context using a crash-safe, BM25-indexed JSONL ledger kept directly on local disk. Additionally, it inspects model outputs for arithmetic errors, invalid dates, malformed URLs, and overconfident claims through pure standard-library verification checks. With native Model Context Protocol (MCP) support, Ctxkit enables coding assistants and desktop agents like Claude and Cursor to retain persistent project context privately and cost-effectively.

Key Features

01Deterministic output verification for arithmetic, percentages, dates, URLs, and absolute claims
02Local-first persistent memory using append-only, crash-safe JSONL indexed with BM25
03Native Model Context Protocol (MCP) server integration for Claude Desktop, Cursor, and Cline
04Zero runtime dependencies and completely offline operation for core memory and verification
050 GitHub stars
06Optional multi-model consensus checks to surface disagreements across LLM outputs

Use Cases

01Retaining agent memory and project knowledge across sessions without cloud storage
02Securing developer workflows by keeping confidential instructions and notes completely on local disk
03Sanitizing LLM outputs for calculated figures, date validity, and suspicious claims before deployment