Agent 就是大脑
GolemBot 不重新发明 AI。它直接使用你已有的 Coding Agent — Cursor、Claude Code、OpenCode 或 Codex — 作为引擎。Agent 变强,助手自动变强。
全局安装 GolemBot,几秒钟内创建并运行助手:
npm install -g golembot
mkdir my-bot && cd my-bot
golembot onboard # 引导式设置向导
golembot run # 交互式 REPL
golembot gateway # 启动 IM + HTTP 服务或作为库使用 — 5 行代码:
import { createAssistant } from 'golembot'
const bot = createAssistant({ dir: './my-bot' })
for await (const ev of bot.chat('分析上个月的销售数据'))
if (ev.type === 'text') process.stdout.write(ev.content)在 golem.yaml 中改一行即可切换引擎 — StreamEvent API 完全一致。
接入任何消息来源。内置通道无需公网地址。在 golem.yaml 里加一行 _adapter: <path> 即可接入邮件、Discord、GitHub Issue 等 —— 自定义 Adapter。