New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

agmry

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agmry

Agentic Memory CLI — persistent memory for AI agents. As easy as git.

Source
npmnpm
Version
1.5.0
Version published
Weekly downloads
58
52.63%
Maintainers
1
Weekly downloads
 
Created
Source

agmry — Agentic Memory CLI

Persistent memory for AI agents. As easy as git.

npm install -g agmry

Quick Start

# Setup (agent runs once, human pays $1 via emailed link)
agmry signup my-project --email joe@company.com --local

# Store memory
agmry store SPACE_ID "User prefers dark mode"
agmry store SPACE_ID "Deployed v2.1 to production" -r assistant

# Recall recent messages
agmry recall SPACE_ID
agmry recall SPACE_ID -n 50 --json

# Semantic search
agmry search SPACE_ID "what was the deadline"

# Key-value context
agmry ctx SPACE_ID set user_prefs '{"theme":"dark","lang":"en"}'
agmry ctx SPACE_ID get user_prefs

# Long-term entries
agmry entry SPACE_ID "Project architecture" "Monorepo with 3 services" --tags "arch,decisions"
agmry entries SPACE_ID --tags "decisions"

# Load everything at session start
agmry boot SPACE_ID --json

Agent Instructions

Add to your agent instructions (.cursorrules, .clinerules, .windsurfrules, etc.):

## Agentic Memory
Use the agmry CLI for persistent memory across sessions.
Key is in .agmry/config.json (auto-loaded).

agmry store SPACE "what happened"     # remember something
agmry recall SPACE                     # what was said recently
agmry search SPACE "the deadline"     # find past context
agmry ctx SPACE set key "value"       # store structured data
agmry boot SPACE --json                # load everything at session start

Config Priority

  • --key flag
  • AGMRY_API_KEY environment variable
  • AGENTICMEMORY_API_KEY environment variable
  • ./.agmry/config.json (project-local)
  • ~/.agmry/config.json (global)

All Commands

Run agmry --help for the full reference.

CommandDescription
agmry signup <slug>Create account ($1 verification)
agmry loginSave API key
agmry spacesList memory spaces
agmry space create "name" slugCreate space
agmry store <SPACE> "msg"Store message
agmry recall <SPACE>Recall messages
agmry search <SPACE> "query"Semantic search
agmry ctx <SPACE> set key "val"Set context
agmry ctx <SPACE> get keyGet context
agmry entry <SPACE> "title" "content"Add long-term entry
agmry entries <SPACE>List entries
agmry entity <SPACE> "name"Add entity
agmry scratch <SPACE>Get scratchpad
agmry boot <SPACE>Bootstrap full context
agmry statusDashboard overview
agmry healthAPI health check

Flags

  • --json — Machine-readable JSON output (for agent parsing)
  • --key KEY — Override API key
  • --url URL — Override base URL (default: https://agenticmemory.ai)

3-Tier Memory

  • Short-term (messages) — sub-millisecond reads
  • Medium-term (search) — semantic search across past conversations
  • Long-term (entries) — auto-summarised knowledge across months

Why Agentic Memory vs Claude Memory

Claude Memory is great — but it only works with Claude. If you switch LLMs, you lose everything.

Agentic MemoryClaude Memory
LLM supportAny — GPT, Claude, Gemini, Llama, Mistral, DeepSeekClaude only
Switch LLMsKeep all memoryLose everything
Multi-agentShared memory across agentsSingle user
Data ownershipYou own it. EU / US / regional.Stored by Anthropic (US)
Programmatic controlFull CLI + APIBlack box — Claude decides
Structured dataMessages + KV context + entries + entities + scratchpadFree-text notes
Semantic searchagmry search "the deadline"No search API
Agent-to-agent sharingWorld memory across agentsNot possible
Cost$1 one-time, then freeBundled in Claude Pro ($20/mo)

"Claude Memory works for Claude. Agentic Memory works for everything."

MCP Server

Run agmry mcp-serve to start a stdio MCP server. Add to your .mcp.json:

{
  "mcpServers": {
    "agenticmemory": {
      "type": "stdio",
      "command": "agmry",
      "args": ["mcp-serve"]
    }
  }
}

14 tools: memory_store, memory_recall, memory_search, memory_bootstrap, context_set, context_get, entry_add, entries_list, spaces_list, spaces_create, and more.

Built by Tyga.Cloud Ltd. Copyright 2024-2026.

Keywords

agenticmemory

FAQs

Package last updated on 13 Jul 2026

Related posts