OpenClaw Setup on Ubuntu UTM VM with LLM API and Ollama Access

OpenClaw Sandboxed Setup with Multi-LLM Access
A developer has documented a working configuration for running OpenClaw in a standalone, sandboxed environment. The setup involves running OpenClaw inside an Ubuntu virtual machine using UTM on an M3 Mac, while maintaining connectivity to LLM services both locally and via external APIs.
Key Configuration Details
The solution provides OpenClaw with access only to materials available inside the Ubuntu VM, creating a controlled environment. Meanwhile, Ollama runs natively on macOS and remains accessible to OpenClaw within the Ubuntu VM on the same machine.
OpenClaw in this configuration can utilize multiple LLM APIs including:
- Gemini
- Claude
- DeepSeek
Available Resources
All sample configuration files are available at: https://github.com/parimalbajpai/openclaw/tree/main
OpenClaw-specific tips and solutions are documented in notes.txt, which includes:
- Workarounds for Ubuntu/ARM not having Chrome
- Google Workspace access via gog and gogcli
Additional Ollama configuration tips are available in separate notes.txt.
This type of sandboxed setup is particularly useful for developers who want to test AI coding agents in isolated environments while maintaining access to both local and cloud-based LLM services, allowing for controlled experimentation with different model configurations.
📖 Read the full source: r/openclaw
👀 See Also

Claude Code CLI Toolkit: Four Tools for Code Review, Project Briefs, Auto-Journaling Git Hooks
A developer has released four CLI tools built around Claude Code's print mode that handle code reviews, project brief generation, auto-journaling git hooks, and Claude session status. The tools use existing Claude Code authentication and are available as open source.

Compass Chrome Extension Adds Navigation Tools to Claude and ChatGPT
A developer built a free Chrome extension called Compass that adds a prompt minimap, sticky scroll headers, session checklists, and prompt builder templates to Claude and ChatGPT interfaces to solve navigation problems in long conversations.

Claude Code Architecture Analysis from Leaked Source Maps
Analysis of Claude Code's 512,000-line TypeScript codebase reveals a Bun-based runtime with React/Ink CLI, 100+ commands, 38+ tools, and multi-agent coordination. The system uses Zod for validation, OpenTelemetry for telemetry, and includes context compression mechanisms.

First-Tree: Open-Source Daemon That Uses Claude Code to Triage GitHub Notifications While You Sleep
An open-source menu bar daemon that uses Claude Code to autonomously triage GitHub notifications – it handled 98 out of 100 notifications in a recent scan, leaving only 2 for human review.