@hybridaione/hybridclaw
v0.21.1
Published
Enterprise-ready self-hosted AI assistant runtime with sandboxed execution, secure credentials, approvals, and memory
Readme
HybridClaw
All of the Claw, None of the Chaos
Enterprise-ready self-hosted AI assistant runtime
HybridClaw is a self-hosted AI assistant runtime for teams that need control, security, and operational visibility. It combines sandboxed execution, secure credentials, approvals, persistent memory, and admin surfaces behind a single gateway.
Connect it to Discord, Discord Incoming Webhooks, Slack, Slack Incoming Webhooks, Signal, WhatsApp, Telegram, Microsoft Teams, email, fax, Twilio voice, or the web. Run it locally, deploy it for business workflows, and keep your agents, secrets, and data under your control.
Quick Start · Installation · Configuration · Migration · Contributing · Support
Pick your path
- Want the shortest path to a running assistant? Start with Quick Start.
- Want the full setup flow with providers, channels, and admin surfaces? Start with Installation and Authentication.
- Want to migrate from OpenClaw or Hermes? Start with the migration commands.
- Want to contribute from source? Start with CONTRIBUTING.md and the maintainer docs under docs/content/README.md.
Coming from OpenClaw or Hermes?
hybridclaw migrate openclaw --dry-run
hybridclaw migrate hermes --dry-runPreview and import compatible state from OpenClaw or Hermes in minutes. Imports compatible skills, memory, config, and optional secrets.
HybridAI Platform Advantage
HybridClaw is the runtime. HybridAI is the (optional) platform layer around it.
HybridAI adds:
- one-click cloud deployment
- enterprise shared RAG / knowledge
- access to current models from Anthropic, OpenAI, Google, xAI, and others
- observability across multiple agents
- built-in email addresses for your agents
- ready-to-run virtual coworkers
Get running in 2 minutes
npm install -g @hybridaione/hybridclaw
hybridclaw onboarding
hybridclaw gateway
hybridclaw tuiOpen locally:
- Chat UI:
http://127.0.0.1:9090/chat - Admin UI:
http://127.0.0.1:9090/adminfor channels, versioned agent files, scheduler, audit, statistics, config, secrets, output guard, and channel-specific instructions - Agents UI:
http://127.0.0.1:9090/agents - OpenAI-compatible API:
http://127.0.0.1:9090/v1/modelsandhttp://127.0.0.1:9090/v1/chat/completions
Requirement: Node.js 22 (Docker recommended for sandbox)
Desktop wrapper from source:
npm install
npm run desktopThe Electron workspace opens the existing /chat surface in a native macOS
window, exposes /admin from the app menu, reuses a running local gateway when
available, and starts the bundled gateway automatically when it is not already
listening on http://127.0.0.1:9090.
Release notes live in CHANGELOG.md, and the browsable operator and maintainer manual lives at hybridaione.github.io/hybridclaw/docs.
See it in Action
Once the gateway is running, open HybridClaw locally:
- Web Chat:
http://127.0.0.1:9090/chat - Web Chat keeps a recent-session sidebar and can search conversation titles with contextual snippets before you reopen or delete an older browser session
- Web Chat shows live context-window usage, accepts
/context, and lets you switch the active agent and model from the composer; active agent switching is preserved across session reloads and UI route changes - Web Chat keeps scrolling pinned when you read older messages and shows a jump-to-latest affordance when new output arrives below the current viewport
- Web Chat accepts
/btw <question>side questions while a primary run is active, so you can ask an ephemeral follow-up without interrupting the current run - Web Chat renders slash-command output as command results and lets operators rate persisted assistant responses with thumbs-up/down feedback that feeds observability and skill-improvement signals
- Admin Console:
http://127.0.0.1:9090/adminfor channels, versioned agent files, scheduler, audit, statistics, config, secrets, output guard, A2A inbox threads, and channel-specific instructions - Agent Dashboard:
http://127.0.0.1:9090/agents - or connect Discord, Discord Incoming Webhooks, Slack, Slack Incoming Webhooks, Signal, WhatsApp, Telegram, Microsoft Teams, Email, Fax
Operator workflows
- Install from npm, source, or the multi-arch Nix flake; a preview Homebrew
formula is available for
--HEADbuilds while stable tap publication is prepared. hybridclaw gateway statusreports sandbox/runtime details, and in container mode it includes the configured image name plus the resolved version and short image id.hybridclaw backupcreates a WAL-safe archive of the runtime home, andhybridclaw backup restore <archive.zip>validates the archive before replacing local runtime state.hybridclaw update --yesupgrades a global npm install and auto-restarts a running local gateway with its original launch parameters when possible, falling back tohybridclaw gateway restartif not./admin/agentsedits allowlisted bootstrap markdown files such asAGENTS.md, keeps saved revisions, and restores earlier versions from the browser./admin/statisticsreports message, session, token, cost, and channel trends across a selected date range.- The Usage rollup surfaces loading skeletons, cost metrics, and per-model spend summaries without scanning every stored session on page load.
/admin/agent-scoreboardranks agents by observed skill scores, reliability, timing, best skills, and CV links./audit turn <n>and/audit run <runId>show focused turn traces for debugging one request without reading the full session audit stream.hybridclaw agent configaccepts generated JSON payloads to upsert agent metadata, write bootstrap markdown, import profile images into the agent workspace, and optionally activate the agent./admin/channelsedits transport config, encrypted channel credentials, Signal QR linking, Twilio voice settings, and per-channel instructions that are injected into prompts at runtime./admin/secretslists stored and declared-but-empty secrets by metadata only, supports overwrite and unset actions, and never returns cleartext secret values to the browser./admin/output-guardconfigures response guardrails and plugin-backed output classification without editing runtime config by hand.slack_webhooktargets provide outbound-only Slack Incoming Webhook delivery with encrypted webhook URLs, named destinations, Block Kit text chunking, reachability status, and POST-only network policy grants.discord_webhooktargets provide outbound-only Discord Incoming Webhook delivery with encrypted webhook URLs, named destinations, message chunking, reachability status, and POST-only network policy grants./admin/approvalsmanages approval policies from the browser.- Approval policy evaluation runs through a hook-fed rule pipeline, so workspace policy ordering and plugin tool-use hooks share one approval path.
/admin/a2a-inboxshows read-only A2A message threads across the instance, with sender, recipient, timestamp, intent, and content for each message./admin/a2a-trustshows the local A2A public-key trust ledger for paired peer instances./admin/gatewayreloads runtime config and refreshes secrets from the browser, and shows public URL plus tunnel status, without tearing down the enclosing workspace container; keephybridclaw gateway restartfor local/manual full restarts./contextand the web chat context ring show current context-window usage, remaining headroom, and compaction counts for the active session./goalstores a standing completion condition for the current thread and queues supervised continuations until the goal is judged complete, paused, cleared, interrupted, or blocked by approval policy./second-opinionasks a stronger configured model to compare a question, validate the last answer, or fact-check with web-search evidence while honoring configured model context, confidentiality, and agent-budget limits.proactive.delegation.modelcan pin delegated work to a different model from the parent turn;/statusshows delegate token totals and local-token share when that split is configured.deployment.mode,deployment.public_url,deployment.tunnel.provider, anddeployment.tunnel.health_check_interval_msdescribe local/cloud exposure and tunnel health cadence. The built-in ngrok, Tailscale Funnel, and Cloudflare Tunnel providers readNGROK_AUTHTOKEN,TS_AUTHKEY,CLOUDFLARE_TUNNEL_TOKEN, and Cloudflare certificate credentials from the encrypted runtime secret store.- A2A cross-instance delivery resolves canonical peer IDs in order from the
local deployment URL or active tunnel URL, the A2A public-key trust ledger,
then DNS-style discovery when
HYBRIDCLAW_IDENTITY_DISCOVERY_ZONEis configured. container.warmPoolkeeps a bounded adaptive pool of idle host/container runtimes for recently active agents when low cold-start latency matters.container.persistBashStatecontrols whether bash tool calls share shell state (cd, exported env vars, aliases) across turns in the same active runtime session;/admin/configexposes the same setting asPersistent bash state.- Agent budget config supports monthly USD/EUR caps and token caps; job and board budget chips show neutral, warning, and over-budget states for configured agents.
security.confidentialRedactionEnabledcontrols whether optional.confidential.ymlrules redact prompts and block matching outbound text;/admin/configexposes the same setting asConfidential leak guard.hybridclaw audit scan-leaksscans historical audit logs against optional.confidential.ymlrules for NDA-class client, project, person, keyword, and regex matches.- Generated artifacts remain downloadable and attachable even when the sandbox
exposes a custom workspace display root such as
/app. hybridclaw tuiincludes live delegate progress, pulsing tool rows, completion checkmarks, rendered Markdown tables, a keyboard-driven approval picker, and a ready-to-runhybridclaw tui --resume <sessionId>command on exit. PressingEscstops the active run and returns control to the prompt.hybridclaw doctorchecks runtime health including resource hygiene maintenance for stale gateway artifacts.hybridclaw doctor browser-usechecks the local Playwright browser automation substrate and can install missing Chromium support with--fix.hybridclaw onboardingand related local setup flows can restore the last known-good saved config snapshot or roll back to a tracked revision whenconfig.jsonbecomes invalid.hybridclaw skill importsupports community sources, local directories, and.ziparchives.hybridclaw skill install <source>,skill upgrade,skill revisions, andskill rollbackmanage packaged business skills with manifests, audit events, and snapshots.hybridclaw skill list blockedandhybridclaw skill unblock <name>let local operators review scanner-blocked skills and record a bypass marker for the installed copy when the finding has been accepted.- Bundled skills include CRM, finance, infrastructure, monitoring, home-automation and solar monitoring, fax, local PII redaction, media, search, and office workflows. Skill setup guides live in the Skills Catalog.
- The bundled tutorials cover owner, GTM, marketing, sales, DevRel, content, invoicing, webinar, and release-launch workflows that can run from the TUI, web chat, or connected channels.
hybridclaw eval hybridai-skillsturns the bundled skills pages' "Try it yourself" prompts into a local eval suite, and live summaries surface the observed skill, artifact presence, and counted tool-call totals.- Channel delivery stays predictable: email seeds its first mailbox cursor from
the current head instead of replaying old inbox mail, retry-aware transports
honor server
Retry-Afterbackoff, expected transient Discord/Email/WhatsApp transport outages stay local with rate-limited logging, and WhatsApp startup avoids intermittent init-query bad-request failures.
Models, Skills, and Memory
hybridclaw auth loginand/model listcover HybridAI, Codex, Anthropic, OpenRouter, Mistral, Hugging Face, Gemini, DeepSeek, xAI, Z.AI, Kimi, MiniMax, DashScope, Xiaomi, Kilo Code, and local backends such as Ollama, LM Studio, llama.cpp, and vLLM. Remote OpenAI-compatible providers can merge runtime-discovered model catalogs with operator-pinned lists./model info,/usage monthly,/usage model monthly, and the admin Models page surface discovered context windows, output limits, model capabilities, pricing, and per-model monthly spend where provider metadata is available.- Anthropic can run through the direct Messages API with
ANTHROPIC_API_KEYor through the official Claude CLI transport in host sandbox mode. - Brave, Perplexity, and Tavily web-search credentials can live in the encrypted runtime secret store and are passed into host or container agent runtimes from the active config.
- Web search can also target a self-hosted SearXNG instance through
web.search.searxngBaseUrlorSEARXNG_BASE_URL; authenticated instances use store-backed SearXNG bearer SecretRefs, and agents can override the global SearXNG base URL and bearer SecretRef for tenant-specific search. Bundledsearch.web,search.news, andsearch.imagesskills prefer that sovereign search path. - Google OAuth credentials for Workspace skills live in the encrypted runtime
secret store; agent runtimes receive short-lived access tokens for
gogandgwsinstead of long-lived refresh tokens. - Canonical user and agent identities use stable lowercase IDs and DNS-style discovery records so A2A peers can resolve remote URLs and public keys.
hybridclaw secret route ...and/secret route ...can attach stored secrets or Google OAuth access tokens to matchinghttp_requestURL prefixes, including Google Ads API calls.HYBRIDAI_FALLBACK_CHAINcan route auth and rate-limit provider failures to alternate models/providers with cooldowns before retrying the primary.- Skills can be enabled or disabled globally or per channel from
hybridclaw skill enable|disable, TUI/skill config, or the adminSkillspage. - Packaged skills can declare versioned manifests, capabilities, required credentials, supported channels, and per-agent autonomy policy.
- Bundled skills include API-backed Google Workspace workflows (
gog,gws), Salesforce inspection, GitHub issue queue processing (gh-issues), monthly SaaS invoice harvesting (download-platform-invoices), Airtable, FastBill, Lexware Office, managed or self-hosted Firecrawl, Google Ads, GA4 reporting, HeyGen, Hermes3000 long-form writing, Fronius solar monitoring, Homematic HCU state/control planning, natural-language warehouse SQL (warehouse-sql), brand-voice drafting, speech transcription and language detection (speech.transcribe,speech.detect-language), validated diagram-as-code creation throughdiagram, and editable Excalidraw diagram creation. - Native media tools generate images and videos through configured providers,
persist the resulting artifacts, and expose the same capability through the
bundled
image-generation,video-generation, andvideo.from-scriptskills. - Native audio transcription can route through configured local or provider backends, produce private transcript artifacts, and attach language, timestamp, speaker, duration, and cost metadata when available.
- Dynamic per-turn context such as current date, host, today's daily memory, session summary, and retrieved context is appended after the static system prompt so provider prefix caches can reuse the stable prompt prefix.
- Browser automation can use local persistent Playwright profiles, Camofox
profiles, or Browser Use Cloud sessions with encrypted
BROWSER_USE_API_KEYstorage, usage metering, shared navigation guards, SecretRef-gated credential fills, and deny-by-default host allowlisting for Camofox stealth mode. - The repo-shipped
brand-voiceplugin can flag, rewrite, or block final responses that violate configured voice rules before they reach users. - Built-in office skills handle longer PDF creation flows cleanly: the bundled
PDF creator wraps long lines, honors explicit
\n, and adds pages automatically when reports or invoices spill past the first page. - Built-in memory can stay standalone or layer with ByteRover, Mem0, Honcho, MemPalace, QMD, and GBrain plugins depending on whether you want local-first recall, hosted memory, or domain-specific retrieval.
- Optional OpenTelemetry tracing exports gateway and agent spans to OTLP backends and annotates structured logs with trace ids for cross-system correlation.
How HybridClaw compares
| Capability | HybridClaw | OpenClaw | Hermes Agent | | --- | --- | --- | --- | | Self-hosted runtime | ✅ Gateway + sandboxed container runtime | ✅ Self-hosted gateway/runtime | ✅ Self-hosted gateway/runtime | | Migration support | ✅ Imports from OpenClaw and Hermes | ❌ No comparable import path surfaced | ⚠️ Imports from OpenClaw only | | Encrypted secrets | ✅ Encrypted store + SecretRefs | ⚠️ SecretRefs, not a built-in encrypted store | ⚠️ File-permission-based secret storage | | Approvals / governance | ✅ Approvals, audit trails, sandbox, config history | ⚠️ Strong approvals/audit, less enterprise-governance framing | ⚠️ Strong approvals/isolation, less audit/admin surface | | Memory / knowledge | ✅ Shared memory + HybridAI knowledge path | ⚠️ Strong memory/session features | ⚠️ Strong persistent/self-improving memory | | Multi-agent observability | ✅ Built-in audit surfaces + platform path | ⚠️ Multi-agent/task inspection exists | ⚠️ Subagents + logs/session search, not central observability | | Local + cloud deployment model | ✅ Local-first runtime with HybridAI cloud path plus SSH/Tailscale remote access | ⚠️ Self-hosted + remote access | ✅ Local, VPS, Docker, Modal, Daytona | | Multiple UIs | ✅ TUI + Chat UI + Admin UI + Agents UI | ✅ TUI + WebChat + Control UI | ⚠️ TUI + messaging + API server, no comparable built-in admin/chat web UI |
Adjacent tools
| Comparison point | HybridClaw | LangChain | n8n | | --- | --- | --- | --- | | Framework vs runtime | Runtime | Framework | Workflow builder | | Coding required | Low to medium | High | Low | | Workflow builder vs agent runtime | Agent runtime | Framework for building agent systems | Visual workflow builder | | Enterprise controls | ✅ Approvals, audit, sandbox, encrypted secrets | ⚠️ You build them | ⚠️ Workflow-level controls |
Security and governance built in
- secure credential storage
- optional confidential-info redaction before model calls
- retroactive audit leak scanning
- sandboxed execution
- approvals
- audit trails with hash chain
- config versioning and backup/rollback
- observability
Built for real workflows
- channels
- versioned agent workspace prompt files with saved revisions and restore
- browser sessions
- office docs
- skills / plugins / MCP
- persistent workspaces
Built for rollout and migration
- import from OpenClaw / Hermes
- portable
.clawpackages with bundled knowledge and skills - local-first to cloud-ready path
Architecture
- Gateway service (Node.js) — shared message/command handlers, SQLite persistence (KV + semantic + knowledge graph + canonical sessions + usage events), scheduler, heartbeat, web/API, loopback OpenAI-compatible API, A2A peer trust, board-card storage, and channel integrations for Discord, Discord Incoming Webhooks, Slack, Slack Incoming Webhooks, Signal, Threema, Microsoft Teams, Telegram, iMessage, WhatsApp, Twilio voice, and email
- TUI client — thin client over HTTP (
/api/chat,/api/command) with a structured startup banner that surfaces model, sandbox, gateway, and chatbot context before the first prompt, live delegate status/progress, an interactive approval picker for pending approvals, and an exit summary with a ready-to-run resume command - Container (Docker, ephemeral) — HybridAI API client, sandboxed tool executor, native media-generation tools, web/search adapters, and preinstalled browser automation runtime with cursor-aware snapshots for JS-heavy custom UI
- Communication via file-based IPC (input.json / output.json)
Documentation
Browse the full manual at hybridaione.github.io/hybridclaw/docs.
- Getting started: Installation, Authentication, and Quick Start
- Enterprise deployment: Runtime Internals and Architecture
- Operations: Remote Access
- Security: SECURITY.md and TRUST_MODEL.md
- Migration: Commands: Migration and FAQ
- Channels: Connect Your First Channel, Overview, Twilio Voice, Discord, Discord Incoming Webhook, Slack, Slack Incoming Webhook, Telegram, Signal, Threema, Email, WhatsApp, iMessage, and Microsoft Teams
- Tutorials: Practical Workflows for owner, GTM, marketing, sales, DevRel, content, invoicing, webinar, and release launch workflows
- Skills and plugins: Extensibility, Bundled Skills, Plugin System, Memory Plugins, ByteRover Memory Plugin, GBrain Plugin, Mem0 Memory Plugin, Honcho Memory Plugin, and MemPalace Memory Plugin
- Configuration: Configuration Reference
- CLI reference: Commands, Diagnostics, and FAQ
Contributing
Contributor quick start:
npm install
npm run setup
npm run build
npm run typecheck
npm run test:unitUse npm run typecheck, npm run lint, and targeted tests for code changes.
For docs-only changes, verify links, commands, and examples. GitHub issue forms
cover bug reports, setup help, feature requests, and docs fixes, and the PR
template asks for validation and scope boundaries up front. See
CONTRIBUTING.md for the full workflow, check matrix, and
community guidance.
Community
- Discord: discord.gg/jsVW4vJw27
- Issues: github.com/HybridAIOne/hybridclaw/issues
- Discussions: github.com/HybridAIOne/hybridclaw/discussions
- Support guide: SUPPORT.md
- Community standards: CODE_OF_CONDUCT.md
