Self-host BailingHub
v0.10.0Agent-to-business hub for safely operating business systems
- Stars
- 127
- Port
- 18900 (BailingHub core HTTP API and console)
crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghubWhat is BailingHub?
BailingHub (百灵中枢) is an open-source agent-to-business (A2B) control plane that connects AI agents to existing business systems like e-commerce platforms, SaaS, CRM, and ERP. It governs what agents can do by managing trusted business identities, capability scopes, risk controls, and full audit trails — while the business systems retain final authorization. Users interact via embedded web chat, local agents (e.g., DeepSeek Harness), or automation platforms (Dify, n8n, MCP) using a shared routing, knowledge, and audit layer. The core is written in Node.js/TypeScript with a Vue/Element Plus console, and persists state in MySQL. It supports approval workflows for high-risk actions, idempotency, rate limiting, and tool governance via the Agent Capability Contract (ACC). Deployment options include Docker Compose, a one-click install script for Ubuntu/Debian, or manual Node.js 22+ with MySQL. The project is in early public validation (v0.9.x) under Apache-2.0.
Should you self-host BailingHub?
BailingHub scores 44/100 on selfhost.directory (how scoring works) and ranks #146 of 209 in AI Agents. It has 127 GitHub stars.
It shipped 9 stable releases in the past year. The latest, v0.10.0, came out on 22 October 2026. New versions land roughly every 4 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is Orca (91/100, 108 446 stars). It scores higher overall, so compare the two before you pick. See BailingHub vs Orca side by side.
Features
- Agent Client SDK for local agents
- Agent-to-Business (A2B) control plane
- Approval workflows for high-risk actions
- Capability governance with ACC
- Execution governance (allowlist, risk levels, rate limiting, confirmations, approvals, idempotency)
- Full audit trail and traceability
- Knowledge base with RAG
- MCP server adapterSeparate repository: bailinghub/bailinghub-mcp-server
- Multi-entry routing (web chat, local agents, API/automation)
- Multi-modal input support
- Notification durabilityAdded in v0.9.4
- OpenAPI/ACC tool declaration with SDKs
- Pause/resume control
- Self-hosted console with RBAC
- Trusted business identity binding
BailingHub README
FAQ
Can local agents use the hub's model packages?
Yes. After the host integrates model services, it can use the package's chat models and image generation tools with shared quota, or continue using its own configured models. Conversation and tool orchestration remain with the local agent.
Must I self-host a large language model locally?
Not required. The control plane and state store can be self-hosted; models can be cloud APIs or self-hosted based on cost, network, and data requirements. When calling external models, relevant inputs are sent per your configuration.
How does it differ from MCP, Dify, or n8n?
MCP solves tool protocols; Dify and n8n orchestrate applications or workflows. BailingHub focuses on trusted identity, capability scope, approval, signing, execution, and audit between agents and business systems. They can be combined.
Do all write operations require manual approval?
No. Whether approval is needed is determined by capability declarations and business rules; ordinary authorized operations can execute directly, while high-risk operations can be configured for approval-before-execution.
After integration, who decides the final permissions?
Your business system still decides. BailingHub controls which capabilities agents can discover and request; the business backend continues to execute or refuse based on current user, tenant, roles, and business rules.
Is BailingHub an RPA that simulates clicking web pages?
No. It does not rely on models arbitrarily clicking backend pages. Instead, it calls server-side capabilities explicitly declared and authorized by the business system, so parameters, identity, permissions, and results can be verified.
Do I need to rebuild my existing business backend?
No. You keep your existing backend, accounts, permission tables, and business processes. You declare selected actions via OpenAPI, ACC, or SDK and configure capability declarations, trusted identity, and call verification.
More in Application Management
bexbex is a self-hosted, open-source PaaS deploying apps from Git to HTTPS on your infrastructure, with a Render-compatible workflow for developers and AI agents.
BuildarrSelf-hosted tool automating *Arr stack configuration via YAML. Idempotent updates, TRaSH-Guides sync, scheduled daemon mode.
clawhostSelf-hosted platform to deploy OpenClaw and Hermes AI agents on dedicated VPS with full root access, automatic SSL, DNS management, and browser-based terminal.
clawmasterSelf-hosted OpenClaw companion with guided setup, multi-provider LLM config, 6 messaging channels, memory, observability, MCP/skill mgmt via web console or desktop app.
cloudseederCloud Seeder is an open-source desktop app for Windows, macOS, Linux that deploys 30+ self-hosted appliances like Mastodon, Nextcloud with one click using Podman.
CompartmentCompartment is a self-hosted, open-source Kubernetes deployment platform for teams to run internal tools and apps on their own infrastructure with SSO and RBAC.
ConvertigoConvertigo is a self-hosted, open-source low-code and no-code platform for building enterprise web and mobile applications with AI assistance and 300+ connectors.
coolifySelf-hosted open-source alternative to Vercel, Heroku, and Netlify that lets you deploy applications, databases, and 300+ one-click services to your own servers via SSH.
crowSelf-hosted agentic framework and MCP platform to build AI agents, connect clients like Claude Code as native MCP connectors, with persistent memory and P2P sharing.
dashgateSelf-hosted, open-source app gateway for web services with multi-method auth, group access control, and auto-discovery from Docker, Traefik, Nginx, and more.
DEEIX ChatDEEIX Chat is a self-hosted, open-source AI workspace unifying model routing, multimodal chat, RAG, MCP tools, billing, and identity into one deployable platform.
deliveryDelivery is an open-source, self-hosted alternative to Netlify, Vercel, and Heroku that deploys apps from GitHub using Railpack and Traefik.
0 comments