Setup OpenClaw 2.0 with Gemini in Under 60 Seconds

@_philschmid
الإنجليزية31 أغسطس 2026
104K
160
19
16
210

ليرة تركية؛ د

A concise technical guide for deploying OpenClaw 2.0 locally. It covers installation, Gemini 3.7 Flash integration, and enabling features like web search grounding and multi-channel chat.

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.

Philipp Schmid - inline image

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:

bash
1npm install -g openclaw@2026.8.1

Verify your installation:

bash
1openclaw --version# Output: OpenClaw 2026.8.1 (ea80657)

2. Configure Gemini Authentication

Export your Gemini API key in your current shell:

bash
1export GEMINI_API_KEY="your-gemini-api-key-here"

To persist it into OpenClaw's local profile store:

bash
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:

bash
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:

bash
1openclaw models list --provider google

4. Test Inference via CLI

Run a standalone agent turn in your terminal:

bash
1openclaw agent --local --agent main --message "Hello! What model are you running?"

Output:

text
1I'm running on google/gemini-3.7-flash.
2I'm your new assistant here in OpenClaw! What would you like to call me?
Philipp Schmid - inline image

5. Start the Gateway & Launch Control UI

Set the gateway to local mode and start it:

bash
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:

bash
1openclaw dashboard

The browser will open to http://127.0.0.1:18789/ authenticated with your local session token:

Philipp Schmid - inline image

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

Philipp Schmid - inline image

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\

Full Chat Channels Documentation.

ريمكس في YouMind

قم بتحويل مقال سريع الانتشار إلى سير عمل كامل المحتوى

قم بتجميع المصدر وفك تشفير النمط وإنشاء الأصول وصياغة القصة وتوزيعها من مساحة عمل واحدة تعمل بالذكاء الاصطناعي.

اكتشف YouMind
للمبدعين

حول Markdown إلى مقالة 𝕏 نظيفة

عندما تنشر كتاباتك الطويلة، فإن الصور والجداول وكتل التعليمات البرمجية تجعل تنسيق 𝕏 مؤلمًا. YouMind يحول مسودة Markdown كاملة إلى مقالة نظيفة وجاهزة للنشر 𝕏.

حاول Markdown إلى 𝕏

المزيد من الأنماط لفك التشفير

المقالات الفيروسية الأخيرة

استكشاف المزيد من المقالات الفيروسية