bao 标志

bao

社区
Suge8

🍞 记得住、学得会、能进化的个人 AI 助手。持久分类记忆 · 闭环经验引擎 · 子代理并行 · 长任务不漂移 · 9 大平台 · 4 类 LLM · MCP 生态 · 桌面自动化,只有你需要的轻量。| The AI assistant that remembers, learns, and evolves. Persistent memory · Experience engine · Sub-agents · 9 platforms · 4 LLM providers · MCP tools.

发布者Suge8
代码仓库Bao
语言Python
复刻数
2
星标数
23
可用工具
0
传输类型stdio, streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    bao 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 23 个 Star 和 2 个 Fork。

下载即用的桌面 AI 助手 · 真正的持久记忆 · 从经验中学习 · 长任务不阻塞 · 9 大平台 · MCP 生态

🇨🇳 中文 · 🇺🇸 English

为什么选 Bao?

Bao 是一个会记住你、会学习、会成长的 AI 助手。

不是聊天机器人,不是 API 包装器,而是一个真正能长期陪伴你的智能系统。

从 GitHub Releases 下载桌面端,双击安装,3 分钟配置完成。无需命令行,无需配置文件,开箱即用。

🎯 三个核心优势

1. 真正的持久记忆系统

大多数 AI 助手每次对话都从零开始。Bao 不一样。

基于 LanceDB 的记忆系统会跨会话保留你的偏好、项目背景和长期约定。向量检索 + 关键词检索双通路,智能注入相关上下文,不会把整段历史硬塞回 prompt。

记忆分类管理:偏好、个人信息、项目知识、通用事实,四类独立存储,过时内容主动清理,重要信息长期保留。

2. 从经验中持续学习

Bao 有闭环经验引擎。一次任务里踩过的坑,下次不会再从零开始。

  • 自动提取教训、策略和失败模式
  • 相似任务自动召回相关经验
  • 质量评分系统:高质量经验(≥5 分,使用 ≥3 次)永久保留
  • 工具失败后会反思重试,而不是机械重复到超时

它会随着使用持续变得更适合你。

3. 强大的长任务引擎

复杂任务不会卡住当前对话。Bao 支持子代理并行执行,你可以继续聊天,它在后台把耗时工作做完。

  • 轨迹压缩:每 5 步自动压缩执行历史,保持上下文清晰
  • 充分性检查:自动判断是否已收集足够信息,避免无效循环
  • 进度透明:实时查询阶段、工具数、迭代轮次和最近动作
  • 灵活控制:支持取消、续接和结构化任务跟踪

一个助手,不必被一件慢任务拖住全部交互。

💎 为什么选择 Bao

对普通用户:下载桌面端,3 分钟配置完成,开箱即用。无需命令行,无需编辑配置文件。

对开发者:约 12,000 行核心 Python 代码,结构紧凑,易于扩展。原生接入编程代理(Codex、Claude Code、OpenCode),MCP 工具生态,技能系统兼容 ClawHub。

对所有人:桌面端、CLI、9 大聊天平台共用同一套 core,没有两套实现长期漂移。上下文管理、自动规划、长任务控制都是内建能力,不需要外围补丁

🔄 与 OpenClaw 的对比

OpenClaw 是一个优秀的开源 AI 助手项目,定位是 local-first、Gateway 驱动,拥有完整的控制面体系(macOS app、Web UI、CLI、移动节点)。

Bao 的核心取舍不同:更短的上手路径 + 更强的记忆与学习能力。

维度OpenClawBao
上手体验CLI 向导 + 配置文件 + Gateway 启动下载桌面端,3 分钟配置完成
部署依赖Node 22+ / pnpm / Gateway 工作流桌面端零依赖,开发侧需 Python/uv
核心优势完整 Gateway 控制面 + 多端协同持久记忆 + 经验学习 + 长任务引擎
长任务处理Gateway 工具执行轨迹压缩、充分性检查、子代理并行
记忆系统基础会话历史LanceDB 向量检索 + 分类记忆 + 经验引擎
技能生态官方 Skills + ClawHub兼容 ClawHub,支持 SKILL.md 格式
适合人群需要完整 Gateway 体系的用户想快速上手 + 保留扩展性的用户

一句话总结:

  • OpenClaw:更广的官方控制面,适合需要完整 Gateway 架构的场景
  • Bao:更快的落地路径,更强的记忆与学习能力,适合长期陪伴型使用

