轻量级,原生Rust的AI代理平台。从一开始就支持安全沙盒。
概览
一个开源、原生于 Rust 的 OpenClaw 替代方案——用一个二进制文件在 Telegram、Discord、Feishu/Lark、WhatsApp、微信等平台上部署自己的 AI 代理。 不用Node.js,不用 npm,不用 docker——只要下载、配置、运行就行。 自动检测操作系统/架构,下载最新版本,将二进制和技能安装到 ~/.clawhive/。 安装后,在当前外壳中运行激活: 或者手动从 GitHub 发布下载。 使用任一方法配置提供者、代理和通道: — 启动服务器并打开基于浏览器的向导: - — 一个二进制,~14 MB。可在树莓派、VPS 或 Mac Mini 上运行,资源占用极低。- — 两层安全模型:不可绕过的硬基线 + 基于来源的信任。外部技能必须明确声明权限。- — 强制令牌预算、超时限制和子代理递归深度。无失控循环,无意外账单。- — 基于浏览器的设置向导或交互式 CLI
概述(AI 翻译)
英文 |中文
一个开源、原生于 Rust 的 OpenClaw 替代方案——用一个二进制文件在 Telegram、Discord、Feishu/Lark、WhatsApp、微信等平台上部署自己的 AI 代理。
一个二进制文件,~14 MB,零运行时依赖。 没有 Node.js,没有 npm,没有 Docker ——只需下载、配置并运行。
安装
自动检测操作系统/架构,下载最新版本,将二进制和技能安装到 ~/.clawhive/。
安装后,在当前外壳中运行激活:
或者手动从 GitHub 发布下载。
布置
使用任一方法配置提供者、代理和通道:
选项A:网页设置向导——启动服务器并打开基于浏览器的向导:
选项B:CLI设置向导 — 运行交互式终端向导:
用途
CLI 命令
| 指挥 | 描述 |
|---|---|
setup |
交互式配置向导 |
up |
作为背景守护进程(别名start -d)开始) |
start [--tui] [--daemon] |
启动所有配置好的通道机器人和HTTP API服务器 |
stop |
停止正在进行的抓合工艺 |
restart |
重启抓击(作为守护进程停止+开始) |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
clawhive
English | 中文
An open-source, Rust-native alternative to OpenClaw — deploy your own AI agents across Telegram, Discord, Feishu/Lark, WhatsApp, WeChat, and more with a single binary.
One binary, ~14 MB, zero runtime dependencies. No Node.js, no npm, no Docker — just download, configure, and run.
Installation
curl -fsSL https://raw.githubusercontent.com/longzhi/clawhive/main/install.sh | bash
Auto-detects OS/architecture, downloads latest release, installs binary and skills to ~/.clawhive/.
After installation, run to activate in your current shell:
source ~/.clawhive/env
Or download manually from GitHub Releases.
Setup
Configure providers, agents, and channels using either method:
Option A: Web Setup Wizard — Start the server and open the browser-based wizard:
clawhive start
# Open http://localhost:8848/setup in your browser
Option B: CLI Setup Wizard — Run the interactive terminal wizard:
clawhive setup
Usage
# Setup / config
clawhive setup
clawhive validate
# Chat mode (local REPL)
clawhive chat
# Service lifecycle
clawhive start # start in foreground
clawhive up # start if not already running (always daemon)
clawhive restart
clawhive stop
clawhive reload # hot-reload config without restart
# Dashboard mode (observability TUI)
clawhive dashboard
# Code mode (developer TUI)
clawhive code
# Agents / sessions
clawhive agent list
clawhive agent show clawhive-main
clawhive session reset
# Schedules / tasks
clawhive schedule list
clawhive schedule run
clawhive task trigger clawhive-main "summarize today's work"
# Logs
clawhive logs
# Auth
clawhive auth status
clawhive auth login openai
CLI Commands
| Command | Description |
|---|---|
setup |
Interactive configuration wizard |
up |
Start as background daemon (alias for start -d) |
start [--tui] [--daemon] |
Start all configured channel bots and HTTP API server |
stop |
Stop a running clawhive process |
restart |
Restart clawhive (stop + start as daemon) |
reload [--agents|--routing] |
Hot-reload configuration without restart |
chat [--agent ] |
Local REPL for testing |
validate |
Validate YAML configuration |
consolidate |
Run memory consolidation manually |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add longzhi/clawhive