ScallopBot 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
ScallopBot 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
ScallopBot 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g scallopbot # 方式二:npx 直接运行(无需安装) npx scallopbot --help # 方式三:项目依赖安装 npm install scallopbot # 方式四:从源码运行 git clone https://github.com/tashfeenahmed/scallopbot cd scallopbot npm install npm start
# 命令行使用
scallopbot --help
# 基本用法
scallopbot [options] <input>
# Node.js 代码中使用
const scallopbot = require('scallopbot');
const result = await scallopbot.run(options);
console.log(result);
# scallopbot 配置说明 # 查看配置选项 scallopbot --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SCALLOPBOT_CONFIG="/path/to/config.yml"
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg"> <img src="assets/logo-light.svg" alt="ScallopBot" width="120" height="120"> </picture> </p>
<p align="center"> <strong>Personal AI memory that actually remembers.</strong><br> <em>A lightweight, self-hosted AI agent that cures your agent's amnesia.</em> </p>
<p align="center"> <a href="https://github.com/tashfeenahmed/scallopbot/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/tashfeenahmed/scallopbot/ci.yml?branch=main&style=for-the-badge&label=build" alt="CI status"></a> <a href="https://github.com/tashfeenahmed/scallopbot/releases"><img src="https://img.shields.io/github/v/release/tashfeenahmed/scallopbot?style=for-the-badge" alt="GitHub release"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" alt="MIT License"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D24-brightgreen?style=for-the-badge" alt="Node.js"></a> <a href="https://github.com/tashfeenahmed/scallopbot/stargazers"><img src="https://img.shields.io/github/stars/tashfeenahmed/scallopbot?style=for-the-badge" alt="GitHub stars"></a> <a href="https://github.com/tashfeenahmed/scallopbot/forks"><img src="https://img.shields.io/github/forks/tashfeenahmed/scallopbot?style=for-the-badge" alt="GitHub forks"></a> </p>
<p align="center"> <a href="#install"><strong>Install</strong></a> · <a href="#benchmark-results"><strong>Benchmarks</strong></a> · <a href="#how-it-fits-together"><strong>Architecture</strong></a> · <a href="#hybrid-memory-engine"><strong>Memory</strong></a> · <a href="https://scallopbot.com"><strong>Website</strong></a> · <a href="Paper2026.pdf"><strong>Paper</strong></a> </p>
---
ScallopBot is a personal AI agent that runs on your own server. Open-source agents like OpenClaw are good at tool orchestration, but their memory mostly stores and promotes notes rather than reshaping them, and they have no self-reflection or autonomous reasoning loop. ScallopBot adds a bio-inspired cognitive layer on top, stays compatible with the OpenClaw skill ecosystem, and runs at an estimated $0.05–0.10 a day in model spend (cost comparison).
🧠 Memory that changesMemories are fused, linked and forgotten over time, not only stored. Recall mixes BM25, embeddings and optional LLM re-ranking. |
🌙 Works while you sleepA background gardener runs decay every minute, audits every ~72 minutes, and a nightly dream cycle, self-reflection and gap scan. |
🛡️ Checks its own workBefore a turn that changed files ends, a fresh-context reviewer probes the result on a throwaway copy and hands back anything it reproduces. |
💸 Routes by costEach request goes to the cheapest tier that can handle it, every call is priced per token, and daily/monthly budgets stop spend before it happens. |
🔌 MCP both waysUses any MCP server, and serves its own memory over MCP so Claude Code, Codex or any MCP client shares it. |
💬 Your channelsTelegram, a web dashboard (installable as an app) and a CLI, plus Discord, Slack, WhatsApp, Signal and Matrix when configured. 7 LLM providers with failover. |
The architecture was checked against 30 research works from 2023–2026 across six domains: memory retrieval, lifecycle management, associative reasoning, sleep-inspired consolidation, affect modelling and proactive intelligence (paper). Comparing it with a gateway like LiteLLM? See ScallopBot as a LiteLLM alternative.
Every route ends with the bot running and the web dashboard on http://localhost:3000. The first browser visit creates the dashboard login, unless the installer (or scallopbot web-login) already set one. When you copy .env.example by hand, set one provider key and comment out the placeholder TELEGRAM_BOT_TOKEN line if you are not using Telegram.
The web dashboard is a Progressive Web App. In Chrome or Edge use Install app in the address bar; on iPhone or iPad use Share → Add to Home Screen. Browsers only offer this over HTTPS or on localhost. The service worker caches the app shell so it opens offline; chat, memory and API data always come live from your server.
See the full deployment guide or the Raspberry Pi notes for backup, isolation, rollback and security guidance. Keep production credentials and operator-specific details in a private runbook outside the repository.
git clone https://github.com/tashfeenahmed/scallopbot.git /opt/scallopbot
cd /opt/scallopbot
bash scripts/server-install.sh # Installs Node 24, PM2, voice deps, Ollama
cp .env.example .env && nano .env
pm2 start ecosystem.config.cjs --env production && pm2 save
The install script is idempotent and sets up:
| Component | Purpose |
|---|---|
| Node.js 24 + PM2 | Runtime and process management |
| Python venv (kokoro-onnx, faster-whisper) | Local voice -- zero API cost TTS/STT |
| Ollama + nomic-embed-text | Local embeddings for semantic memory search |
| ffmpeg + sox | Audio format conversion |
<details> <summary><strong>Alternative: systemd</strong></summary>
sudo tee /etc/systemd/system/scallopbot.service << EOF
[Unit]
Description=ScallopBot AI Assistant
After=network.target
[Service]
Type=simple
User=scallopbot
Group=scallopbot
WorkingDirectory=/opt/scallopbot
EnvironmentFile=/opt/scallopbot/.env
ExecStart=/usr/bin/node /opt/scallopbot/dist/cli.js start
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now scallopbot
</details>
Two small models fine-tuned for ScallopBot's own jobs are published on Hugging Face: scalloptools-1 (tool selection) and scallopmemory-1 (memory extraction). Both ship as q5 GGUF files (~2.9 GB) that run under Ollama. Plug them in with Multi-Model Mode below (register each as a CUSTOM_PROVIDER_*; point MODEL_FACT_EXTRACTION at scallopmemory-1, and put scalloptools-1 first in PROVIDER_ORDER to make it the chat/tool model). Their benchmark numbers are on scallopbot.com.
One model serves every purpose by default. If you want specialized models — say, a fine-tuned 4B for memory operations and a different model for the main agent loop — toggle multi-model mode on and register any OpenAI-compatible endpoint under your own name:
```bash MULTI_MODEL_ENABLED=true CUSTOM_PROVIDER_MY_TOOLS=http://localhost:11434/v1|my-tools-model CUSTOM_PROVIDER_MY_MEMORY=http://localhost:11434/v1|my-memory-model
MODEL_TOKEN_LIMITS='{"my_memory":{"contextWindowTokens":262144,"maxOutputTokens":32768}}'
COST_MODEL_PRICING='{"my_tools/my-tools-model":{"inputPerMillion":0.3,"outputPerMillion":1.8}}'
Set SCALLOPBOT_EVENT_WEBHOOK_URL to emit key lifecycle events to an external orchestrator:
SCALLOPBOT_EVENT_WEBHOOK_URL=https://orchestrator.example.com/scallopbot/events
SCALLOPBOT_EVENT_WEBHOOK_SECRET=replace-with-shared-secret
SCALLOPBOT_AGENT_ID=scallopbot
The webhook receives POST payloads for memory.consolidation_complete, memory.reflection_output, and session.affect_change. If a secret is set, it is sent as a bearer token.
Minimal .env:
ANTHROPIC_API_KEY=sk-... # At least one provider required
WEB_UI_ENABLED=true # Optional: web dashboard + REST/WebSocket API
TELEGRAM_BOT_TOKEN=... # Optional: enable Telegram
TELEGRAM_ALLOWED_USERS=123456789 # Optional: restrict access
BRAVE_SEARCH_API_KEY=... # Optional: enable web search
Budget controls:
DAILY_BUDGET=5.00
MONTHLY_BUDGET=100.00
BUDGET_WARNING_THRESHOLD=0.75 # default; dashboard bars turn amber past this
Common options: .env.example; every variable is read in src/config/config.ts.
npm run build node dist/cli.js start ```
Requires Node.js 24+.
</details>
<details> <summary>Show all CLI commands</summary>
| Command | Description |
|---|---|
start | Launch gateway with all configured channels |
chat | Interactive CLI session (-s <id> to resume) |
config | Show current configuration (--json for machine output) |
version | Show version |
web-login -e <email> | Create the dashboard login (password from SCALLOPBOT_WEB_PASSWORD or stdin) |
skill search <query> | Search ClawHub |
skill install <slug\|github-url> | Install from ClawHub or a GitHub skill folder |
skill uninstall <name> | Remove a skill |
skill list | List installed skills |
skill update [name] | Update one or all skills |
skill-curator status | Show usage and lifecycle state for agent-created skills |
skill-curator run | Mark stale and archive unused agent-created skills |
skill-curator pin <name> | Keep an agent-created skill active |
skill-curator restore <name> | Restore a recoverably archived skill |
migrate run | Migrate legacy JSONL memories to SQLite |
secrets set <name> [value] | Store a secret in the encrypted vault (omit the value to type it hidden) |
secrets get <name> / list / rm <name> | Read, list names, or delete vault secrets |
secrets import-env [file] | Move credential-looking variables from .env into the vault (--strip removes them from the file) |
google-auth | Authorize Google Calendar and print GOOGLE_REFRESH_TOKEN |
reembed | Re-embed memories into the current EMBEDDING_PROVIDER/EMBEDDING_MODEL (--dry-run, --limit, --all; resumable) |
</details>
Speech-to-text via faster-whisper (CTranslate2-optimized Whisper) and text-to-speech via Kokoro (82M param ONNX model) run entirely on-device with zero API cost. Cloud providers (Groq STT, OpenAI TTS) serve as automatic fallbacks. Telegram voice messages are transcribed inline; voice replies are synthesized when enabled.
| Capability | OpenClaw | ScallopBot |
|---|---|---|
| **Memory retrieval** | Vector + keyword hybrid, deterministic weighted ranking | BM25 + semantic + LLM re-ranking |
| **Memory decay** | Recency decay on search ranking (30-day half-life) | Natural activation + category half-lives + user-confirmation reinforcement |
| **Memory consolidation** | "Dreaming" promotes frequently-recalled notes into MEMORY.md; entries kept as written | BFS-clustered fusion + NREM cross-category |
| **Memory forgetting** | -- (notes are never archived or pruned) | Utility-based with soft-archive / hard-prune |
| **Associative retrieval** | -- | Spreading activation with typed edges |
| **Dream cycle** | Light / REM / deep sweep (on by default), promotion only | NREM consolidation + REM exploration |
| **Affect detection** | -- | AFINN-165 + VADER + dual-EMA + affect guard |
| **Self-reflection** | -- | Private composite reflection feeding benchmarked, rollback-capable evolution |
| **Proactive intelligence** | Basic Heartbeat | Gap scanner + inner thoughts + trust feedback loop |
| **Background processing** | Heartbeat wake-up | 3-tier gardener (Light / Deep / Sleep) |
| **Cost tracking & budgets** | Token + estimated-cost reporting (/usage, /status), no spend limits | Built-in per-token tracking with daily/monthly limits |
| **Multi-provider routing** | Swappable model plugins | 7 supported providers with health-aware failover |
| **Smart model selection** | Manual | Auto-routes by complexity |
| **Local voice (zero cost)** | -- | Kokoro TTS + faster-whisper STT |
| **Skill ecosystem** | 100+ bundled, 3000+ ClawHub | Full OpenClaw SKILL.md compatibility |
| **Channel support** | 25+ platforms | Telegram, web dashboard/API, CLI, Discord, Slack, WhatsApp, Signal, Matrix |
| **Native apps** | macOS/iOS/Android/Windows/Linux | -- |
OpenClaw column reflects its public README and docs as of October 2026; it ships fast, so corrections are welcome. A fuller write-up is at scallopbot.com/vs/openclaw.
ScallopBot 是一个受生物启发的认知架构框架,专为个人 AI 助手设计。该项目致力于弥补 OpenClaw 兼容代理系统中的认知能力差距,提供完整的多模态交互能力。通过整合语音、文本、搜索等多个模块,ScallopBot 为开发者提供了一个灵活、可扩展的个人 AI 代理构建平台。
项目支持一键部署和本地开发两种安装方式。服务器部署(Ubuntu 24.04)可通过执行 server-install.sh 脚本自动完成,该脚本会安装 Node.js 22、PM2、语音依赖和 Ollama。本地开发则需克隆仓库、运行 npm install、配置 .env 文件。所有部署方式都要求 Node.js 22+ 环境。PM2 用于生产环境进程管理,确保服务稳定运行。
快速开始需克隆项目仓库、安装依赖、配置环境变量。通过 npm run build 编译项目,使用 node dist/cli.js start 启动网关。CLI 提供多个命令:start 启动所有配置的通道、chat 进行交互式会话、config 查看配置、skill search 搜索技能。支持通过 -s 参数恢复之前的会话 ID。
配置通过 .env 文件管理。必需项为至少一个 LLM 提供商 API 密钥(如 ANTHROPIC_API_KEY)。可选项包括 TELEGRAM_BOT_TOKEN 启用 Telegram、TELEGRAM_ALLOWED_USERS 限制访问、BRAVE_SEARCH_API_KEY 启用网络搜索。支持成本控制参数:COST_DAILY_BUDGET 和 COST_MONTHLY_BUDGET 限制每日和每月花费,COST_WARNING_THRESHOLD 设置告警阈值。
项目提供 CLI 接口供开发者调用。核心命令包括 start(启动网关)、chat(交互式会话)、config(配置查询)、version(版本信息)、skill search(技能搜索)。所有命令均通过 node dist/cli.js 执行,支持参数传递和输出格式定制(如 --json 用于机器可读输出)。
项目采用本地优先的语音处理管道。语音转文本使用 faster-whisper(CTranslate2 优化的 Whisper 模型),文本转语音使用 Kokoro(82M 参数 ONNX 模型),两者均在设备本地运行,零 API 成本。云服务商(Groq STT、OpenAI TTS)作为自动备选方案。Telegram 语音消息支持内联转录,语音回复自动合成,实现完整的多模态交互体验。
高质量的AI工作流项目,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,ScallopBot 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | scallopbot |
| 原始描述 | 开源AI工作流:Bio-inspired cognitive architecture for personal AI agents. Memory lifecycle, dr。⭐21 · TypeScript |
| Topics | aibio-inspiredtypescript |
| GitHub | https://github.com/tashfeenahmed/scallopbot |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-11 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端