🚀 快速开始

方式 1:桌面端(推荐)

前往 GitHub Releases 下载安装包:

  • macOS:Bao-x.y.z-macos-arm64.dmg(Apple Silicon)或 Bao-x.y.z-macos-x86_64.dmg(Intel)
  • Windows:Bao-x.y.z-windows-x64-setup.exe

安装后打开 Bao Desktop,按界面引导完成配置(3 分钟):

  1. 选择界面语言
  2. 配置 AI 服务(支持 OpenAI、Anthropic、Gemini、DeepSeek 等)
  3. 选择默认模型
  4. 启动中枢,开始使用

方式 2:命令行(终端用户)

bash
pip install -U bao-ai
bao

方式 3:源码(开发者)

bash
git clone https://github.com/Suge8/Bao.git
cd Bao
uv sync
uv run bao

首次运行自动生成 ~/.bao/config.jsonc。最小配置:

json
{
  "providers": {
    "openaiCompatible": {
      "apiKey": "sk-or-v1-xxx"
    }
  }
}

可选:配置效用模型节省成本(用于后台任务)

json
{
  "agents": {
    "defaults": {
      "model": "anthropic/claude-sonnet-4-20250514",
      "utilityModel": "openrouter/google/gemini-flash-1.5"
    }
  }
}

💬 9 大聊天平台

一份配置,同时接入 9 个平台。每个平台自动适配最佳渲染格式。

平台配置渲染
Telegram@BotFather 获取 Token富文本 Markdown
DiscordBot Token + Intent富文本 Markdown
WhatsApp扫码连接纯文本
飞书App ID + Secret原生标记
SlackBot Token + App Token原生标记
EmailIMAP/SMTP纯文本
QQApp ID + Secret纯文本
钉钉App Key + Secret原生标记
iMessagemacOS 零配置纯文本

同一个 AI,9 种最佳阅读体验。

🤖 LLM Provider

极简 4 类配置,覆盖所有主流模型。

类型支持示例
OpenAI 兼容OpenAI、OpenRouter、DeepSeek、Groq、Ollama、vLLM 等openai/gpt-4o
AnthropicClaude 全系列anthropic/claude-sonnet-4-20250514
GeminiGemini 全系列gemini/gemini-2.0-flash-exp
Codex OAuth通过 ChatGPT 订阅认证,无需 API Keyopenai-codex/gpt-5.1-codex

智能特性:

  • Provider 名称可自定义(如 my-proxy/claude-sonnet-4-6)
  • OpenAI 兼容端点自动探测 Responses / Chat Completions
  • apiBase 自动补全版本段,避免重复拼接
  • 推理强度支持:off / low / medium / high
  • 支持 serviceTier:priority / flex(适用于支持该参数的 OpenAI / Codex / 兼容中转)
    • reasoningEffort=off 在 OpenAI / Codex 会映射为官方 reasoning.effort=none

Codex Provider 与 Codex 工具是两条独立能力线:

  • providers.*.type = "openai_codex":把 Codex OAuth 当作 Bao 的主聊天模型。
  • coding_agent(agent="codex"):调用本机 codex CLI 代你改代码,适合在 Telegram、WhatsApp、iMessage 等聊天里远程让 Bao 做代码任务。

远程用 Codex 改代码:

  • 先在运行 Bao 的机器安装并登录 Codex CLI:npm i -g @openai/codex@latest,然后执行 codex login
  • 后续在同一个 Bao 会话里继续追问时,coding_agent(agent="codex", continue_session=true) 会自动续上该聊天对应的 Codex session
  • 续接状态持久化在 Bao 自己的会话 metadata 中,Bao 重启后也能继续尝试复用
  • 如果外部 Codex session 已失效,Bao 会清掉旧 session 并明确提示你重试一次,不做隐藏重试

🔌 MCP 支持

Model Context Protocol — 接入任何工具生态。配置兼容 Claude Desktop 和 Cursor。

json
{
  "tools": {
    "toolExposure": {
      "mode": "off",  // 默认全量暴露;auto 为 BM25 域路由
      "domains": ["core", "messaging", "handoff", "web_research", "desktop_automation", "coding_backend"]
    },
    "mcpMaxTools": 50,
    "mcpSlimSchema": true,
    "mcpServers": {
      "filesystem": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
      }
    }
  }
}

