Self-Hosted$0 API CostYour HardwareFull Audit Trail

Run Your Own AI Agent Army

15+ autonomous agents on your laptop. Zero cloud. Zero API fees. Controlled from Telegram. Full audit trail on every action.

Quick Start (5 min)The $0 API Method

Why Self-Host?

Traditional AI

Cloud-Dependent

  • $150+/mo for 15 agents
  • Your data on someone else's server
  • API down = business stops
  • OpenAI can change terms overnight
  • No audit trail
vs
Botwave Self-Hosted

You Own Everything

  • $0-5/mo for 15 agents
  • Data never leaves your machine
  • Works offline for core functions
  • You control models, routing, rules
  • Full audit log on every action

Requirements

Minimum

  • 8GB RAM, any laptop/desktop
  • Linux, macOS, or Windows (WSL2)
  • Node.js 18+
  • ~5GB disk

Recommended

  • 16GB+ RAM
  • Kali Linux or Ubuntu 22.04+
  • GPU optional (CPU fine for 7B)
  • External drive for Operator tier

Quick Start — 5 Minutes

1Install LM Studio

Download from lmstudio.ai. Load Qwen 2.5 7B Instruct. Start local server on port 1234.

# Recommended: Context 16384, Flash Attention ON, port 1234
curl -s http://localhost:1234/v1/models | head -5

2Install OpenClaw

npm install -g openclaw
openclaw init
# Creates: ~/.openclaw/agents/ workspace/ scripts/ logs/

3Connect Telegram

# Get token from @BotFather, then:
openclaw add-provider telegram
openclaw deploy captain --platform telegram
# Done. Message your bot.

4Deploy More Agents

openclaw deploy mitch --platform telegram    # Sales
openclaw deploy ghost --platform telegram    # Content
openclaw deploy jobsite --platform telegram  # Invoicing
openclaw fleet status                        # Check fleet

Botwave Desktop — Full Fleet Commander

Manage your entire AI Agent Army from one native window.

Live Fleet Status

Real-time health, last active, session count for all agents

One-Click Deploy

Choose from 15+ templates (Captain, Mitch, JobSite, Ghost, etc.)

Script Factory

Browse, run, and generate new automation scripts

Model Router

Assign agents to local or free models — zero API cost by default

Download Botwave Desktop (Beta)

Download for Linux All Platforms

Architecture

┌─────────────┐ ┌─────────────────────┐ ┌──────────────────┐ │ Your Phone │ │ OpenClaw Gateway │ │ Model Router │ │ (Telegram) │───→│ (your machine) │───→│ │ │ Discord │ │ │ │ LM Studio $0 │ │ Slack │ │ Approval Gate │ │ Groq $0 │ │ Signal │ │ Session Manager │ │ OpenRouter $0 │ │ 10+ more │ │ Cron Scheduler │ │ ─────────────── │ └─────────────┘ │ Audit Logger │ │ xAI (paid) │ │ Bash Pre-Process │ │ Mistral (paid) │ │ Skill System │ │ (fallback only) │ └──────────┬──────────┘ └────────┬─────────┘ │ │ ┌──────────▼──────────┐ ┌────────▼─────────┐ │ ~/.openclaw/ │ │ Response Cache │ │ logs/ → audit trail │ │ Same Q = $0 │ │ scripts/ → factory │ │ Flat file cache │ │ workspace/ → loot │ └──────────────────┘ └─────────────────────┘

The 6-Layer Bash Defense — $0 API Cost

6 layers of defense before a paid token ever gets burned. Bash handles 90% of "AI tasks" free and instant.

# 1. Route by keyword — free, instant, no tokens burned
echo "$msg" | grep -qi "invoice\|quote\|estimate" && ROUTE=jobsite
echo "$msg" | grep -qi "price\|competitor\|market" && ROUTE=scout

# 2. Validate before calling — don't waste a call on empty input
[ -z "$msg" ] && echo "Empty input" && exit 0

# 3. Cache with TTL — same question within 24h = $0
HASH=$(echo "$prompt" | md5sum | cut -d' ' -f1)
if [ -f "cache/$HASH.json" ] && [ ! $(find "cache/$HASH.json" -mmin +1440) ]; then
  cat "cache/$HASH.json" && exit 0
fi

# 4. Compress context before inference — 10K tokens → 500
echo "$convo" | jq '.messages[-5:]'

