Mnemoverse Sdk Python
БесплатноНе проверенPython SDK for Mnemoverse — persistent memory API for AI agents. Works with Claude, Cursor, ChatGPT, and any MCP client.
Описание
Python SDK for Mnemoverse — persistent memory API for AI agents. Works with Claude, Cursor, ChatGPT, and any MCP client.
README
PyPI version Python versions License: MIT Research: SLoD arXiv
Mnemoverse Python SDK
Persistent memory for AI agents. Not vector search — statistical learning backed by Hebbian associations.
Installation
pip install mnemoverse
Quick Start
export MNEMOVERSE_API_KEY=mk_live_YOUR_KEY
from mnemoverse import MnemoClient
client = MnemoClient()
# or pass it explicitly — an explicit api_key always wins over the environment:
# client = MnemoClient(api_key="mk_live_YOUR_KEY")
# Store a memory
result = client.write(
"Retry with exponential backoff fixed the timeout issue",
concepts=["retry", "backoff", "timeout"]
)
# Query — Hebbian associations expand "timeout" → "retry", "backoff"
memories = client.read("how to handle timeouts?")
# Report outcome — the system learns what works
client.feedback(
atom_ids=[item.atom_id for item in memories.items],
outcome=1.0,
query_concepts=memories.query_concepts
)
Closing the client
MnemoClient holds a background event loop and a pooled HTTP connection, so
close it when a script is done. Use it as a context manager,
with MnemoClient() as client:, to close automatically on exit, or call
client.close() directly. A client left unclosed closes itself at
interpreter exit, which is a fallback rather than something to rely on.
Async Client
from mnemoverse import AsyncMnemoClient
async with AsyncMnemoClient(api_key="mk_live_YOUR_KEY") as client:
result = await client.write("async memory", concepts=["async"])
memories = await client.read("what about async?")
Features
- Circuit breaker — 5 failures → open → 30s half-open → probe
- Retry with backoff — 3 attempts, rate-limit-aware
- Sync + async —
MnemoClientfor scripts,AsyncMnemoClientfor FastAPI - Type-safe — Pydantic models, full type hints
Methods
| Method | Description |
|---|---|
write(content, concepts, domain, metadata) |
Store a memory |
write_batch(items) |
Store up to 500 memories |
read(query, top_k, domain, since, until, order_by, exclude_author) |
Semantic search — "what do I know about X" |
recent(domain, since, until, exclude_author, limit, cursor) |
Newest-first feed — "what happened lately" |
feedback(atom_ids, outcome) |
Report success/failure |
stats() |
Memory statistics |
health() |
API health check |
Every method exists on both MnemoClient (sync) and AsyncMnemoClient (async).
Search or feed?
read() answers what do I know about X and ranks by relevance. recent()
answers what happened lately and is complete within one scope by
construction — nothing is skipped, which a semantic search cannot promise.
Reach for recent() to resume after a break or to catch up on a shared room.
from mnemoverse import MnemoClient
client = MnemoClient(api_key="mk_live_...")
# Catch up on a shared room. Rooms are SEPARATE stores: pass the address as
# `domain`, or an unscoped feed will not cover them.
page = client.recent(domain="xroom:room_01ABC", since="2026-08-01T00:00:00Z", limit=20)
for item in page.items:
print(item.created_at, item.content)
if page.next_cursor:
page = client.recent(domain="xroom:room_01ABC", cursor=page.next_cursor)
Read items carry created_at and provenance (who wrote it, where from).
Documentation
License
MIT
Установка Mnemoverse Sdk Python
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/mnemoverse/mnemoverse-sdk-pythonFAQ
Mnemoverse Sdk Python MCP бесплатный?
Да, Mnemoverse Sdk Python MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mnemoverse Sdk Python?
Нет, Mnemoverse Sdk Python работает без API-ключей и переменных окружения.
Mnemoverse Sdk Python — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Mnemoverse Sdk Python в Claude Desktop, Claude Code или Cursor?
Открой Mnemoverse Sdk Python на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovOpencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
Compare Mnemoverse Sdk Python with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