工具暴露模式:

  • off:默认值,直接全量暴露 builtin tools

  • auto:使用 BM25 对 domain docs 做轻量排序,再暴露命中的 domain 闭环

  • core:基础本地工具,始终保留

  • messaging:发消息前先找目标,再补齐发送闭环

  • handoff:跨会话接力闭环

  • web_research:网页搜索 / 抓取 / 浏览器研究

  • desktop_automation:截屏 / 点击 / 输入等桌面操作

  • coding_backend:文件编辑、命令执行与 coding backend

💬 聊天命令

全平台通用命令:

命令说明
/new新建对话(旧对话自动保留)
/stop停止当前任务
/session列出所有对话,按编号切换
/delete删除当前对话
/model切换模型
/memory管理记忆(查看、编辑、删除)
/help显示可用命令

这些命令现在统一由 core 命令表维护;各渠道默认原样转发到 AgentLoop,Telegram 的命令菜单也从同一事实源自动生成。

🐳 Docker 部署

bash
# 1. 准备配置
vim ~/.bao/config.jsonc

# 2. 复制环境变量模板
cp .env.docker.example .env.docker

# 3. 启动中枢
docker compose --env-file .env.docker up -d bao-hub

# 4. 查看日志
docker compose logs -f --tail=100 bao-hub

🖥️ Desktop App

Bao Desktop 是主入口。大多数用户直接下载 Release;开发者本地运行:

bash
uv sync --extra desktop
uv run python app/main.py

首次启动自动创建配置与 workspace。详见 app/README.md 和 app/DESKTOP_PACKAGING.md。

🔒 安全

内置多层安全机制:工作区沙箱、渠道白名单、危险命令拦截、SecretStr 凭据保护。

完整安全配置见 SECURITY.md。

📁 项目结构

bao/
├── agent/          # 核心 Agent 逻辑
│   ├── loop.py     # Agent 循环(重试 + 纠错 + 经验)
│   ├── context.py  # 提示词组装 + 经验注入
│   ├── memory.py   # LanceDB 持久记忆
│   ├── subagent.py # 后台任务执行
│   └── tools/      # 内置工具
├── skills/         # 可扩展技能系统
├── channels/       # 9 大平台集成
├── providers/      # 4 种 LLM Provider
├── session/        # 多会话管理
└── cli/            # 命令行界面

📝 Changelog

最新发布版本与变更记录详见 CHANGELOG.md。

Download and use instantly · True persistent memory · Learns from experience · Long tasks don't block · 9 platforms · MCP ecosystem

Why Bao?

Bao is an AI assistant that remembers, learns, and grows with you.

Not a chatbot, not an API wrapper, but a truly long-term intelligent companion.

Download the desktop app from GitHub Releases, double-click to install, 3 minutes to configure. No command line, no config files, ready to use out of the box.

🎯 Three Core Advantages

1. True Persistent Memory System

Most AI assistants start from scratch every conversation. Bao is different.

The LanceDB-based memory system preserves your preferences, project context, and long-term agreements across sessions. Vector retrieval + keyword retrieval dual pathways, intelligently injecting relevant context without stuffing entire history back into prompts.

Categorized memory management: Preferences, personal info, project knowledge, general facts — four independent categories, stale content actively cleaned, important information retained long-term.

2. Continuous Learning from Experience

Bao has a closed-loop experience engine. Mistakes made once won't be repeated from scratch next time.

  • Automatically extracts lessons, strategies, and failure patterns
  • Recalls relevant experience for similar tasks
  • Quality scoring system: high-quality experiences (≥5 score, ≥3 uses) permanently retained
  • Reflects and retries after tool failures, not mechanical repetition until timeout

It gets better the more you use it.

3. Powerful Long-Task Engine

Complex tasks don't block the current conversation. Bao supports parallel subagent execution — you can keep chatting while it completes time-consuming work in the background.

  • Trajectory compression: Automatically compresses execution history every 5 steps, keeping context clear
  • Sufficiency checks: Automatically determines if enough information has been gathered, avoiding ineffective loops
  • Progress transparency: Real-time query of phase, tool count, iteration rounds, and recent actions
  • Flexible control: Supports cancellation, resumption, and structured task tracking

One assistant shouldn't be held hostage by one slow task.

💎 Why Choose Bao

For regular users: Download the desktop app, 3 minutes to configure, ready to use. No command line, no editing config files.