# 5. Only extract what you need from the response
curl -s localhost:1234/v1/chat/completions -d "$payload" | jq '.choices[0].message.content'

# 6. Store result in cache for next time
echo "$response" | tee "cache/$HASH.json"
# GPT-4 cost: $0.15/interaction → Botwave: $0.000

Before (Cloud APIs)

$150/mo

  • 5 agents, every msg = $$$
  • No caching, cloud dependent

After (6-Layer Defense)

$5/mo

  • 15 agents, 6 layers before any model call
  • Local model + cache = free

Multi-Model Routing

# FREE ONLY (high-volume)
Captain  → LM Studio      $0   Ghost → Groq (Llama 3.3) $0
Scribe   → LM Studio      $0   Scout → Groq             $0
Content  → LM Studio      $0   Oracle → OpenRouter/free  $0

# FREE + PAID FALLBACK (revenue-generating)
Mitch    → Groq → xAI Grok-2         (paid only for deal closing)
JobSite  → LM Studio → Mistral Large  (paid only for invoices)
Closer   → Groq → OpenRouter/paid     (revenue = worth it)

# LOCAL ONLY (security/privacy — NEVER cloud)
DickTracy → LM Studio (mandatory)  $0
HOMIIEE   → LM Studio (mandatory)  $0

Agent Specializations

Captain

General AI chat, FAQ

Mitch

Sales, leads, proposals

JobSite

Invoices, estimates

Ghost

Social media autopilot

Banksy

Design, creative

Scout

Research, competitive intel

Scribe

Docs, blog, emails

Oracle

Analytics, predictions

Cron Automation

# 18+ jobs running right now:
# Every 6h  → Ghost posts to Twitter
# Daily     → Mitch checks leads, sends follow-ups
# Nightly   → Scout scrapes competitor pricing
# Weekly    → Oracle market analysis report

openclaw cron add ghost "Post content" --every 6h
openclaw cron add mitch "Check leads" --every 1d
openclaw cron list

Full Audit Trail

~/.openclaw/logs/
  commands.log    # Every bot command
  fleet.log       # Agent orchestration
  revenue.log     # Payment events
  engage.log      # User interactions

~/.openclaw/agents/*/sessions/*.jsonl
  # Full conversation history — every msg, tool call, response

Script Factory

Every automation saved as reusable bash. Build massive codebases with near-zero paid API cost.

~/.openclaw/scripts/
  phase7-dicktracy-overhaul.sh   # Agent fixes
  phase8-api-strategy.sh         # Model routing
  phase10-business-overhaul.sh   # THIS script
  ai-router-config.json          # Router config
  marketing/                     # Launch content
  pentest/                       # 80+ security scripts

Security (Boss + Operator)

Network

  • Gateway loopback-only (127.0.0.1)
  • Password auth on endpoints
  • Tailscale encrypted remote
  • No public port exposure

Data

  • Credentials chmod 600
  • Approval gate for elevated cmds
  • SUDO_ASKPASS (no pw in logs)
  • Docker sandboxing (roadmap)

24/7 Headless

tmux new-session -d -s botwave
tmux send-keys "lms server start --port 1234 --ctx 16384" Enter
tmux send-keys "openclaw start --all-agents" Enter
# Detach. Your agents run. Check from Telegram anytime.

Roadmap

Ready to Own Your AI?

Start free. Upgrade when hooked.

Try Free on Telegram Get Boss Tier ($49/mo) All Plans

Beta pricing locked for life. 30-day money-back guarantee.

FAQ

Do I need a GPU?

No. CPU is fine for 7B on 8GB+.

Can I use my own models?

Yes. LM Studio, Ollama, any OpenAI-compatible endpoint.

Is data really private?

Self-hosted = your machine. No telemetry, no phone-home.

How is this different from CrewAI/n8n?

Those are frameworks. Botwave is a complete agent OS: phone control, zero code, zero API, full audit trail.

Download Botwave Desktop (Beta)

Native app for fleet management, script execution, and model routing.

Windows · macOS · Linux — Free and open source.

Download Desktop (Beta) Browse ClawHub Marketplace Botwave Node Hardware
✓ Fleet status dashboard ✓ Script Factory with live output ✓ Visual model router

Join the Waitlist

Get early access, launch pricing, and the Script Factory guide.

Join on Telegram

Message @sgk1904 — we reply within hours.