A lightweight personal AI assistant with multi-channel support. Built with TypeScript + Bun in ~5900 lines of code.
- Multi-LLM Support β Anthropic, OpenAI, Google, OpenRouter, Groq, AWS Bedrock
- Multi-Channel β Telegram, Feishu (Lark)
- Built-in Tools β File I/O, shell execution, web search & fetch
- Skills System β Extend capabilities via Markdown
- Persistent Memory β Long-term memory + daily notes
- Scheduling β Cron jobs + heartbeat checks
- Subagents β Background task spawning
| Stock | Product Hunt |
|---|---|
Via npm:
npm install -g miniclawd@latest
# or: pnpm add -g miniclawd@latestFrom source:
git clone https://github.com/FoundDream/miniclawd.git
cd miniclawd
bun install && bun run build && bun link# 1. Initialize
miniclawd onboard
# 2. Add API key to ~/.miniclawd/config.json
# 3. Chat
miniclawd agent -m "Hello!"| Command | Description |
|---|---|
miniclawd onboard |
Initialize config and workspace |
miniclawd agent |
Interactive chat |
miniclawd agent -m "..." |
Single message mode |
miniclawd gateway |
Start gateway (Telegram/Feishu) |
miniclawd status |
Show system status |
miniclawd cron list |
List scheduled jobs |
Config file: ~/.miniclawd/config.json
{
"providers": {
"anthropic": { "api_key": "sk-ant-..." },
"openai": { "api_key": "sk-..." },
"openrouter": { "api_key": "sk-or-..." },
"google": { "api_key": "..." },
"groq": { "api_key": "gsk_..." },
"bedrock": { "region": "us-east-1" }
}
}Format: provider/model
{
"agents": {
"defaults": {
"model": "anthropic/claude-sonnet-4-20250514"
}
}
}- Create bot via @BotFather β
/newbot - Copy token, add to config:
{
"channels": {
"telegram": {
"enabled": true,
"token": "123456789:ABCdef...",
"allow_from": []
}
}
}- Create app at Feishu Open Platform
- Enable WebSocket mode, add
im.message.receive_v1event - Add permissions:
im:message,im:message:send_as_bot
{
"channels": {
"feishu": {
"enabled": true,
"app_id": "cli_xxx",
"app_secret": "xxx",
"allow_from": []
}
}
}Then start: miniclawd gateway
~/.miniclawd/
βββ config.json # Configuration
βββ sessions/ # Session storage (JSONL)
βββ media/ # Downloaded media
βββ cron/jobs.json # Scheduled jobs
βββ workspace/
βββ AGENTS.md # Agent instructions
βββ SOUL.md # Agent personality
βββ USER.md # User info
βββ HEARTBEAT.md # Heartbeat tasks
βββ memory/ # Long-term memory
βββ skills/ # Custom skills
bun run typecheck # Type check
bun run dev -- ... # Dev mode
bun run build # BuildMIT