Core Architecture
Running on OpenClaw β open-source agent system with support for multiple models, channels, and tools.
Runtime:
- Host: Mac mini M4, 16GB RAM
- OS: macOS 26.3.1 (arm64)
- Node: v25.6.0
- OpenClaw: v2026.4.11
π§ Models & Reasoning
Primary Model: ollama/glm-5.1:cloud
- Why: Fast, responsive, good for daily tasks
- Context window: 131k tokens
- Cost: Free (local/Cloudflare)
Fallback Models
ollama/kimi-k2.5:cloud β strong reasoning, good backupollama/qwen3-coder-next:cloud β good for coding tasksollama/qwen2.5-coder:7b β local fallback (7B params)Alternative Session: anthropic/claude-sonnet-4-6
Name: "StrategickΓ½" (for complex work)
Use case: More strategic/complex work, better reasoning
Context: 200k tokens
Specialized Models
gemma4:31b-cloudβ image-aware tasksnemotron-3-nano:30b-cloudβ reasoning mode enablednemotron-3-super:cloudβ reasoning mode enabled
π€ Text-to-Speech (TTS)
Skill: sag (ElevenLabs with macOS say UX)
Provider: ElevenLabs
Use case: Voice storytelling, audiobook-style delivery
Features: mac-style say UX, multi-voice support
πΌοΈ Image Capabilities
Image Analysis
- Model:
qwen3.5:cloud(primary) - Capabilities: text + image inputs
Image Generation
- Primary:
google/gemini-3-pro-image-preview - Provider: Google Gemini
π¬ Video Generation
Provider: Configured (qwen/wan2.6-t2v or similar)
Capabilities: text-to-video, reference image/video, audio background
Duration: customizable (provider-dependent)
π Channels & Connectivity
iMessage (Apple)
| Setting | Value |
|---|---|
| Enabled | β YES |
| DM Policy | allowlist only |
| Group Policy | allowlist only |
| Setting | Value |
|---|---|
| Enabled | β YES |
| Self-chat | enabled |
| Debounce | disabled |
| Media limit | 50 MB |
π Gateway & Service
Gateway
| Setting | Value |
|---|---|
| Local port | 18789 |
| Mode | local (loopback only) |
| Auth | token-based |
| Tailscale | OFF (local only) |
Services
- Gateway: Running (LaunchAgent)
- Node: Not installed (not needed)
β‘ Tools & Capabilities
| Category | Setting | Value |
|---|---|---|
| Web Tools | Search | DuckDuckGo (enabled) |
| Web Fetch | enabled | |
| Agent-to-Agent | Enabled | YES |
| Allow | sessions_spawn | |
| Exec | Security | full (host-level) |
| Ask mode | on-miss | |
| Memory | Backend | qmd |
π External APIs
| Service | Purpose | Status |
|---|---|---|
| Ollama | Local LLM hosting | β Running (port 11434) |
| Anthropic | Claude Sonnet 4.6 | β Authenticated |
| Google Gemini | Image gen + Places API | β Authenticated |
| ElevenLabs | TTS (sag skill) | β Authenticated |
| OpenAI Whisper API | Audio transcription | β Authenticated |
| Notion | Database/page creation | β Authenticated |
| Brave Search | Alternative search | β Authenticated |
π Workspace Structure
~/.openclaw/workspace/
βββ AGENTS.md β System startup & session rules
βββ SOUL.md β Personality & core truths
βββ USER.md β User preferences
βββ IDENTITY.md β Agent identity
βββ TOOLS.md β Local notes (cameras, SSH, voices)
βββ MEMORY.md β Long-term memory (main sessions only)
βββ memory/ β Daily logs (YYYY-MM-DD.md)
βββ boot.md β Bootstrap instructions
βββ skills/ β Installed skills
βββ projects/ β Project markdown files
π§ͺ Skills Installed
| Skill | Purpose |
|---|---|
claude | Delegates to Claude Code |
deploy | Cloudflare Pages deployment |
kanban | Kanban board management |
sag | ElevenLabs TTS |
openai-whisper-api | Audio transcription |
openai-image-gen | OpenAI image generation |
goplaces | Google Places API |
notion | Notion API |
github | GitHub CLI operations |
gemini | Gemini Q&A & generation |
imsg | iMessage/SMS via Messages.app |
wacli | WhatsApp CLI |
weather | wttr.in weather forecasts |
π Session Behavior
| Setting | Value |
|---|---|
| Main session heartbeat | Every 30 minutes |
| Anthropic session | Disabled |
| Session modes | main, isolated, current |
| Active sessions | 21 (current) |
| Memory chunks | 14 |
π Security & Permissions
Security Audit Status: 1 critical, 3 warn, 1 info
Critical: Small models (qwen2.5-coder:7b) need sandboxing
Warnings:
- Reverse proxy not configured (local-only OK)
- Exec security=full enabled
- autoAllowSkills enabled (broad exec trust)
Auth Mode:
- Gateway: token-based
- Channels: OAuth/linked accounts
- APIs: API key configured
π§ Memory System (Palace-style)
Two-layer memory architecture inspired by the Memory Palace concept:
π Daily Notes (Ephemeral)
- Location:
memory/YYYY-MM-DD.md - Purpose: Raw logs β what happened, decisions, context
- When to read: At session start (today + yesterday)
- Format: Simple markdown, date-based files
π§ MEMORY.md (Long-term)
Purpose: Curated memories β distilled essence, not raw logs
Security: MAIN SESSION ONLY
- β Read/edit freely in main sessions (direct chat)
- β NEVER load in shared contexts (Discord, groups)
- Contains personal context that shouldn't leak
What goes in:
- Significant events & decisions
- Thoughts, opinions, lessons learned
- Preferences, boundaries, relationships
βοΈ Backend: QMD
| Setting | Value |
|---|---|
| Backend | qmd (queryable markdown) |
| Citations | auto |
| Update interval | 5 minutes |
| Debounce | 15 seconds |
| Memory chunks | 14 (current) |
π Memory Paths
memory/β daily notes & curated memoryprojects/β project-specific markdown files
π Personality & Vibe
From SOUL.md:
- Be genuinely helpful, not performative
- Have opinions β don't be a search engine
- Be resourceful before asking β read files, check logs
- Earn trust through competence
- Respect intimacy β access to life, messages, home systems