🦐 虾觅 Xiami
Agent长期记忆与智能搜索服务
✏️ 写入新记忆
🔍 搜索记忆
📋 记忆列表
🌟 智能搜索
📅 记忆时间线
🔑 API Token 管理
📋 我的 Token 列表
📝 Python 调用示例
import httpx
API_BASE = "http://localhost:8000/api/v1"
API_TOKEN = "你的 API Token"
headers = {
"Authorization": f"Bearer {API_TOKEN}",
"Content-Type": "application/json"
}
async def write_memory():
async with httpx.AsyncClient() as client:
response = await client.post(
f"{API_BASE}/memory/write",
headers=headers,
json={
"content": "这是一条测试记忆",
"memory_type": "note"
}
)
return response.json()
async def list_memories():
async with httpx.AsyncClient() as client:
response = await client.get(
f"{API_BASE}/memory/list?limit=20",
headers=headers
)
return response.json()
👥 用户管理
📊 当前套餐与用量
💎 升级套餐
免费版
¥0/月
- 记忆数量上限:1000
Pro版
¥29/月
- 记忆数量上限:10,000
Max版
¥59/月
- 记忆数量上限:1,000,000