mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-22 01:48:11 +00:00
docs: fix documentation-source mismatches across all doc files
- Go version: 1.19+/1.21+ → 1.25+ (matches go.mod) - document/doc.go → document/document.go (actual filename) - PluginSDK: 3 channels → 4 channels (add RegisterOutputChannel) - InjectInput/InjectInterrupt: 3 params → 4 params (add eventType) - RegisterChannel: document agentIO.Device interface requirement - Architecture: remove non-existent snapshot/tokenizer dirs, add skill/meta - Architecture: fix double internal/internal/sdk, fix Jaccard threshold - Adapter: add http_get/http_post Lua VM built-ins - Knowledge: 4-layer → 3-layer memory, CGO for go-sqlite3 not overlayfs - Code structure tree: fix sdk/ and lua/adapters/ path consistency
This commit is contained in:
@ -30,8 +30,8 @@ HomeAgent 采用内核 + 插件双层架构:
|
||||
## 核心特性
|
||||
|
||||
### 内核
|
||||
- **LLM 引擎**:多 Provider 自动故障转移,8 个适配器(DeepSeek/Anthropic/Gemini/GitHub/Groq/Mistral/Ollama/OpenAI),自动降级
|
||||
- **记忆系统**:四层记忆架构——图记忆(实体+关系)、文档记忆、文本记忆、社交记忆,向量索引检索
|
||||
- **LLM 引擎**:多 Provider 自动故障转移,8 个适配器(Anthropic/DeepSeek/Gemini/GitHub/Groq/Mistral/Ollama/OpenAI),自动降级
|
||||
- **记忆系统**:三层记忆架构——上下文记忆(Context)、文档记忆(Document)、图记忆(Graph,实体+关系),向量索引检索;文本记忆与社交记忆为辅助存储
|
||||
- **上下文管理**:自动剪枝低相关性事件,蒸馏重要信息写入长期记忆,有效防止上下文膨胀和记忆衰减
|
||||
- **工具调度**:同质阶段并行执行,支持 pre_action/post_action/on_input 等生命周期钩子
|
||||
- **事件总线**:发布/订阅模式,插件间松耦合通信
|
||||
@ -49,8 +49,8 @@ HomeAgent 采用内核 + 插件双层架构:
|
||||
- 文件变更追踪基于 overlayfs 实现
|
||||
|
||||
## 技术栈
|
||||
- 语言:Go 1.19+
|
||||
- 构建:标准 Go toolchain,CGO_ENABLED=1(overlayfs 依赖)
|
||||
- 语言:Go 1.25+
|
||||
- 构建:标准 Go toolchain,CGO_ENABLED=1(go-sqlite3 依赖)
|
||||
- 插件:Go -buildmode=plugin
|
||||
- LLM 适配:Lua 胶水层,8 个适配器
|
||||
- 搜索:内置 TF-IDF 向量化器
|
||||
Reference in New Issue
Block a user