For developers: ~12,000 lines of core Python code, compact structure, easy to extend. Native integration with coding agents (Codex, Claude Code, OpenCode), MCP tool ecosystem, skill system compatible with ClawHub.

For everyone: Desktop, CLI, and 9 chat platforms share the same core — no two implementations drifting apart. Context management, auto-planning, and long-task control are all built-in capabilities, no external patches needed.

🔄 Comparison With OpenClaw

OpenClaw is an excellent open-source AI assistant project, positioned as local-first, Gateway-driven, with a complete control surface system (macOS app, Web UI, CLI, mobile nodes).

Bao's core tradeoff is different: shorter onboarding path + stronger memory and learning capabilities.

DimensionOpenClawBao
OnboardingCLI wizard + config files + Gateway startupDownload desktop app, 3 minutes to configure
DeploymentNode 22+ / pnpm / Gateway workflowDesktop app zero dependencies, dev side needs Python/uv
Core strengthComplete Gateway control surface + multi-device coordinationPersistent memory + experience learning + long-task engine
Long tasksGateway tool executionTrajectory compression, sufficiency checks, parallel subagents
Memory systemBasic conversation historyLanceDB vector retrieval + categorized memory + experience engine
Skill ecosystemOfficial Skills + ClawHubCompatible with ClawHub, supports SKILL.md format
Best forUsers who need complete Gateway architectureUsers who want quick start + retain extensibility

In short:

  • OpenClaw: Broader official control surface, suitable for scenarios requiring complete Gateway architecture
  • Bao: Faster deployment path, stronger memory and learning capabilities, suitable for long-term companion use

🚀 Quick Start

Method 1: Desktop App (Recommended)

Download from GitHub Releases:

  • macOS: Bao-x.y.z-macos-arm64.dmg (Apple Silicon) or Bao-x.y.z-macos-x86_64.dmg (Intel)
  • Windows: Bao-x.y.z-windows-x64-setup.exe

After installation, open Bao Desktop and follow the guide (3 minutes):

  1. Choose UI language
  2. Configure AI service (supports OpenAI, Anthropic, Gemini, DeepSeek, etc.)
  3. Select default model
  4. Start hub and begin using

Method 2: Command Line (Terminal Users)

bash
pip install -U bao-ai
bao

Method 3: Source Code (Developers)

bash
git clone https://github.com/Suge8/Bao.git
cd Bao
uv sync
uv run bao

First run auto-generates ~/.bao/config.jsonc. Minimal config:

json
{
  "providers": {
    "openaiCompatible": {
      "apiKey": "sk-or-v1-xxx"
    }
  }
}

Optional: Configure utility model to save costs (for background tasks)

json
{
  "agents": {
    "defaults": {
      "model": "anthropic/claude-sonnet-4-20250514",
      "utilityModel": "openrouter/google/gemini-flash-1.5"
    }
  }
}

📝 Changelog

See CHANGELOG.md for the latest release and change history.

💬 9 Chat Platforms

One config, connect to 9 platforms simultaneously. Each platform auto-adapts to optimal rendering format.

PlatformSetupRendering
TelegramToken from @BotFatherRich Markdown
DiscordBot Token + IntentRich Markdown
WhatsAppScan QR codePlain text
FeishuApp ID + SecretNative markup
SlackBot Token + App TokenNative markup
EmailIMAP/SMTPPlain text
QQApp ID + SecretPlain text
DingTalkApp Key + SecretNative markup
iMessagemacOS zero configPlain text

One AI, nine tailored reading experiences.

🤖 LLM Provider

Simple 4-type config, covers all mainstream models.

TypeSupportExample
OpenAI CompatibleOpenAI, OpenRouter, DeepSeek, Groq, Ollama, vLLM, etc.openai/gpt-4o
AnthropicFull Claude lineupanthropic/claude-sonnet-4-20250514
GeminiFull Gemini lineupgemini/gemini-2.0-flash-exp
Codex OAuthAuth via ChatGPT subscription, no API Key neededopenai-codex/gpt-5.1-codex

Smart features:

  • Customizable provider names (e.g., my-proxy/claude-sonnet-4-6)
  • OpenAI-compatible endpoints auto-detect Responses / Chat Completions
  • apiBase auto-completes version segments, avoids duplicate concatenation
  • Reasoning effort support: off / low / medium / high
  • Supports serviceTier: priority / flex on OpenAI / Codex / compatible relays that accept it
    • reasoningEffort=off maps to official OpenAI / Codex reasoning.effort=none

