Installation¶
Prerequisites¶
- Docker (with Docker Compose v2)
- curl and git
- An LLM API key (Anthropic or OpenAI)
Step 1: Clone¶
Step 2: Interactive Setup¶
The init wizard walks you through:
- LLM Provider — Choose Anthropic or OpenAI, enter your API key
- Messaging — Optionally connect Telegram (more platforms coming)
- Service Credentials — Optionally add GitHub token, AWS keys, etc.
- Workspaces — Optionally mount project folders
- Agent Settings — Heartbeat interval, data directory
Minimal setup
You only need an API key. Everything else is optional. Press Enter through the defaults and you'll have a working agent.
Step 3: Start Moby¶
This builds the Docker images (first time only), starts the containers, and Moby is live.
Verify It Works¶
# One-shot prompt
./mobyclaw run "Hello! Who are you?"
# Interactive chat
./mobyclaw chat
# Check service status
./mobyclaw status
Connect Telegram¶
- Message @BotFather on Telegram
- Create a new bot with
/newbot - Copy the bot token
- Add it to your
.env: - Restart:
./mobyclaw down && ./mobyclaw up - Message your bot on Telegram — Moby responds!
Updating¶
The containers rebuild automatically when the source changes.