Replicable implementation template for business support model. Transform your workflow with agentic AI systems.
This guide documents the exact order and steps for implementing OpenClaw as a personal agentic AI system. Use this as a template for helping others deploy OpenClaw for their own products and services.
Create these accounts before starting:
| Service | Purpose | Cost |
|---|---|---|
| Anthropic | Claude API (premium model) | Pay-per-use |
| Moonshot | Kimi API (primary model) | Pay-per-use |
| Telegram | Primary messaging channel | Free |
| Slack | Secondary/team channel | Free tier |
| Brave | Web search API | Free (2000/mo) |
| Gmail/Calendar/Drive | Free |
Pro tip: Start with free tiers. Scale up as usage grows.
# Install via npm
npm install -g openclaw
# Or use pnpm
pnpm install -g openclaw
# Verify installation
openclaw --version
# Create config directory
mkdir -p ~/.openclaw
# Run initial setup wizard
openclaw doctor
# Create environment file
touch ~/.openclaw/.env
# Add your keys
cat > ~/.openclaw/.env << 'EOF'
ANTHROPIC_API_KEY=sk-ant-...
MOONSHOT_API_KEY=sk-...
BRAVE_API_KEY=BSAT...
GOOGLE_API_KEY=AIza...
TELEGRAM_BOT_TOKEN=...
SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-...
EOF
# Secure the file
chmod 600 ~/.openclaw/.env
SOUL.md — Agent persona and core principles
USER.md — User context and preferences
AGENTS.md — Session guidelines and safety rules
HEARTBEAT.md — Periodic check tasks
Use cheap models for routine tasks, premium for complex reasoning:
| Model | Input/1M | Output/1M | Use Case |
|---|---|---|---|
| Llama 3.1 8B | $0.02 | $0.02 | Heartbeats, simple queries |
| Kimi K2.5 | $0.50 | $1.00 | General conversation |
| Claude Opus | $15.00 | $75.00 | Complex reasoning |
Monthly example (10M tokens):
{
"agents": {
"defaults": {
"model": {
"primary": "moonshot/kimi-k2.5",
"fallbacks": ["anthropic/claude-opus-4-5"]
},
"heartbeat": {
"every": "2h",
"model": "groq/llama-3.1-8b-instant"
}
}
}
}
/model llama # Cheap for simple tasks
/model opus # Premium for complex
/model default # Return to primary
# Install
openclaw skills install gog
# Gmail
gog gmail search "is:unread from:boss"
gog gmail send --to "client@example.com" --subject "Update"
# Calendar
gog calendar list --days 7
gog calendar add "Meeting" --when "tomorrow 2pm"
# Drive
gog drive list --query "name contains 'Q4'"
gog drive upload ~/report.pdf
openclaw cron add \
--name "morning-brief" \
--schedule "30 6 * * *" \
--command "python3 ~/.openclaw/workspace/morning-brief.py" \
--to "telegram:YOUR_CHAT_ID"
openclaw cron add \
--name "lunch-learn-monday" \
--schedule "0 12 * * 1" \
--message "🔋 Lunch & Learn questions..." \
--to "slack:YOUR_DM_ID"
openclaw doctor passes all checks| Tier | Setup | Monthly | Includes |
|---|---|---|---|
| Basic | $500 | $200 | Single channel, morning brief, basic automation |
| Professional | $1,500 | $500 | Multi-channel, content pipeline, custom tools |
| Enterprise | $5,000+ | $1,500+ | Multiple agents, team integration, custom dev |