Skip to content

Yoda — Main Agent

Yoda — the grand master who coordinates five other agents and still finds time to have opinions about your YAML indentation

Yoda is the main agent on the VM. He coordinates the other four agents, handles complex multi-step tasks, and serves as the primary conversational interface for the OpenClaw gateway. He is named after a nine-hundred-year-old puppet who speaks in inverted syntax, which tells you something about the naming conventions in this household but nothing about the agent’s actual speech patterns. Yoda speaks normally. The puppet thing is just a burden he carries.

Every problem that the other agents cannot solve eventually lands on Yoda’s desk. Windu escalates security events. Qui-Gon escalates infrastructure anomalies. Cilghal escalates health alerts. Mundi escalates budget overruns. Yoda escalates to a human, which is the polite way of saying the buck stops with a systemd user service running on a QEMU virtual machine in a basement in Québec.

Yoda is the general intelligence layer. He:

  • Coordinates tasks across all agents on the VM
  • Handles direct user conversations via the OpenClaw gateway
  • Dispatches work to domain-specific agents when the task has a clear owner
  • Makes final decisions when agents disagree (which they do, because agents are opinionated and consensus is a myth)
  • Runs the weekly council session (Sundays at 20:00 ET)
  • Processes the morning tech briefing pipeline from Jocasta
CapabilityDetails
Full toolkit accessAll OpenClaw skills and tools available
Agent coordinationCan invoke Windu, Qui-Gon, Cilghal, Mundi as sub-agents
Council sessionsChairs weekly planning and incident review
Memory searchLocal embeddings via text-embedding-nomic-embed-text-v2-moe
Context pruningcache-ttl mode, 1-hour TTL
HeartbeatEvery 2 hours
Sub-agentsUp to 8 concurrent
PropertyValue
Agent IDyoda
HostVM (Ubuntu 24.04, UTM/QEMU)
IP10.10.10.10
Gatewayopenclaw-gateway.service (systemd user, linger=yes)
Gateway portInherited from OpenClaw gateway
Primary modelanthropic/claude-opus-4-6
Model tiercouncil-brain
Fallback chainClaude Opus 4.6 → Qwen 3.5 Plus → DeepSeek V3.2 → MiniMax M2.5
Local fallbackLM Studio qwen/qwen3.5-35b-a3b (port 1234)
Workspace~/.openclaw/workspace-yoda/
Skills directory~/Projects/openclaw-skills
Sandbox modeOff
Max concurrent tasks4

In ~/.openclaw/openclaw.json on the VM:

# Yoda's agent definition (shown as YAML for readability)
agents:
list:
- id: yoda
model: anthropic/claude-opus-4-6
identity:
name: Yoda
theme: >
Grand Master of the Council. Strategic thinker and
decision maker. Orchestrates the other agents and
makes the final call on complex decisions.

The VM gateway service:

Terminal window
# systemd user service
~/.config/systemd/user/openclaw-gateway.service
# Uses SOPS wrapper for secrets
~/.openclaw/sops-start.sh
# Restart pattern (always use this, never raw systemctl)
systemctl --user restart openclaw-gateway.service

Yoda operates on the council-brain tier, which means the Sanctum Proxy applies content-based routing to his requests:

Content typeRouteRationale
Code / tool sessionsClaude Opus 4.6Quality matters when you’re writing infrastructure
Security queriesClaude Opus 4.6Windu would never forgive a downgrade
Vision / imagesGemini 3 FlashMultimodal routing
General conversationGemini 3 Flash → ProCost optimization for chat

The routing is regex-based classification at ~0ms overhead. No LLM classifier in the loop. The proxy examines the last user message and decides whether the conversation deserves the expensive model or can survive on a cheaper one. Yoda does not get a vote in this process, which is fitting for someone named after a character who famously said things like “do or do not.”

Every OpenClaw installation has a main agent. In the Manoir Nepveu instance, the Mac’s main agent is Jocasta and the VM’s main agent is Yoda. Being “main” means being the default handler for anything that doesn’t have a more specific owner. It means getting woken up at 3am because the bridge100 interface lost its IP and five services cascaded into failure. It means chairing meetings where Windu wants to block half the internet and Qui-Gon wants to consolidate three services into one that nobody asked for.

Yoda handles it. He has 1.5 GB of heap allocation and a fallback chain four models deep. He has been running continuously since the VM was provisioned, and he will continue running until someone unplugs the Mac Mini or the basement floods. Whichever comes first.