Skip to content
rohitg00 avatar

Agentmemory Rest Api

The HTTP REST API surface for agentmemory, the primary protocol for memory operations on localhost.

CCM score
72 of 100
skills.sh installs
11.9K
GitHub stars
30.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the primary HTTP surface for agentmemory, with every memory operation exposed under /agentmemory/* endpoints
  • Includes a liveness check, save and recall examples, and documented conventions for status codes and default ports
  • Requires a Bearer secret on every endpoint except liveness, so requests without the header get 401
  • Designed for calling agentmemory over HTTP, falling back when MCP is unavailable, or integrating hosts without MCP

Install

$ npx -y skills add rohitg00/agentmemory --skill agentmemory-rest-api -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

REST is agentmemory's primary surface. MCP is a bridge on top of it. Every memory operation has an HTTP endpoint under http://localhost:3111/agentmemory/*.

Quick start

# liveness
curl -fsS http://localhost:3111/agentmemory/livez

# For this fixed loopback URL only. Do not print the value or enable shell tracing.
agentmemory_secret="${AGENTMEMORY_SECRET:-$(cat "$HOME/.agentmemory/secret")}"
test -n "$agentmemory_secret" || exit 1

# save
curl -fsS -X POST http://localhost:3111/agentmemory/remember \
  -H "Authorization: Bearer $agentmemory_secret" \
  -H "Content-Type: application/json" \
  -d '{"content":"chose JWT refresh rotation","concepts":["jwt-refresh-rotation"]}'

# recall
curl -fsS -X POST http://localhost:3111/agentmemory/smart-search \
  -H "Authorization: Bearer $agentmemory_secret" \
  -H "Content-Type: application/json" \
  -d '{"query":"auth token strategy","limit":5}'

Auth

Details

Repository
github.com/rohitg00/agentmemory
Categories
Memory & Context, Backend & APIs
First seen
Jul 14, 2026

Questions

What is the agentmemory REST API skill for?

The agentmemory-rest-api skill covers the HTTP REST surface of the agentmemory memory server, which is its primary protocol. Agents use it to save memories and recall them through endpoints under localhost port 3111, and it is the fallback when MCP is unavailable.

How do I install the agentmemory-rest-api skill?

Run npx -y skills add rohitg00/agentmemory --skill agentmemory-rest-api -y in your project. After that, the agent can call the agentmemory HTTP endpoints, such as /remember to save and /smart-search to recall.

Does the agentmemory REST API need authentication?

Yes, every endpoint except liveness requires an Authorization Bearer header with the agentmemory secret, even on localhost. The secret comes from AGENTMEMORY_SECRET or a generated local secret file, and requests without it receive a 401 response.

Where does agentmemory-rest-api rank in the Memory & Context category?

The skill ranks in the top 50 on the Memory & Context category page of Claude Marketplaces. It sits alongside handoff and the caveman skills, and it stands apart by documenting the REST endpoints for saving and recalling memories over HTTP.

More from rohitg00/agentmemory

All 15

Similar to Agentmemory Rest Api

More Memory & Context