Five commands to install OpenClaw 2.0 (v2026.8.1), connect Gemini 3.7 Flash, our fastest (+300 token/sec) agentic model for coding and agents, and start chatting with Google search grounding in under a minute.

What is OpenClaw 2.0?
OpenClaw is a personal AI assistant that actually does things. It runs on your devices, in your chats, with your rules.
- Chat from anywhere: Chat from the browser Control UI, Telegram, Discord, WhatsApp, or Slack.
- Integrated tooling: Browser automation, terminal execution, filesystem access, and web search grounding.
- Remember: Keeps memory across sessions so it knows your preferences, projects, and people.
OpenClaw 2.0 (v2026.8.1) is the largest update yet: simpler install, a rebuilt browser app that opens straight into a conversation, and setup you can finish by talking to your Claw. Full notes: v2026.8.1.
Prerequisites
- Node.js: Node 26 (recommended) or Node 22.22.3+ / 24.15+ (node --version).
- Gemini API Key: Grab a free key from Google AI Studio.
1. Install OpenClaw 2.0
Install OpenClaw globally via npm:
1npm install -g [email protected]
Verify your installation:
1openclaw --version# Output: OpenClaw 2026.8.1 (ea80657)
2. Configure Gemini Authentication
Export your Gemini API key in your current shell:
1export GEMINI_API_KEY="your-gemini-api-key-here"
To persist it into OpenClaw's local profile store:
1openclaw onboard --non-interactive --accept-risk --skip-health \2 --mode local \3 --auth-choice gemini-api-key \4 --gemini-api-key "$GEMINI_API_KEY"
(Note: You can safely ignore any onboarding tip about configuring a Brave API key—Gemini's built-in Google Search grounding is used automatically.)
3. Set Gemini 3.7 Flash as Default
Set Gemini 3.7 Flash as the default agent model:
1openclaw models set google/gemini-3.7-flash
(Note: If OpenClaw displays a warning that the model is not in the local catalog, it is safe to ignore. The model is dynamically resolved and validated against Google AI Studio in the next step.)
Verify model discovery and authentication status:
1openclaw models list --provider google
4. Test Inference via CLI
Run a standalone agent turn in your terminal:
1openclaw agent --local --agent main --message "Hello! What model are you running?"
Output:
1I'm running on google/gemini-3.7-flash.2I'm your new assistant here in OpenClaw! What would you like to call me?

5. Start the Gateway & Launch Control UI
Set the gateway to local mode and start it:
1openclaw config set gateway.mode localopenclaw gateway run
(To run as a persistent background daemon instead: `openclaw gateway install && openclaw gateway start`. To stop it: `openclaw gateway stop --force`).
Open the Control UI in your browser:
1openclaw dashboard
The browser will open to http://127.0.0.1:18789/ authenticated with your local session token:

Next Steps
Google Search grounding is enabled by default when GEMINI_API_KEY is present. No extra configuration or search keys are required.
- Test it directly via CLI: \
openclaw capability web search --query "Latest gemini models"\ - In chat sessions, Gemini autonomously runs web searches with citations whenever fresh context is needed.
See: Google Search Grounding in OpenClaw

Leveraging Other Gemini Capabilities
- Image Generation: Set Google's image model using openclaw models set-image google/gemini-3.1-flash-image.
- Video Generation: Generate 4–8s videos with google/veo-3.1-fast-generate-preview.
- Music Generation: Prompt-driven music via google/lyria-3-clip-preview.
- Text-to-Speech: Gemini batch TTS with natural language style prompting (gemini-3.1-flash-tts-preview).
- Realtime Voice: Low-latency bidirectional voice streams via Gemini Live API (gemini-3.1-flash-live-preview).
Full Google Documentation.
Connecting Chat Channels
Connect your Gemini assistant to your favorite messaging apps using simple CLI commands:
- Browse all channels: \
openclaw channels list --all\ - Interactive setup: \
openclaw channels add\ - Telegram: \
openclaw channels add --channel telegram --token "<BOT_TOKEN>"\ - WhatsApp (QR code): \
openclaw channels login --channel whatsapp\ - Discord: \
openclaw channels add --channel discord --token "<BOT_TOKEN>"\ - Verify channel status: \
openclaw channels status --probe\





