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"> <img src="assets/scallop.png" alt="ScallopBot" width="120" height="120"> </p>
<p align="center"> <strong>A bio-inspired cognitive architecture for personal AI agents.</strong><br> <em>Bridging the cognition gap in OpenClaw-compatible agent systems.</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="Paper2026.pdf"><strong>Read the Paper</strong></a> </p>
---
Open-source personal AI agents like OpenClaw excel at tool orchestration but lack genuine cognitive depth: no memory lifecycle, no self-reflection, no autonomous reasoning. ScallopBot addresses this cognition gap with a bio-inspired cognitive architecture that maintains full compatibility with the OpenClaw skill ecosystem. Runs at an estimated $0.06--0.10/day in model spend -- see the cost comparison.
ScallopBot runs on your own server, routes each request to the cheapest model that can handle it, tracks every cent in real time, and fails over across 7 LLM providers automatically. It connects to Telegram, Discord, WhatsApp, Slack, Signal, Matrix, a CLI, and a REST/WebSocket API -- all from a single Node.js process.
The architecture is validated against 30 research works from 2023--2026 across six domains (memory retrieval, lifecycle management, associative reasoning, sleep-inspired consolidation, affect modelling, and proactive intelligence). The full cognitive pipeline operates at an estimated $0.06--0.10 per day.
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 |
```bash git clone https://github.com/tashfeenahmed/scallopbot.git cd scallopbot npm install
cp .env.example .env
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
TELEGRAM_BOT_TOKEN=... # Optional: enable Telegram
TELEGRAM_ALLOWED_USERS=123456789 # Optional: restrict access
BRAVE_SEARCH_API_KEY=... # Optional: enable web search
Budget controls:
COST_DAILY_BUDGET=5.00
COST_MONTHLY_BUDGET=100.00
COST_WARNING_THRESHOLD=0.8
Full reference: .env.example
npm run build node dist/cli.js start ```
Requires Node.js 24+.
| 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 |
skill search <query> | Search ClawHub |
skill install <slug> | Install from ClawHub |
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 |
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 + FTS5 hybrid | BM25 + semantic + LLM re-ranking |
| **Memory decay** | -- | Natural activation + category half-lives + user-confirmation reinforcement |
| **Memory consolidation** | -- | BFS-clustered fusion + NREM cross-category |
| **Memory forgetting** | -- | Utility-based with soft-archive / hard-prune |
| **Associative retrieval** | -- | Spreading activation with typed edges |
| **Dream cycle** | -- | 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 daemon (Pulse / Breath / Sleep) |
| **Cost tracking & budgets** | -- | Built-in per-token tracking with daily/monthly limits |
| **Multi-provider routing** | 2 providers | 7 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** | 15+ platforms | 9 channels |
| **Native apps** | macOS/iOS/Android | -- |
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
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 类型,复制安装指令后粘贴到对应客户端