Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By balaji-g42v3.4.4MITIn 1 marketplace
Persistent, semantically searchable agent memory backed by Qdrant or PostgreSQL/pgvector, with memory-first session hooks and a mandatory commit-logging Stop hook.
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Storestore
local: hive for this machine only, needs Docker. cloud: hive for all your machines, self-hostable pREST. Used only when ~/mcp/project-agent-memory/config.json does not exist yet.
One of local, cloud
stringdefault cloud
pREST URLprest_url
Cloud only. Base URL of your pREST server, for example https://pg-mem.example.com
string
pREST admin nameprest_admin
Cloud only. Admin user that registers queries.
stringdefault admin
pREST JWT keyprest_jwt_key
Cloud only. JWT signing key of your pREST server.
Sensitivestring
pREST databaseprest_database
Cloud only. Database name.
stringdefault memory
A TypeScript MCP (Model Context Protocol) server that gives a coding agent persistent project memory - context, decisions, progress and patterns - backed by PostgreSQL with pgvector, reached through pREST.
memory_create, memory_read, memory_update, memory_delete, memory_context, memory_graph, memory_admin, code_graphX-Vector header (registered pREST queries can't carry them as URL params without hitting HTTP 414). Run it locally in Docker or on a server shared by all your machinesprivate; versioned writes, archived deletes. See Hive memory@huggingface/transformers; no embedding service, no API key, nothing leaves the machine except the backend writesVECTOR_DIM (default 768), Matryoshka-truncated and re-normalizedonnx, openai (any OpenAI-compatible endpoint - Ollama, LM Studio, vLLM, LiteLLM, OpenAI itself), gemini, openrouternpx: no global install, no long-running servicePOOL_SIZE, shared across backends), LRU caches for embeddings and queries, cache invalidation on writevector (pgvector) extension and a pREST instance in front of itonnx providerRun one command in a terminal:
npx -y [email protected] setup
On Linux x64, prefix it with ONNXRUNTIME_NODE_INSTALL_CUDA=skip. PAM embeds on the CPU, and without the prefix onnxruntime-node tries to download a GPU add-on whose link is gone, so the install fails.
The wizard runs in four steps. Answer each question with its number, or Enter for the default. Nothing is changed until you confirm in step 3. PAM installs as a Claude Code plugin only, because its hooks need it.
Check this machine - Node.js 18+, the claude CLI and Docker. A missing claude CLI stops the wizard with how to fix it.
Storage - PostgreSQL with pgvector behind pREST:
~/mcp/project-agent-memory/stack/pgvector/ and generates its secrets.memory) and the admin name (default admin).Local is the default when Docker is running, otherwise Cloud. If ~/mcp/project-agent-memory/config.json exists, you choose 1) replace or 2) cancel and exit.
Review - lists every file it will write and every command it will run. Answer 2) no to stop with nothing changed.
Install and verify - starts the local store if chosen, writes config.json, installs the plugin (claude plugin marketplace add and claude plugin install), removes old mcp-mode entries and hooks (with backups), and checks the store with a test read.
Restart Claude Code when it prints Done. Running npx -y project-agent-memory with no arguments in a terminal, with no config.json yet, also starts the wizard.
Flags skip the matching question. With --yes, every other question takes its default.
| Flag | Values |
|---|---|
--target | local or cloud |
--prest-url, --prest-jwt-key, --prest-database, --prest-admin | cloud pREST |
--replace-memory | replace an existing config.json without asking |
--modify | with one or more --prest-* flags: change only those keys in config.json (old copy kept as .bak) |
--yes | no prompts |
Setup does all of this for you. Install by hand only if you cannot run it; you need a reachable store, see Setup below.
Bundles the MCP server, the agent skill, and memory-first session hooks (detects git commit, nudges the agent to log it, hard-blocks Stop until it does) in one install.
The repo is its own marketplace (balaji-g42). Inside Claude Code:
/plugin marketplace add balaji-g42/project-agent-memory
/plugin install pam@balaji-g42
Installing from /plugin opens a dialog (needs Claude Code v2.1.271 or later):
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub balaji-g42/project-agent-memory --plugin pam