| title: NanoClaw AI Assistant | |
| emoji: 🦀 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| short_description: Lightweight, secure, customizable AI assistant via Feishu | |
| # NanoClaw AI Assistant | |
| > Your own personal AI assistant. Optimized for Feishu (Lark) and powered by Claude Agent SDK. 🦀 | |
| This Hugging Face Space runs **NanoClaw**, a lightweight agent host optimized for security and performance. | |
| ## Quick Start | |
| 1. **Configure Feishu**: Create an app in the [Feishu Developer Console](https://open.feishu.cn/), enable **WebSocket** (Long Connection) for events, and add the bot to your chat. | |
| 2. **Set Environment Variables**: In your Space settings, add the following **Secrets**: | |
| ### 📡 Feishu (Lark) | |
| - `FEISHU_APP_ID`: Your app ID. | |
| - `FEISHU_APP_SECRET`: Your app secret. | |
| ### 🤖 LLM (CLIProxyAPI) | |
| - `ANTHROPIC_BASE_URL`: Proxy endpoint (e.g., `http://127.0.0.1:8317`). | |
| - `ANTHROPIC_AUTH_TOKEN`: Your API token. | |
| - `ANTHROPIC_MODEL`: Primary model (e.g., `gemini-2.5-pro`). | |
| - `ANTHROPIC_SMALL_FAST_MODEL`: Fallback model (e.g., `gemini-2.5-flash`). | |
| ## Usage | |
| Simply message your bot in Feishu. The first chat to message the bot will automatically be registered as the **Main Channel** (Admin). | |
| - **Direct Messages & Group Chats**: No trigger word needed. The bot will respond to all messages in registered chats. | |
| ## Deployment | |
| The Docker image for this space is auto-generated from the [nanoclaw](https://github.com/sim4d/nanoclaw) repository. | |
| ## License | |
| MIT |