#gemini

1 messages ยท Page 1 of 1 (latest)

fresh moss
#

just subscribed google ai pro, how to add gemini model support to clawdbot

upbeat canopyBOT
# fresh moss just subscribed google ai pro, how to add gemini model support to clawdbot

To add Gemini support with Google AI Pro, you need to configure the google provider:

Auth:

  • Set GEMINI_API_KEY environment variable or configure it via clawdbot onboard --auth-choice gemini-api-key

Config example:

{
  agents: { defaults: { model: { primary: "google/gemini-3-pro-preview" } } }
}

Available models: Use clawdbot models list --provider google to see available Gemini models.

Docs: https://docs.clawd.bot/concepts/model-providers#google-gemini-api-key

fresh moss
#

so thats api key, not gemini cli

upbeat canopyBOT
# fresh moss so thats api key, not gemini cli

Correct! Google AI Pro subscription uses the API key approach (GEMINI_API_KEY), not the Gemini CLI.

To get your API key:

  1. Go to https://aistudio.google.com/apikey
  2. Create a new API key
  3. Add it to your environment: export GEMINI_API_KEY="your-key-here" or configure via clawdbot onboard --auth-choice gemini-api-key

Then set your model:

clawdbot models set google/gemini-1.5-pro

You're good to go! ๐ŸŽ‰

fresh moss
#

wasnt there way to use gemini cli subscription?

upbeat canopyBOT
fresh moss
#

used antigravity, which set the opus as default. now this one keep calls tools in its own way and fails. let me check the clawdbot docs for the correct approach:[Tool Call: bash (ID: toolu_vrtx_01AneBjkP82eCQJgqGVRY6jq)]
Arguments: {
"command": "ls -la /Users/gankim/clawdbot/docs/ 2>/dev/null || ls -la /Users/gankim/clawd/ 2>/dev/null | head -20"
}

upbeat canopyBOT
# fresh moss used antigravity, which set the opus as default. now this one keep calls tools i...

The issue is you're using a Claude model (claude-opus-4-5) with the Google Gemini CLI provider. That's incompatible!

When using google-gemini-cli provider, you MUST use Gemini models:

# List available Gemini CLI models
clawdbot models list --provider google-gemini-cli

# Set a Gemini model
clawdbot models set google-gemini-cli/gemini-2.0-flash-exp

The fix:

  1. Run clawdbot models list --provider google-gemini-cli to see available models
  2. Set the correct model: clawdbot models set google-gemini-cli/gemini-2.0-flash-exp
  3. Check your config and ensure you're not mixing providers and models
#

Gemini models have a different tool calling interface than Claude, which is why it's failing. You can't use Claude model names with the Gemini CLI provider.

fresh moss
#

clawdbot models list --provider google-gemini-cli
this shows nothing, clawdbot models list shows only antigravity opus model

upbeat canopyBOT
#
  • gemini-2.5-flash
  • gemini-2.5-pro
  • gemini-1.5-flash
  • gemini-1.5-pro

Note: The google-antigravity provider supports Anthropic models (like claude-opus-4-5) running on Google's infrastructure. google-gemini-cli uses actual Gemini models. You can switch between them depending on what you need.

fresh moss
#

version is 2026.1.12-2

upbeat canopyBOT
# fresh moss version is 2026.1.12-2

The google-gemini-cli models might not be in the catalog yet for version 2026.1.12-2. Try setting a model directly:

clawdbot models set google-gemini-cli/gemini-2.0-flash-exp

Or use the antigravity provider with a Gemini model instead:

clawdbot models set google-antigravity/gemini-2.0-flash-exp

To see all available models (including any missing from the catalog):

clawdbot models list --all
#

The google-antigravity provider supports both:

  • Anthropic models: claude-opus-4-5, claude-sonnet-4-5
  • Gemini models: gemini-2.0-flash-exp, etc.

If you want the actual google-gemini-cli provider with its own auth, you may need to update clawdbot to the latest version, which has better model catalog support.

fresh moss
#

how to update

upbeat canopyBOT
# fresh moss how to update

To update clawdbot:

clawdbot update run

Or if you installed via npm/pnpm/bun:

# npm
npm update -g clawdbot

# pnpm
pnpm update -g clawdbot

# bun
bun update -g clawdbot
#

After updating, restart clawdbot and check:

clawdbot --version
clawdbot models list --provider google-gemini-cli
fresh moss
#

how to restart

upbeat canopyBOT
# fresh moss how to restart

Depends on how you're running it:

If installed globally & running in background:

clawdbot gateway restart

