io.github.jyswee/agenticmemory
io.github.jyswee/agenticmemory
Persistent memory for AI agents — history, context, semantic search, queues. 46 tools, stdio/SSE.
- context_delete — Delete a context key.
- context_get — Get a context value by key.
- context_list — List all context keys and values in a space.
- context_set — Set a key-value context entry. Stores structured data (JSON or string).
- entities_list — List entities in a memory space, optionally filtered.
- entity — Entity (knowledge-graph node) operations: upsert (create), get, update, delete.
- entries_add_batch — Append multiple journal entries in one call.
- entries_list — List long-term memory entries. Filter by tags.
- entry — Single-entry operations on the tagged/versioned journal: add, get, update, versions, restore.
- knowledge — Knowledge-base operations: create (with documents), list, delete, query (smart retrieval).
- kv_hash — Hash operations (Redis-hash semantics, write-through durable): set, get (whole hash), keys, get_field, del_field, delete, setnx (atomic set-if-absent), cas (atomic compare-and-set).
- kv_set — Set operations (Redis-set semantics): add, members (with size), contains, remove, delete.
- kv_string — String operations with optional TTL (survives rebuild): set, get (includes remaining ttlMs), delete.
- memory_bootstrap — Load full context in one call: recent messages, entries, context, scratchpad. Run this at session start.
- memory_bootstrap_batch — Parallel bulk fetch: named context keys, entities, and optional semantic results in one call.
- memory_clear — Clear all messages in a memory space.
- memory_recall — Recall recent messages from conversation history. Returns newest first.
- memory_search — Semantic search across past conversations. Finds by meaning, not keywords.
- memory_store — Store a message in conversation history. Use for remembering what just happened.
- memory_store_batch — Store multiple messages at once.
- queue_ack — Acknowledge a leased envelope (deletes it permanently).
- queue_dlq — Dead-letter queue operations: push a failed envelope, or list DLQ items.
- queue_lease — Non-destructive lease (at-least-once): take the oldest envelope with a visibility timeout. Returns {item, leaseToken, deadline}. Ack with queue_ack, requeue with queue_nack.
- queue_nack — Negative-acknowledge a leased envelope (requeues it to the tail).
- queue_peek — Peek at a queue without consuming: returns length and the head envelope.
- queue_pop — Dequeue the oldest envelope from a FIFO queue (returns null if empty). Set wait (max 25s) to long-poll for the next envelope.
- queue_push — Enqueue a JSON envelope onto a FIFO queue in a memory space. Use to send work/events to other agents sharing the space.
- scratchpad_get — Get the scratchpad content from a memory space.
- scratchpad_set — Set the scratchpad content for a memory space (ephemeral working memory).
- shared_memory — Shared world-memory (one-write, all-see) operations: set, get, list, delete.
- space_export — Export all data in a space (all primitives, schema v2) as a restorable payload.
- space_import — Restore a space from an export payload. Mode: empty-only (default), merge, or replace.
- spaces_create — Create a new memory space.
- spaces_get — Get a single memory space (config, usage counters).
- spaces_list — List all memory spaces owned by this API key.
- state_get — Get a space's single JSON state snapshot.
- state_set — Replace a space's single JSON state snapshot.
- stream_append — Append an entry to a stream (XADD). Returns the entry ID.
- stream_delete — Delete a stream entirely (hot + durable) — irreversible.
- stream_group — Consumer-group operations on a stream: create, destroy, read (XREADGROUP), ack (XACK), pending (XPENDING), claim (XCLAIM/XAUTOCLAIM).
- stream_info — Stream info: length and consumer groups (XLEN + XINFO GROUPS).
- stream_read — Ranged read from a stream (XRANGE/XREVRANGE).
- thread — Thread (conversation grouping) operations: create, get, update, delete.
- threads_list — List threads in a memory space, optionally filtered by status.
- usage_get — Get current usage vs plan limits for the authenticated tenant.
- webhook — Per-space webhook subscriptions: create, list, delete.