# memtwig > Git-native, multi-org Markdown memory layer for AI agents. Single static Go binary (CGO_ENABLED=0, ~14 MB) with SQLite FTS5 + optional 1024-dim vector RRF retrieval (Ollama, OpenRouter, DeepInfra, OpenAI, Cloudflare), embedded local Web UI (`memtwig ui`) and TUI (`memtwig tui`), deterministic proposal governance, MCP (stdio and Streamable HTTP with RBAC + audit log), and per-turn hooks for Claude Code, Codex, Cursor, and Antigravity. ## Key Facts - Website: https://memtwig.com - Repository: https://github.com/memtwig/memtwig - Latest Release: v1.5.0 (Apache 2.0) — https://github.com/memtwig/memtwig/releases/tag/v1.5.0 - Homebrew Tap: `brew install memtwig/tap/memtwig` (https://github.com/memtwig/homebrew-tap) - Author: Vittorio Compagno (https://vittoriocompagno.com, https://github.com/vittoriocompagno) - Language / Distribution: Pure Go static binary (Linux, macOS, Windows), zero CGO, zero external vector DB. - Performance: 109 Markdown notes / 1,078 chunks indexed in ~105 ms. ## Guides & Comparisons - [Memtwig Cloud](https://memtwig.com/cloud): Managed Cloud Curator, hosted HTTPS MCP with RBAC, managed embeddings, and GitHub/GitLab sync (early-access waitlist). - [memtwig vs Mem0](https://memtwig.com/vs/mem0): Git-native curated Markdown vs vector/graph memory APIs. - [memtwig vs CLAUDE.md](https://memtwig.com/vs/claude-md): Scaling static rules files across repositories and AI harnesses. - [Open-Source MCP Memory Server](https://memtwig.com/mcp-memory): Stdio and Streamable HTTP MCP tools, RBAC tokens, and audit logs. ## Integrations - [All Integrations](https://memtwig.com/integrations): Overview of supported AI agents and transports. - [Hermes Agent](https://memtwig.com/integrations/hermes): Stdio MCP + shared SOUL.md identity. - [Grok Bot & CLI](https://memtwig.com/integrations/grok-bot): Stdio MCP for CLI and RBAC HTTP MCP for 24/7 bots. - [OpenBot](https://memtwig.com/integrations/openbot): Streamable HTTP MCP with per-coworker RBAC tokens and audit log. - [T3 Code](https://memtwig.com/integrations/t3-code): Shared worktree-routed vaults across orchestrated providers. - [Claude Code](https://memtwig.com/integrations/claude-code): Native UserPromptSubmit, SessionStart, and stdio MCP. - [Cursor](https://memtwig.com/integrations/cursor): Stdio MCP integration via ~/.cursor/mcp.json. - [OpenAI Codex](https://memtwig.com/integrations/codex): Stdio MCP in ~/.codex/config.toml plus hook adapter. - [Antigravity](https://memtwig.com/integrations/antigravity): PreInvocation injectSteps hook + stdio MCP. ## Documentation - [Full Reference (Markdown)](https://memtwig.com/llms-full.txt): Consolidated single-file technical reference for LLMs. - [Architecture](https://github.com/memtwig/memtwig/blob/main/docs/architecture.md): Storage, scope routing, SQLite FTS5 + RRF engine, hook gating, MCP stdio/HTTP, RBAC, audit. - [Multi-Org & Freelance Setup](https://github.com/memtwig/memtwig/blob/main/docs/multi-org.md): Strict isolation across personal and client vaults via `cwd` and `git remote`. - [Harness Integration](https://github.com/memtwig/memtwig/blob/main/docs/harnesses.md): Setup for Claude Code, Cursor, Codex, Antigravity, and Hermes. - [Governance & Curation](https://github.com/memtwig/memtwig/blob/main/docs/governance.md): Owner-locked notes, deterministic proposal IDs, secret scanning, `decide`, `invalidate`, `curate --llm`. - [Example Config](https://github.com/memtwig/memtwig/blob/main/examples/config.toml): Ready-to-use `config.toml` with multi-org rules, embeddings, LLM curator, and RBAC tokens.