Agent Context

•

Provide persistent memory, sourced knowledge graphs, full-text search, and rule-based inference for AI agents using SQLite and clingo.

Agent Context serves as a local, persistent memory system for AI agents, operating seamlessly as a shell-based skill or a standard MCP server without requiring external databases, API keys, or network connectivity. Utilizing SQLite with FTS5 for ranked full-text text retrieval and clingo for deterministic positive rule inference, it empowers agents to store sourced notes, construct knowledge graphs, and derive new facts dynamically from snapshots. By maintaining strict provenance, isolated workspaces, and explicit distinctions between asserted facts and derived deductions, Agent Context offers a predictable, reproducible context engineering platform that prevents hallucinated record promotion.

主な機能

01Local persistence using SQLite with WAL mode and FTS5 BM25 ranked full-text search
02Logic-based positive rule inference powered by clingo to derive relationship assertions dynamically
03Strict source attribution and expiry controls to manage lifecycle and provenance for notes and facts
04Workspace partitioning through spaces to segregate memory domains, notes, and rules without data collision
05Dual-mode operation supporting standard stdio MCP client connections or CLI commands as an agent skill
060 GitHub stars

ユースケース

01Tracking multi-step dependency graphs and transitively reachable architecture relationships across software services
02Preserving durable agent context, operational decisions, and historical evidence across long-running development tasks
03Building local, source-grounded knowledge bases with verifiable assertions for shell-capable coding agents