添加 Memory Gateway Agent skill及其 CLI 实现,支持用户资源管理和记忆操作
This commit is contained in:
19
README.md
19
README.md
@ -593,6 +593,25 @@ Gateway 内部通过 `core/everos_client.py` 调用 EverOS:
|
||||
- `search_memory(payload)` -> `POST /api/v1/memory/search`
|
||||
- `health_check()` -> `GET /health`
|
||||
|
||||
## AI Agent Skill
|
||||
|
||||
项目提供可供 AI Agent 使用的 Skill:
|
||||
|
||||
```text
|
||||
skill/memory-gateway-agent
|
||||
```
|
||||
|
||||
其中 `SKILL.md` 定义 Agent 工作流,`scripts/memory_gateway.py` 提供无额外依赖的命令行客户端,`references/api.md` 提供完整参数说明。使用前设置:
|
||||
|
||||
```bash
|
||||
export MEMORY_GATEWAY_BASE_URL=http://127.0.0.1:8010
|
||||
export MEMORY_GATEWAY_USER_ID=u_123
|
||||
export MEMORY_GATEWAY_USER_KEY=uk_xxx
|
||||
|
||||
python skill/memory-gateway-agent/scripts/memory_gateway.py health
|
||||
python skill/memory-gateway-agent/scripts/memory_gateway.py list-resources
|
||||
```
|
||||
|
||||
## 运行测试
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user