Second Brain 智能体
Henry Daum 开发的智能体 Second Brain。
核验日期
核心信息
以下信息由程序从官方接口读取,不经模型改写。
- 许可证
- MIT
- 语言
- Python
- 维护方
- henrydaum
- 核验日期
它是什么
Second Brain 是 Henry Daum 开发的智能体。Second Brain 的灵感来自人脑。Second Brain 有 widgets,其本质上类似于 Anthropic Artifacts。README 称,每次迭代后,Second Brain 都更接近其生物学灵感来源。
主要能力
Widgets 是智能体可以编写的 HTML 文件。
Widgets 在沙盒 iframe 中运行,以保障安全。
Widgets 甚至可以运行 DOOM。
连接模型这一步会安装 essentials 套件,其中包括文件工具、shell、网页搜索、子代理等,并询问想如何连接模型。
README 列出的软件包包括 bundle_knowledgebase(搜索自己的 PDF、Office 文件、图片和音频,下载量大)、bundle_memory(自行维护的记忆,以可编辑的 markdown 存储)以及 bundle_gmail。
项目方报告称,Second Brain 在 harness-bench 上的表现高于 OpenClaw 和 Hermes,该基准衡量“跨 106 个沙盒离线智能体任务的模型与框架配置效应”。
怎么上手
Second Brain 会为你启动网页界面。
Second Brain 运行所在的终端同样可以用作聊天。
请保持该终端打开,因为网页界面需要 Second Brain 保持运行。
连接模型时,ChatGPT 账号(Codex)选项需要 ChatGPT 套餐,不需要 API 密钥。
OpenRouter 选项需要一个 API 密钥,一个密钥即可使用数百个模型。
其他提供方包括 OpenAI、Anthropic、Gemini、通过 Ollama 的本地模型,以及 OpenAI 兼容端点。
Install Second Brain (https://github.com/henrydaum/second-brain) on this computer for me.
1. Check that Python 3.11+, git, and Node.js (20.19+ or 22.12+, which includes npm) are installed. Install anything missing with the normal installer for my operating system, and tell me before you do.
2. Clone the repository into my home folder (or ask me where I'd like it).
3. Inside the clone, create a virtual environment named .venv and run `pip install -r requirements.txt` with that environment's pip.
4. In the clone's frame_ui folder, run `npm install`.
5. Don't start Second Brain yourself. It's an interactive program that needs my terminal. Instead, give me the exact commands for my operating system to activate the virtual environment and run `python main.py`.
6. Tell me that once it's running, the web UI opens at http://localhost:5174, and the next step is to type /setup to connect an AI model.
Don't change any of Second Brain's settings or files beyond these steps. If something fails, show me the error and explain it plainly.git clone https://github.com/henrydaum/second-brain
cd second-brain
python -m venv .venvpip install -r requirements.txt
cd frame_ui
npm install
cd ..
python main.py/setup适合谁
Second Brain 在你自己的机器上运行。需要 Python 3.11+、git 以及 Node 20.19+ 或 22.12+,用于网页界面。运行软件包安装命令,或在网页界面中打开设置,即可浏览商店。
可以通过 Tailscale 将网页界面添加到主屏幕。更新命令会一并拉取仓库和界面。项目提供了一个适用于服务器和 NAS 设备的 Dockerfile。
Second Brain 存放在两个文件夹中。内核文件夹包含应用代码、网页界面,以及虚拟环境,其中有 Second Brain 或其软件包安装的 Python 库。数据目录在首次运行时创建。
配置、数据库、对话、已安装的软件包以及智能体的工作区都存放在数据目录中。locations 命令会显示你机器上的路径。删除数据目录会清除对话和设置,因此应先复制想保留的内容。
来源
本页内容整理自以下官方来源,点击可核对原文。
- GitHub READMEhttps://github.com/henrydaum/second-brain抓取于
核验日期 ·
本页由 AI 依据上述官方来源整理,并经自动核对,未经本站实测。 发现错误?告诉我们。