Scalyclaw
The AI That Scales With You.
Ask AI about Scalyclaw
Powered by Claude ยท Grounded in docs
I know everything about Scalyclaw. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
|
โ๏ธ DISCLAIMER ๐ ScalyClaw is a passion project โ open source from day one, open source forever. ๐ซ No crypto token ยท No paid tier ยท No official channels outside this repo ๐ฌ The only way to reach us is through GitHub โ issues, discussions, PRs ๐ค We will never ask for money or personal data โ only contributions to make this better โ ๏ธ This is |
ScalyClaw
The AI That Scales With You.
One mind ยท All channels ยท Continuous relationship.
๐ง What is ScalyClaw?
ScalyClaw is a self-hosted AI assistant platform that connects to all your messaging channels with a single shared mind. It remembers everything, runs code, delegates to agents, and scales horizontally โ all under your control.
๐๏ธ Architecture

| Process | Role | Scalable |
|---|---|---|
| ๐ง Node | Orchestrator โ channels, LLM loop, guards, memory, agents, scheduling | Singleton |
| โก Worker | Execution โ code, commands, skills via BullMQ | Horizontally |
| ๐ Dashboard | Web UI โ monitoring, config, chat | โ |
Workers are independently deployable. They share nothing with the node except Redis โ no shared filesystem required.
๐ Dashboard
| Overview | Mind | Usage |
|---|---|---|
![]() | ![]() | ![]() |
| Channels | Models | Agents |
|---|---|---|
![]() | ![]() | ![]() |
| Skills | Memory | Vault |
|---|---|---|
![]() | ![]() | ![]() |
| MCP | Scheduler | Engagement |
|---|---|---|
![]() | ![]() | ![]() |
| Security | Logs | Workers |
|---|---|---|
![]() | ![]() | ![]() |
| Jobs |
|---|
![]() |
โจ Highlights
| Feature | Description | |
|---|---|---|
| ๐ฌ | 7 Channels | Discord, Telegram, Slack, WhatsApp, Signal, Teams, Web Gateway โ one memory across all |
| ๐ง | Persistent Memory | Hybrid vector + full-text search (sqlite-vec + FTS5). Auto-extracted from conversations |
| ๐ค | Autonomous Agents | Sub-workers with their own prompts, models, and skills. Delegate and let them run |
| ๐ง | Extensible Skills | JavaScript, Python, Rust, Bash. Hot-reload, auto-deps, zip deployment |
| ๐ก๏ธ | Multi-Layer Security | Echo guard, content guard, command shield, code guard. Every layer fails closed |
| โก | Scalable Workers | Deploy anywhere โ same machine or remote. They only need Redis |
| ๐ | MCP Integration | Connect any Model Context Protocol server. Tools are auto-discovered |
| ๐ฐ | Budget Control | Monthly/daily limits, per-model tracking, configurable alerts |
| ๐ | Dashboard | Real-time monitoring, personality editor, chat overlay, job inspector |
| ๐ | Zero-Downtime Reload | Skills, agents, config, MCP servers โ all reload live via Redis pub/sub |
๐ Quick Start
One-Line Install
Everything โ Bun, Redis, node, 3 workers, dashboard โ installed and running in one command:
curl -fsSL https://scalyclaw.com/install.sh | sh
Manage your installation:
~/.scalyclaw/scalyclaw.sh --stop # stop all
~/.scalyclaw/scalyclaw.sh --start # start all
~/.scalyclaw/scalyclaw.sh --update # pull latest & rebuild
~/.scalyclaw/scalyclaw.sh --status # show status
~/.scalyclaw/scalyclaw.sh --uninstall # remove everything
Remote access via SSH tunnel (replace user@<server_ip>):
# Dashboard (port 4173)
ssh -N -L 4173:127.0.0.1:4173 user@<server_ip>
Then open http://localhost:4173?token=<token> for the dashboard.
From Source
Prerequisites: Bun + Redis โฅ 6.2
# ๐ฆ Clone & build
git clone https://github.com/scalyclaw/scalyclaw.git && cd scalyclaw
bun install && bun run build
# โ๏ธ Setup & run
bun run scalyclaw:node setup
bun run scalyclaw:node start
# ๐ท Worker (separate terminal)
bun run scalyclaw:worker setup --name worker1
bun run scalyclaw:worker start --name worker1
# ๐ Dashboard (separate terminal)
bun run scalyclaw:dashboard start
๐ง Skills
Skills are executable tools the AI can invoke. Each skill is a folder with a SKILL.md manifest and a script.
skills/
weather/
SKILL.md # manifest (name, description, language, script)
main.py # entry point
deploy/
SKILL.md
main.js
SKILL.md example:
---
name: Weather
description: Get current weather for a city
script: main.py
language: python
---
Optional instructions for the AI on when and how to use this skill.
| Language | Runtime |
|---|---|
| ๐จ JavaScript | bun run |
| ๐ Python | uv run |
| ๐ฆ Rust | cargo run --release |
| ๐ Bash | bash |
Dependencies auto-install on first run. Skills hot-reload via pub/sub. Deploy as zip archives.
๐ค Agents
Agents are autonomous sub-workers with their own prompt, model, and skill set. The AI can delegate tasks to agents when specialized behavior is needed.
Each agent has:
- Prompt โ custom instructions defining its role
- Model โ can use a different LLM than the main orchestrator
- Skills โ restricted set of skills the agent can access
- Permissions โ what the agent is allowed to do
Agents are created and managed via the dashboard. When delegated a task, they run independently on the BullMQ agents queue.
๐ง Memory
ScalyClaw automatically extracts and stores memories from conversations. Memories persist across all channels โ what you say on Telegram is remembered on Discord.
- Hybrid search โ vector similarity (sqlite-vec) + full-text search (FTS5)
- Auto-extraction โ facts, preferences, and context are extracted without manual input
- Types โ facts, preferences, events, relationships โ each with a confidence score
- Management โ search, view, and delete memories from the dashboard
๐ค Models
ScalyClaw works with any OpenAI-compatible API โ OpenAI, Anthropic, local models via Ollama/LM Studio, or any provider with an OpenAI-compatible endpoint.
- Multiple models โ configure different models for different tasks (chat, agents, guards, embeddings)
- Priority + weight load balancing โ models are grouped by
priority(lower = tried first). Within a priority group, requests are distributed via weighted-random selection based on each model'sweight. If the entire group fails, the next priority group is tried automatically - Budget control โ global monthly/daily spending limits with soft or hard enforcement
- Embedding models โ separate model config for memory vector search. Set
embeddingModelto"auto"(default) to select from enabled embedding models using priority + weight
๐ MCP
Connect any Model Context Protocol server to extend ScalyClaw with external tools.
- Transports โ stdio, HTTP, and SSE
- Auto-discovery โ tools from connected MCP servers are automatically available to the AI
- Dashboard setup โ add, remove, and configure MCP servers from the UI
- Hot-reload โ connect new servers without restarting
๐ Vault
Secrets are stored encrypted in Redis and injected as environment variables when skills run. They are never exposed in conversations, logs, or the dashboard.
- Manage via the dashboard Vault page
- Use in skills as
$SECRET_NAMEenvironment variables - Scoped โ secrets can be restricted to specific skills
๐ก๏ธ Security
Four independent guard layers โ every layer fails closed:
| Guard | Purpose |
|---|---|
| ๐ Echo Guard | Detects if the AI is being tricked into repeating injected text |
| ๐ Content Guard | Blocks prompt injection, social engineering, and harmful content |
| ๐ Skill & Agent Guard | Audits skill code and agent configs for malicious patterns |
| ๐ก๏ธ Command Shield | Blocks dangerous shell commands with deterministic pattern matching โ no LLM needed |
All guards are configurable from the dashboard.
๐ป CLI
scalyclaw node <setup|start|stop|restart|status|background>
scalyclaw worker <setup|start|stop|restart|status|background>
scalyclaw dashboard <setup|start|stop|restart|status|background>
Workers are named instances (--name worker1). Run as many as you need.
๐ ๏ธ Tech Stack
| โก Runtime | Bun |
| ๐ฎ Queue | BullMQ + Redis |
| ๐พ Database | SQLite + sqlite-vec + FTS5 |
| ๐ค LLM | OpenAI-compatible API |
| ๐ฌ Channels | Telegraf, discord.js, @slack/bolt, botbuilder, WhatsApp Cloud API, Signal REST API |
| ๐ MCP | @modelcontextprotocol/sdk |
| ๐ HTTP | Fastify |
| ๐ Dashboard | React 19, Vite 6, Tailwind CSS 4, shadcn/ui |
| ๐ป CLI | Commander + @clack/prompts |
๐ Project Structure
| Path | Description |
|---|---|
๐ง scalyclaw/src/ | Core โ orchestrator, channels, guards, memory, agents, skills, tools, MCP |
๐ฆ shared/src/ | Shared โ queues, logger, session, skill loader, types used by node and worker |
โก worker/src/ | Worker โ command/code/skill execution, skill cache, dependency management |
๐ป cli/src/ | CLI โ setup wizards, process management |
๐ dashboard/src/ | Dashboard โ React SPA with real-time monitoring and config management |
๐ญ mind/ | Personality โ IDENTITY.md, SOUL.md, USER.md |
๐ค Contributing
Contributions are welcome! Whether it's a bug fix, new feature, channel adapter, or skill โ we'd love your help.
- ๐ด Fork the repo
- ๐ฟ Create your branch (
git checkout -b feat/my-feature) - โ Commit your changes
- ๐ Push and open a Pull Request
Please keep PRs focused and include a clear description of what changed and why.
๐ License
MIT โ use it, modify it, ship it.
