If running via systemd/service:

sudo systemctl restart clawdbot

If running in terminal (Ctrl+C), then restart:

clawdbot
#

If using PM2 or similar process manager:

pm2 restart clawdbot
fresh moss
#

seems like install method influence alot. want to do clean reinstall. no idea how its installed atm. whats the best way? for devices, i have m1 macmini and n100 homeserver

upbeat canopyBOT
#
clawdbot

Or via installer script:

curl -fsSL https://clawd.bot/install.sh | bash

๐Ÿ  N100 Homeserver (Linux)

Option A: Docker (easiest for clean setup)

# Uninstall old
#
clawdbot uninstall 2>/dev/null

# Run via Docker
docker run -d \
  --name clawdbot \
  -v ~/.clawdbot:/root/.clawdbot \
  clawdbot/clawdbot:latest

Option B: Installer script

curl -fsSL https://clawd.bot/install.sh | bash

Option C: Direct binary (if you want the gateway as a service)

#
# Download from releases: https://github.com/clawdbot/clawdbot/releases
# Set up systemd service yourself

Quick comparison

Method Updates Cleanest Best For
Homebrew brew upgrade โญ macOS
Docker docker pull โญ Linux servers
install.sh clawdbot update run Good General Linux
install-cli.sh Re-run script Good No root access

My pick:

#
  • Mac mini: brew install clawdbot
  • N100: Docker or install.sh
fresh moss
#

whats the companion app?

upbeat canopyBOT
# fresh moss whats the companion app?

Companion app = native macOS menu bar app that:

  • Shows status in menu bar
  • Handles macOS permissions (Accessibility, Screen Recording, etc.)
  • Exposes macOS tools: Camera, Screen Recording, Canvas, system.run
  • Manages the local Gateway
  • Provides native notifications

For your devices:

Device Companion App
M1 Mac mini โœ… Yes - menu bar app (download from clawd.bot)
N100 Homeserver โŒ No - runs headless Gateway only
#

On Mac mini:

  1. Download Clawdbot.app from https://clawd.bot
  2. Install & launch
  3. Grant permissions (Accessibility, Notifications, Screen Recording)
  4. Done - it runs in menu bar and manages the Gateway

On N100:

  • Just run the Gateway CLI (headless)
  • Works great via SSH or Docker

Want the CLI on Mac after installing the app?

#
# In the app: Settings โ†’ Install CLI
# Or manually:
npm install -g clawdbot
fresh moss
#

q: so companion app is separate from clawdbot install? q2: does it need to be installed on same machine?

upbeat canopyBOT
# fresh moss q: so companion app is separate from clawdbot install? q2: does it need to be in...

Q1: Separate from CLI install?

Yes! Two different things:

CLI (clawdbot) Companion App (macOS)
What Terminal command Menu bar app
Install brew / npm / install.sh Download from clawd.bot
Purpose Run Gateway, manage config Native macOS integration

You can use just the CLI on macOS if you don't need:

  • Menu bar status
  • Native notifications
  • macOS-specific tools (Camera, Canvas, Screen Recording)

#

Q2: Same machine as Gateway?

No! The companion app can connect to a remote Gateway.

Your setup could be:

  • N100 homeserver: Runs clawdbot (headless Gateway only)
  • Mac mini: Runs companion app, connects to N100 Gateway remotely

On Mac mini:

  1. Download Clawdbot.app from https://clawd.bot
  2. Open โ†’ Set mode to Remote
  3. Enter your N100's address (SSH, Tailscale IP, or domain)
  4. Done! Mac app acts as a node, Gateway runs on N100

Simple approach for now:

#

Just install CLI only on both machines for now:

# On both machines
curl -fsSL https://clawd.bot/install.sh | bash

Later, if you want the native macOS experience, download the app and switch to Remote mode pointing at your N100.

fresh moss
#

clean installing on m1 via npm. help me decide on onboarding. local vs remote gateway? whats different

upbeat canopyBOT
# fresh moss clean installing on m1 via npm. help me decide on onboarding. local vs remote ga...

Local vs Remote Gateway:

Local Gateway Remote Gateway
Where it runs On the same machine On another machine/server
Use case Single device setup Multi-device, home server
macOS tools โœ… Works (Camera, Canvas, etc.) โŒ Limited (no macOS tools)
Access Only from that machine Accessible from anywhere
Setup Simpler Requires network/SSH access

For your setup:

If Mac mini is your main machine:
โ†’ Choose Local Gateway (default)

  • Gateway runs on Mac
#
  • All macOS features work (notifications, camera, etc.)

