GexyLab

Memi — AI skill for Claude Code

AI community

Memi (Agentic Memory): a local, zero-dependency memory service shared by AI agents (Claude Code, Codex, Gemini, DeepSeek, Ollama).

How to install Memi

This entry records only its repository, not the path inside it, so there is no exact command to give. Open GexyLab/memi and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Memi does

Memi (Agentic Memory): a local, zero-dependency memory service shared by AI agents (Claude Code, Codex, Gemini, DeepSeek, Ollama). Lessons learned with the user become trigger rules in a SQLite graph with scope, provenance and trust, pushed into context by hooks or an API proxy at the right moment, or pulled via MCP, REST and CLI.

Alternatives in AI

  • Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Whiteboard AI Tutor — Open-source whiteboard AI tutor with animated lessons and interactive playback 587 ★

README

Memi (Agentic Memory)

[Italiano](README.it.md) · [Releases](https://github.com/GexyLab/memi/releases) · [Changelog](CHANGELOG.md)

Memi is a local, long-term memory shared by the AI agents you use on your PC: Claude Code, Claude Desktop, Codex, Gemini CLI, DeepSeek, Ollama, LM Studio, your own scripts. When you correct an assistant, state a rule ("always…", "never…", "from now on…") or a preference, Memi keeps it as a short rule and gives it back to **every** assistant at the moment it matters: at the start of a session, when your request is about it, or right before a risky action such as `git commit`. Assistants stop repeating the same mistakes, and what one model learns the others can use.

Everything stays on your machine: one SQLite file, an HTTP service on `127.0.0.1`, no cloud, no telemetry. Written in plain Node.js with no dependencies.

**Contents:** [What it does](#what-it-does) · [How it works](#how-it-works) · [Install on Windows](#install-on-windows) · [Configuration](#configuration) · [Connect your AI clients](#connect-your-ai-clients) · [CLI](#cli-reference) · [HTTP API](#http-api) · [Security](#security) · [Development](#development) · [License](#license)

What it does

  • Remembers lessons, not transcripts. Each memory is one terse line such as Before git commit check the author identity — why: commits came out with the wrong email.
  • Pushes, does not wait to be asked. Where the client has hooks (Claude Code) or talks to an API (the proxy), Memi injects the few relevant rules into the model's context by itself. Clients with MCP tools can also pull.
  • Fires at the right moment. A rule can be tied to words in a request, to shell commands (regex), to file paths (glob), to a tool name, or be always on.
  • Shares across AIs, carefully. A rule learned by another model family is shown as from Claude, another AI · trust low until the current model (or you, through it) confirms it.
  • Learns from evidence. Confirmations rai