Current collected state Current
Observed since 20 Oct, 22:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Persistent memory for AI agents — store, retrieve, and recall context across sessions.
Persistent memory for AI agents. Store, semantically retrieve, and recall context across sessions. Pure standard library (no required dependencies).
pip install agentmemo
from agentmemo import MemoryClient
# Get a free key (or pass an existing one)
key = MemoryClient.signup("my-agent")["api_key"]
mem = MemoryClient(key)
# Store
mem.store(
user_id="user_123",
agent_id="assistant",
content="User prefers dark mode and works in TypeScript.",
tags=["preference"],
importance=8,
)
# Retrieve semantically
hits = mem.search(user_id="user_123", query="what are the user's preferences?")
# Context for an LLM system prompt
ctx = mem.context(user_id="user_123", format="anthropic")["context"]
store(user_id, agent_id, content, metadata=None, ttl_seconds=None, tags=None, namespace="default", importance=5, outcome="unknown", detect_conflicts=False)search(user_id, query, agent_id=None, limit=10, namespace=None, tags=None, min_importance=None)delete(id=None, user_id=None, agent_id=None)context(user_id, agent_id=None, max_tokens=2000, format="raw")feedback(memory_id, outcome, confidence=1.0)batch(memories)stats(user_id=None), usage()MemoryClient.signup(name) — static, returns a free API keyawait mem.async_store(...), await mem.async_search(...) (requires pip install agentmemo[async])Errors raise AgentMemoError with .status, .code, .body.
Docs: https://agentmemo.dev/docs · Apache-2.0 · Built by Dr. Nadeem Shaikh
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0 | 18 Jun 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:1b76176562e783b61d5044df5922624564183217c6a99596bada2434aab34667