AI coding agent tools by metazen11
npx claudepluginhub metazen11/agent-memoryPersistent cross-session memory for AI coding agents. Records what was learned, built, fixed, and decided, then makes it searchable via hybrid vector + full-text search. Drop-in replacement for claude-mem.
Persistent memory for AI coding agents that build, maintain, and enhance long-lived projects.
Most memory solutions assume your relationship with a project ends at git push. This one doesn't. If you maintain production systems, ship continuous improvements, and need your agent to remember why that Docker port was changed 4 months ago — agent-memory is built for you.
Records what was learned, built, fixed, and decided during each session, then makes it searchable via semantic + full-text hybrid search. Claude Code's built-in MEMORY.md gives you 200 lines of pinned notes. agent-memory gives you a searchable journal across thousands of observations — so accumulated context becomes a competitive advantage, not a truncated file.
Works with Claude Code out of the box. Designed to support any AI coding agent via REST API or MCP.
git clone https://github.com/metazen11/agent-memory.git
cd agent-memory
node install.js
The installer handles everything:
.env with random Postgres passwordnode install.js # Full setup + install
node install.js --status # Show what's installed and running
node install.js --start # Start services (Docker + FastAPI)
node install.js --stop # Stop services
node install.js --migrate # Run pending database migrations
node install.js --migrate --dry-run # Preview migrations (no changes)
node install.js --migrate --backup # Backup tables, then migrate
node install.js --backup # Backup mem_* tables only
node install.js --uninstall # Remove hooks, MCP, skills
brew install postgresql@16 pgvector | Docker fallback: brew install --cask docker | Linux: sudo apt install docker.io docker-compose-pluginbrew install [email protected] | Linux: sudo apt install python3.12 python3.12-venv┌─────────────────────────────────────────────────────────┐
│ Claude Code Session │
│ │
│ session-start hook ──► Health check → auto-start │
│ └──► Inject MCP guide + context │
│ post-tool-use hook ──► POST /api/queue (fire & forget) │
│ session-end hook ──► PATCH /api/sessions/:id │
└──────────────┬──────────────────────────────────────────┘
│ HTTP (localhost:3377)
┌──────────────▼──────────────────────────────────────────┐
│ FastAPI Server (uvicorn, port 3377) │
│ │
│ /api/queue ──► observation_queue table │
│ /api/observations ──► CRUD + hybrid search │
│ /api/sessions ──► session lifecycle │
│ /api/admin ──► stats, re-embed │
│ │
│ Queue Worker (background asyncio task) │
│ ├─ Dequeue pending items (FOR UPDATE SKIP LOCKED) │
│ ├─ Generate observation via LLM (local GGUF → Haiku) │
│ ├─ Embed via sentence-transformers (in-process) │
│ └─ Insert into mem_observations with vector │
└──────────────┬──────────────────────────────────────────┘
│
┌──────────────▼──────────────────────────────────────────┐
│ MCP Server (stdio, separate process) │
│ Registered in ~/.claude/.mcp.json │
│ │
│ Tools: search, timeline, get_observations, save_memory │
│ Own DB pool + embedding model (zero FastAPI deps) │
└──────────────┬──────────────────────────────────────────┘
│
┌──────────────▼──────────────────────────────────────────┐
│ PostgreSQL 16 + pgvector │
│ Native (Homebrew, launchd) or Docker container │
│ Tables: mem_* prefixed (avoids collisions) │
└─────────────────────────────────────────────────────────┘
Every tool call in your coding session is captured:
/api/queueFOR UPDATE SKIP LOCKEDSearch past sessions via MCP tools (3-layer workflow):
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations