Current collected state Current
Observed since 20 Oct, 22:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Portable binary graph memory for AI agents
Python SDK for AgenticMemory -- portable binary graph memory for AI agents. 16 query types, zero dependencies.
pip install agentic-brain
pip install agentic-brain[anthropic] # Claude
pip install agentic-brain[openai] # GPT
pip install agentic-brain[ollama] # Local models
pip install agentic-brain[all] # All providers
from agentic_memory import Brain
brain = Brain("my_agent.amem")
brain.add_fact("User is a Python developer", session=1)
brain.add_decision("Recommended FastAPI for REST APIs", session=1)
print(brain.facts())
print(brain.info())
Nine new methods added in v0.2.0:
brain = Brain("my_agent.amem")
# Retrieval
results = brain.search_text("API rate limit") # BM25 (1.58 ms @ 100K)
results = brain.search("caching strategy", top_k=10) # Hybrid BM25+vector (10.83 ms)
# Structural analysis
scores = brain.centrality(metric="pagerank") # PageRank (34.3 ms @ 100K)
path = brain.shortest_path(src=42, dst=99) # BFS (104 us @ 100K)
# Cognitive reasoning
report = brain.revise(node_id=42) # Counterfactual cascade (53.4 ms)
gaps = brain.gaps() # Find reasoning weaknesses
matches = brain.analogy(node_id=42, top_k=5) # Structural pattern matching
# Graph maintenance
report = brain.consolidate(dry_run=True) # Dedup, contradiction linking
drift = brain.drift() # Belief evolution tracking (68.4 ms)
from agentic_memory import Brain, MemoryAgent
from agentic_memory.integrations import AnthropicProvider
brain = Brain("my_agent.amem")
agent = MemoryAgent(brain, AnthropicProvider())
response = agent.chat("My name is Alice. I work on ML systems.", session=1)
response = agent.chat("What do I work on?", session=2)
104 tests across 8 modules, including 20 tests for the v0.2 query expansion methods.
amem binary (Rust core engine) -- install via cargo install agentic-memoryMIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.0 | 25 Feb 2026 | 6 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:aca4a580b6bfcb681a1387ae043d0620565b2510bf4381fff0491e71ca85f13e