# CogmemAi

A portable memory layer that gives any AI system -- assistants, agents, robots, vehicles or code -- persistent recall across sessions, devices, users and teams, and checks its actions against rules the user set.

CogmemAi remembers what matters and captures knowledge autonomously even when the calling AI forgets to save, reporting 95.10% accuracy on the LongMemEval benchmark and 91% on LoCoMo. It works with Claude Code, Cursor, Windsurf, Cline, Continue and other MCP-compatible tools, and uses quantum-safe encryption.

A `guard_check` tool judges a proposed action, such as a message, a purchase or a command, against the user's stated rules before it happens, returning allow, ask or deny along with the rule that applies. A `review_work` tool checks a completed piece of work against a plain-English intent document that states what a project is for and what must always hold.

The same calls are available through SDKs and as REST endpoints.

Website: https://hifriendbot.com/developer/