If N100 homeserver is your main machine:
โ†’ Choose Remote Gateway on Mac

  • Gateway runs on N100
  • Mac app just connects remotely
  • N100 handles all the work

My recommendation for clean install:

  1. Install on N100 first โ†’ Local Gateway (headless)
  2. Install on Mac โ†’ Remote Gateway pointing to N100

This way:

  • N100 does all the AI work (always on)
#
  • Mac is just a remote controller
  • All your data stays on your home server

On Mac, during onboarding:

  • Select "Remote Gateway"
  • Enter N100's address (IP or hostname)

You'll still need to set up the Gateway on N100 first!

fresh moss
#

done with onboard install daemon. i get disconnected (1008): unauthorized
from dashboard

#

@upbeat canopy need some help

upbeat canopyBOT
#
   clawdbot gateway restart
  1. Check logs for details:
    clawdbot gateway logs
    

Common cause: You installed the daemon but didn't finish the OAuth login.

What provider are you using for Gemini? (google, google-gemini-cli, or google-antigravity)

If you used the Google AI Pro subscription, you need to:

  1. Run clawdbot onboard --auth-choice gemini-api-key
upbeat canopyBOT
# fresh moss <@1457407575476801641> need some help

Need more info to help:

  1. Which auth provider did you choose during onboarding?

    • google-ai-pro (API key)
    • google-gemini-cli (Gemini CLI subscription)
    • google-antigravity (Anthropic on Vertex)
    • Something else?
  2. Check auth state:

    clawdbot auth status
    
  3. Check gateway logs:

    clawdbot gateway logs
    
#

Quick fix based on provider:

  • If Google AI Pro (API key):

    clawdbot onboard --auth-choice gemini-api-key
    clawdbot gateway restart
    
  • If Gemini CLI subscription:

    clawdbot onboard --auth-choice antigravity
    clawdbot gateway restart
    

What's your auth setup?

fresh moss
#

gankim@ganghyunui-Macmini ~ % clawdbot auth status
error: unknown command 'auth'
(Did you mean health?)
gankim@ganghyunui-Macmini ~ %

upbeat canopyBOT
#

This will detect existing config and let you re-authenticate.

What do you see with clawdbot models status? That shows which providers are authenticated.

fresh moss
#

๐Ÿฆž Clawdbot 2026.1.14-1 (unknown) โ€” Your config is valid, your assumptions are not.

Config : /Users/gankim/.clawdbot/clawdbot.json
Agent dir : ~/.clawdbot/agents/main/agent
Default : anthropic/claude-opus-4-5
Fallbacks (0) : -
Image model : -
Image fallbacks (0): -
Aliases (0) : -
Configured models (0): all

Auth overview
Auth store : ~/.clawdbot/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -

  • google effective=env:AIzaSyAj..._idihNPw | env=AIzaSyAj..._idihNPw | source=env: GEMINI_API_KEY

Missing auth

  • anthropic Run claude setup-token or clawdbot configure.

OAuth/token status

  • none
    gankim@ganghyunui-Macmini ~ %
upbeat canopyBOT
# fresh moss ๐Ÿฆž Clawdbot 2026.1.14-1 (unknown) โ€” Your config is valid, your assumptions are n...

Found the issue!

Your config is set to use Claude Opus by default (anthropic/claude-opus-4-5) but you have no Anthropic auth configured.

You DO have Gemini API key set (working), but the default model is Anthropic!

Quick fix - switch to Gemini model:

# Set Gemini as the default model
clawdbot models set google/gemini-1.5-pro

Or set up Anthropic auth (if you want Claude):

claude setup-token
#
# or
clawdbot configure  # then choose Anthropic

Your auth is fine:

  • โœ… GEMINI_API_KEY is set and working
  • โŒ ANTHROPIC_API_KEY is missing (causing the disconnect)

Just run clawdbot models set google/gemini-1.5-pro and you'll be good to go with Gemini!

fresh moss
#

want to use claude code

upbeat canopyBOT
# fresh moss want to use claude code

To use Claude Code (Anthropic):

  1. Install Claude Code CLI first:

    # macOS
    brew install claude
    # or
    curl -fsSL https://claude.com/install.sh | bash
    
  2. Authenticate with Claude Code:

    claude login
    
  3. Get your setup token:

#
   claude setup-token
  1. Connect to clawdbot:

    claude setup-token | pbcopy  # Copy the token
    clawdbot configure  # Choose Anthropic โ†’ paste token
    
  2. Restart gateway:

    clawdbot gateway restart