Skip to content

Commit f7e5ced

Browse files
author
linyuan.yang
committed
readme
1 parent e10df23 commit f7e5ced

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ Configuration and data are persisted in `~/.sbot` on the host.
5252
- **Multiple LLM providers** — OpenAI, Anthropic Claude, Google Gemini, Ollama, and any OpenAI-compatible API (Azure OpenAI, Groq, Mistral, DeepSeek, etc.)
5353
- **Multi-agent orchestration** — ReAct recursive task decomposition + Generative multimodal, agents can be nested and composed
5454
- **Knowledge base** — Built-in wiki system with automatic document extraction and semantic search, referenced by agents during conversations
55-
- **Long-term memory** — Full extract → compress pipeline with vector-embedding semantic search
56-
- **MCP tools** — Standard MCP protocol (stdio/HTTP), connect to any MCP tool ecosystem
57-
- **Multiple channels** — Web UI, CLI, Lark/Feishu, Slack, WeCom, WeChat, REST API, WebSocket
55+
- **Long-term memory** — Vector-embedding semantic search for persistent context recall
56+
- **Conversation compaction** — Automatic conversation summarization when token usage exceeds threshold, preserving continuity while reducing consumption
57+
- **Insight system** — Automatic knowledge extraction from conversations into wiki and memory
58+
- **ACP agent support** — Agent Client Protocol integration with persistent and transient agent modes
59+
- **MCP tools** — Standard MCP protocol (stdio/SSE), connect to any MCP tool ecosystem
60+
- **Multiple channels** — Web UI, CLI, Lark/Feishu, Slack, WeCom, WeChat, OneBot (QQ), XiaoAI, REST API, WebSocket
5861
- **Built-in tools** — Shell execution, file system, archive operations, media file read, Python/PowerShell inline execution, cron scheduler, todo tasks
5962
- **Skills** — Installable prompt modules, remote install from skills.sh / Clawhub
6063
- **Token usage tracking** — Built-in consumption statistics with real-time visibility
@@ -104,12 +107,10 @@ Choose a mode:
104107

105108
**5. (Optional) Enable Wiki Knowledge Base** — sidebar → **Wiki** → New
106109

107-
Built-in knowledge base. Create pages manually (title + content + tags) or let the agent auto-extract knowledge from conversations. Auto-extraction requires an extractor model. Assign wikis to a session or channel; agents can search, read, and create pages via built-in tools.
110+
Built-in knowledge base. Create pages manually (title + content + tags) or let the insight system auto-extract knowledge from conversations. Assign wikis to a session or channel; agents can search, read, and create pages via built-in tools.
108111

109112
| Field | Description |
110113
|-------|-------------|
111-
| Extractor | LLM model for auto-extracting knowledge from conversations |
112-
| Auto-extract | When enabled, the agent extracts valuable knowledge after each reply |
113114
| Shared | Off = per-thread wiki; On = shared across all threads |
114115

115116
---
@@ -123,8 +124,6 @@ Requires an embedding model first (sidebar → **Embeddings** → New). Then ass
123124
| Mode | `read_only` / `human_only` (user messages) / `human_and_ai` (full conversation) |
124125
| Max age (days) | Auto-expire memories after N days |
125126
| Embedding | Embedding model for semantic search (OpenAI, Azure, Ollama) |
126-
| Extractor | Extracts key facts from conversation |
127-
| Compressor | Merges similar memories to reduce redundancy |
128127
| Shared | Off = per-thread memory; On = shared across all threads |
129128

130129
---
@@ -135,7 +134,7 @@ Sidebar → **MCP** → New
135134

136135
Add a server:
137136
- **stdio** — command + args (e.g. `npx -y some-mcp-package`)
138-
- **http** — remote URL + optional headers
137+
- **sse** — remote URL + optional headers
139138

140139
Supports global servers shared across all agents and per-agent overrides. Servers auto-restart on failure. Then open an agent → MCP tab to attach the servers you want it to use.
141140

@@ -268,4 +267,4 @@ WeChat integration connects via the iLink Bot API, with file and image support.
268267

269268
## Keywords
270269

271-
`ai agent` `self-hosted` `llm server` `open source` `mcp` `model context protocol` `multi-agent` `react agent` `openai` `claude` `anthropic` `ollama` `chatbot` `lark` `feishu` `long-term memory` `vector search` `typescript` `node.js`
270+
`ai agent` `self-hosted` `llm server` `open source` `mcp` `acp` `model context protocol` `multi-agent` `react agent` `openai` `claude` `anthropic` `gemini` `ollama` `chatbot` `lark` `feishu` `onebot` `qq` `long-term memory` `vector search` `typescript` `node.js`

