Loading...
Loading...
The agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over HTTP, when MCP is unavailable and you need a fallback, or when integrating a host that does not speak MCP.
npx skill4agent add rohitg00/agentmemory agentmemory-rest-apihttp://localhost:3111/agentmemory/*# liveness
curl -fsS http://localhost:3111/agentmemory/livez
# save
curl -X POST http://localhost:3111/agentmemory/remember \
-H "Content-Type: application/json" \
-d '{"content":"chose JWT refresh rotation","concepts":["jwt-refresh-rotation"]}'
# recall
curl -X POST http://localhost:3111/agentmemory/smart-search \
-H "Content-Type: application/json" \
-d '{"query":"auth token strategy","limit":5}'AGENTMEMORY_SECRETAuthorization: Bearer $AGENTMEMORY_SECRET201200400--port--instancesrc/triggers/api.ts