This guide will help you install and configure Ollama and Clawdbot, the foundation of your local AI system.
Ollama is a lightweight framework for running large language models locally, while Clawdbot is an MCP (Model Context Protocol) client that acts as the orchestration layer, connecting your AI model to various tools and services.
- Operating System: Windows, macOS, or Linux
- RAM: 8GB minimum (16GB+ recommended)
- Disk Space: 10-50GB depending on model choice
- Node.js: Version 18+ (Download here)
- Download the Ollama installer from ollama.ai/download
- Run the installer and follow the installation wizard
- Verify installation by opening PowerShell and running:
ollama --version
- Download from ollama.ai/download or use Homebrew:
brew install ollama
- Verify installation:
ollama --version
curl -fsSL https://ollama.ai/install.sh | sh
ollama --versionClawdbot requires models with tool calling capabilities. Recommended models for 2026:
Best balance of performance and resource usage for tool calling:
ollama pull qwen3-coderGood for lighter systems:
ollama pull mistral-smallFor powerful systems:
ollama pull glm-4.7-flashollama run qwen3-coderType a test message like "Hello, can you help me?" and press Enter. If you get a response, your model is working. Type /bye to exit.
Clawdbot is typically installed via npm or a dedicated installer. Check the official Clawdbot repository for the latest installation method:
# Example installation (verify with official docs)
npm install -g clawdbot
# Or if using a dedicated installer, download from the official site-
Run the onboarding wizard:
clawdbot onboard
-
Configure Ollama as your LLM provider:
During onboarding, select:
- Provider: Ollama
- Model:
qwen3-coder(or your chosen model) - Base URL:
http://localhost:11434
-
Alternatively, edit config manually:
Open your Clawdbot configuration file:
- Windows:
%APPDATA%\clawdbot\config.yaml - macOS/Linux:
~/.config/clawdbot/config.yaml
Add or edit:
llm: provider: ollama model: qwen3-coder base_url: "http://localhost:11434" num_ctx: 32768 # Context window size
- Windows:
The gateway is the background service that keeps Clawdbot running:
# Start the gateway
clawdbot gateway start --daemon
# Check status
clawdbot gateway status
# View logs
clawdbot gateway logsClawdbot includes a web dashboard for management:
- Open your browser and navigate to:
http://localhost:18789 - You should see the Clawdbot Control UI
- Verify that:
- Ollama connection shows as Connected
- Your chosen model is listed
- Gateway status is Running
clawdbot chatThis opens an interactive chat session. Try asking:
- "What is 2+2?"
- "Can you help me with coding?"
Type exit to close.
For web search and browser automation to work properly, ensure your model has sufficient context:
ollama run qwen3-coder --num_ctx 32768Test with a longer prompt to verify it handles extended context.
Web searching returns large amounts of data. Ensure your model configuration includes adequate context:
llm:
num_ctx: 32768 # Minimum 32k for reliable web searchIf responses are slow:
- Close unnecessary applications to free up RAM
- Consider using a smaller model like
mistral-small - Adjust
num_ctxto balance performance and capability
To ensure Clawdbot starts automatically on system boot:
Windows:
# Create a startup task
clawdbot gateway install-servicemacOS/Linux:
# Create a systemd service or launchd plist
clawdbot gateway install-service- Verify Ollama is in your PATH
- Restart your terminal after installation
- Ensure Ollama is running:
ollama serve - Check if another service is using port 11434
- Verify model is downloaded:
ollama list - Re-pull the model:
ollama pull qwen3-coder
- Check for port conflicts on 18789
- Review logs:
clawdbot gateway logs
-
Dashboard Access: By default, the dashboard is only accessible on
localhost. Keep it this way until you set up Tailscale (Step 4). -
API Keys: Never commit your
config.yamlto version control. Add it to.gitignore. -
User Permissions: Don't run Clawdbot as administrator/root. Use a standard user account.
Once your Ollama and Clawdbot setup is complete and the dashboard shows everything connected:
➡️ Continue to Step 2: Brave MCP Server Setup to add internet search capabilities.
- Ollama Official Documentation
- Ollama Model Library
- Clawdbot Official Repository (check for latest docs)
- Model Context Protocol Specification