Catalog PyPI
PACKAGE EXPLORERView in registry

agentmemory-client-nullwinters

PyPI

AgentMemory 微服务的 Python 客户端 SDK

agentmemoryai-agentclientmemorysdk
Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 22:40 UTC

README

Version 0.1.0 documentation

agentmemory-client

AgentMemory 微服务的 Python 客户端 SDK。提供三层记忆(会话/用户/Agent)的便捷访问接口。

安装

pip install agentmemory-client

快速开始

from agentmemory import MemoryClient

client = MemoryClient("http://localhost:8080", api_key="dev-secret")

# 注册 Agent
client.setup(agent_id="book_bot", persona="你是书籍推荐助手")

# 开始会话
session = client.session_start(agent_id="book_bot", user_id="zhang")

# 对话
session.add_message(role="user", content="推荐一本 Python 书")
ctx = session.inject_context(query="推荐一本 Python 书")

# ctx.to_messages() 返回标准 OpenAI 消息格式,可直接传入 LLM

API

端点说明
MemoryClient.setup()注册/更新 Agent
MemoryClient.session_start()创建会话
Session.add_message()追加消息
Session.inject_context()注入三层记忆上下文
MemoryClient.search_user_memories()语义/全文检索用户记忆
MemoryClient.get_user_profile()获取用户画像
MemoryClient.health()健康检查

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.05 Aug 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
nullwinters/agentmemorymanager

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2430f954cf5a1f36e2f8573fd08f83f2f323d8b5f6943526ee7459ca831cbda5