README.zh.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ docker run -d \
5252
- **多 LLM 供应商** — OpenAI、Anthropic Claude、Google Gemini、Ollama,以及任何 OpenAI 兼容接口(Azure OpenAI、Groq、Mistral、DeepSeek 等)
5353
- **多 Agent 编排** — ReAct 递归任务分解 + Generative 多模态生成,Agent 可嵌套组合
5454
- **知识库** — 内置 Wiki 系统,支持文档自动提取和语义搜索,Agent 对话中自动引用
55-
- **长期记忆** — 完整的提取 → 压缩流水线,基于向量 Embedding 进行语义检索
56-
- **MCP 工具** — 标准 MCP 协议(stdio/HTTP),接入任意 MCP 工具生态
57-
- **多渠道接入** — Web UI、CLI、飞书/Lark、Slack、企业微信、微信、REST API、WebSocket
55+
- **长期记忆** — 基于向量 Embedding 的语义检索,持久化上下文记忆
56+
- **对话压缩** — Token 用量超阈值时自动摘要压缩,保持上下文连续性的同时降低消耗
57+
- **洞察系统** — 自动从对话中提取知识到 Wiki 和 Memory
58+
- **ACP Agent 支持** — Agent Client Protocol 集成,支持持久化和临时两种 Agent 模式
59+
- **MCP 工具** — 标准 MCP 协议(stdio/SSE),接入任意 MCP 工具生态
60+
- **多渠道接入** — Web UI、CLI、飞书/Lark、Slack、企业微信、微信、OneBot (QQ)、小爱音箱、REST API、WebSocket
5861
- **内置工具** — Shell 执行、文件系统、归档操作、媒体文件读取、Python/PowerShell 内联执行、Cron 调度、待办事项
5962
- **技能系统** — 可安装的 Prompt 模块,支持从 skills.sh / Clawhub 远程安装
6063
- **Token 用量追踪** — 内置消耗统计,实时可见
@@ -104,12 +107,10 @@ docker run -d \
104107

105108
**5. (可选)开启 Wiki 知识库** — 侧栏 → **Wiki** → 新建
106109

107-
内置知识库系统,可手动创建词条(标题 + 内容 + 标签),也可由 Agent 在对话中自动提取知识。自动提取需配置一个提取模型(Extractor)。创建后将 Wiki 分配给会话或渠道,Agent 对话时可通过内置工具搜索、读取和创建词条。
110+
内置知识库系统,可手动创建词条(标题 + 内容 + 标签),也可由洞察系统在对话中自动提取知识。创建后将 Wiki 分配给会话或渠道,Agent 对话时可通过内置工具搜索、读取和创建词条。
108111

109112
| 字段 | 说明 |
110113
|------|------|
111-
| 提取模型 | 从对话中自动提取知识的 LLM 模型 |
112-
| 自动提取 | 开启后 Agent 回复时自动提取有价值的知识 |
113114
| 共享 | 关闭 = 每 thread 独立;开启 = 所有 thread 共享 |
114115

115116
---
@@ -123,8 +124,6 @@ docker run -d \
123124
| 模式 | `read_only` 只读 / `human_only` 仅记用户消息 / `human_and_ai` 记录双方 |
124125
| 最大保留天数 | 到期自动清理 |
125126
| 向量模型 | 用于语义检索(支持 OpenAI、Azure、Ollama) |
126-
| 提取模型 | 从对话中提取关键事实 |
127-
| 压缩模型 | 合并相似记忆,减少冗余 |
128127
| 共享 | 关闭 = 每 thread 独立;开启 = 所有 thread 共享 |
129128

130129
---
@@ -135,7 +134,7 @@ docker run -d \
135134

136135
添加工具服务器:
137136
- **stdio** — 填写命令和参数(如 `npx -y some-mcp-package`
138-
- **http** — 填写远程 URL 和可选请求头
137+
- **sse** — 填写远程 URL 和可选请求头
139138

140139
支持全局共享服务器和 Agent 级别独立配置,故障自动重启。然后打开 Agent 编辑页 → MCP 标签页挂载所需服务器。
141140

@@ -268,4 +267,4 @@ docker run -d \
268267

269268
## 关键词
270269

271-
`AI Agent` `自托管` `大模型服务` `开源` `MCP` `模型上下文协议` `多智能体` `ReAct` `OpenAI` `Claude` `Ollama` `聊天机器人` `飞书` `Lark` `长期记忆` `向量检索` `TypeScript` `Node.js`
270+
`AI Agent` `自托管` `大模型服务` `开源` `MCP` `ACP` `模型上下文协议` `多智能体` `ReAct` `OpenAI` `Claude` `Gemini` `Ollama` `聊天机器人` `飞书` `Lark` `OneBot` `QQ` `长期记忆` `向量检索` `TypeScript` `Node.js`
0 Bytes
Binary file not shown.

packages/sbot/ReleaseNote.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- **XiaoAI Channel**: New channel for Xiaomi AI speakers — account login, device discovery, TTS playback, and polling-based conversation
99
- **Token Usage Tracking**: Per-model token usage statistics with admin dashboard visualization
1010
- **Session Search Tool**: New tool allowing agents to search across session history
11+
- **Heartbeat System**: Configurable periodic agent self-activation — supports custom intervals, prompt templates, and target channels; managed via admin panel
1112
- **Middleware Pipeline**: New `MiddlewarePipeline` with intent-based filtering for session message processing
1213
- **Timer Executor**: Extracted `TimerExecutor` utility for unified scheduled task execution (heartbeat, scheduler, wiki indexing)
1314
- **Workspace Prompt Discovery**: `ContextFileDiscovery` supports loading workspace-level prompt files

packages/sbot/ReleaseNote.zh.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- **小爱渠道**: 新增小米 AI 音箱渠道 — 账号登录、设备发现、TTS 播放和轮询式对话
99
- **Token 用量统计**: 按模型统计 Token 使用量,管理后台提供可视化面板
1010
- **会话搜索工具**: 新增工具允许 Agent 搜索历史会话记录
11+
- **心跳系统**: 可配置的 Agent 定时自激活 — 支持自定义间隔、提示词模板和目标渠道,通过管理后台统一管理
1112
- **中间件管道**: 新增 `MiddlewarePipeline`,支持基于意图的会话消息过滤
1213
- **计时器执行器**: 抽取 `TimerExecutor` 统一调度工具(心跳、定时任务、Wiki 索引)
1314
- **工作区提示词发现**: `ContextFileDiscovery` 支持加载工作区级别的 prompt 文件

0 commit comments

Comments
 (0)