memoryweave/README.md

51 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 织忆 (MemoryWeave) — 独立记忆基础设施
> **Go + Rust 双二进制架构** | port 7821 | 版本 v0.1.0-dev
织忆是多 Agent 系统的共享记忆层。
```
zhiyid (Go daemon, port 7821)
├── REST API / WebSocket
├── 蒸馏引擎 / 冲突治理
├── Redis 事件流
└── 调用 zhiyi-consolidate
zhiyi-consolidate (Rust binary, systemd timer)
├── LanceDB 原生读写
├── DBSCAN 聚类 / 衰减回归
├── Embedding + Rerank 管线
└── → 结果写回 LanceDB
```
## 快速开始
```bash
# 构建
make build
# 安装
sudo make install
# 验证
curl http://localhost:7821/health
```
## 文档
- [设计文档](DESIGN.md) — 完整架构设计 v3.8
- [实施计划](IMPLEMENTATION.md) — 里程碑与任务
- [API 参考](docs/api.md)
## 语言分工
| 组件 | 语言 | 原因 |
|------|------|------|
| HTTP API + 业务逻辑 | Go | goroutine 高并发,单二进制 |
| LanceDB + 向量管线 | Rust | 原生 `lancedb` crate零 FFI |
| Embedding/Rerank | Rust | Candle/ort 推理 |
## 仓库
Gitea: http://192.168.123.11:3000/xiaoxue_admin/memoryweave