Codex provider and Codex tool are separate capabilities:

  • providers.*.type = "openai_codex" uses Codex OAuth as Bao's chat model.
  • coding_agent(agent="codex") uses the local codex CLI to perform coding work on Bao's host machine.

Using Codex for remote coding via chat:

  • Install and authenticate Codex CLI on the machine running Bao: npm i -g @openai/codex@latest, then codex login
  • In the same Bao conversation, follow-up calls with coding_agent(agent="codex", continue_session=true) automatically resume that chat's Codex session
  • Session continuity is persisted in Bao session metadata, so Bao can reuse it across restarts
  • If the external Codex session has expired, Bao clears the stored session and tells you to retry once instead of doing a hidden retry

🔌 MCP Support

Model Context Protocol — plug into any tool ecosystem. Config format compatible with Claude Desktop and Cursor.

json
{
  "tools": {
    "toolExposure": {
      "mode": "off",  // Default full exposure; use auto for BM25 domain routing
      "domains": ["core", "messaging", "handoff", "web_research", "desktop_automation", "coding_backend"]
    },
    "mcpMaxTools": 50,
    "mcpSlimSchema": true,
    "mcpServers": {
      "filesystem": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
      }
    }
  }
}

Tool exposure modes:

  • off: default, expose all builtin tools directly

  • auto: use BM25 to rank domain docs, then expose the matched domain closures

  • core: base local tools, always kept on

  • messaging: recipient resolution plus the full send-message closure

  • handoff: cross-session handoff closure

  • web_research: web search / fetch / browser research

  • desktop_automation: screenshots, clicks, typing, and other desktop actions

  • coding_backend: file editing, shell execution, and coding backends

💬 Chat Commands

Universal commands across all platforms:

CommandDescription
/newStart a new conversation (old one preserved)
/stopStop current task
/sessionList all conversations, switch by number
/deleteDelete current conversation
/modelSwitch model
/memoryManage memories (view, edit, delete)
/helpShow available commands

These commands are now maintained by one core command registry; channels forward the raw command text into AgentLoop, and Telegram derives its command menu from the same source.

🐳 Docker Deployment

bash
# 1. Prepare config
vim ~/.bao/config.jsonc

# 2. Copy environment template
cp .env.docker.example .env.docker

# 3. Start hub
docker compose --env-file .env.docker up -d bao-hub

# 4. View logs
docker compose logs -f --tail=100 bao-hub

🖥️ Desktop App

Bao Desktop is the main entry point. Most users download Release directly; developers run locally:

bash
uv sync --extra desktop
uv run python app/main.py

First launch auto-creates config and workspace. See app/README.md and app/DESKTOP_PACKAGING.md.

🔒 Security

Built-in multi-layer security: workspace sandboxing, channel allowlists, dangerous command interception, SecretStr credential protection.

Full security config: SECURITY.md.

📁 Project Structure

bao/
├── agent/          # Core agent logic
│   ├── loop.py     # Agent loop (interrupt + control routing + experience)
│   ├── context.py  # Prompt assembly + experience injection
│   ├── memory.py   # LanceDB persistent memory
│   ├── subagent.py # Background task execution
│   └── tools/      # Built-in tools
├── skills/         # Extensible skill system
├── channels/       # 9 platform integrations
├── providers/      # 4 LLM provider types
├── session/        # Multi-session management
└── cli/            # Command line interface

Bao — An AI assistant that remembers.

安装

TypingMind
{
  "mcpServers": {
    "bao": {
      "command": "bao",
      "args": []
    }
  }
}

将 bao MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 bao 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 bao 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 bao MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "bao": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 bao MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 bao MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 bao 帮我完成这项任务吗?
bao
当然。我已阅读。
以下是我使用 bao 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 bao 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 bao 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 bao 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 bao 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 bao 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 bao 帮我完成这项任务吗?
bao
当然。我已阅读。
以下是我使用 bao 得到的结果。

常见问题

bao MCP 服务器有什么用途?

bao 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 bao MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 bao,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 bao MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 bao 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 bao MCP 连接到 TypingMind?

您可以通过本地 MCP 连接器,或添加远程 MCP 服务器 URL,在 TypingMind 中连接 bao。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;当 MCP 服务器托管在远程时,请使用服务器 URL。

bao MCP 在 TypingMind 中提供哪些工具?

bao 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 bao MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 bao 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