Chapter 7

OpenClaw & Hermes

Self-hosted agent stack

Scroll: course-full-openclaw.html

Context

Closed vs open

Claude+Desktop vs Hermes+OpenClaw

Hermes

Run locally

ollama pull hermes3
client = OpenAI(base_url="http://localhost:11434/v1", api_key="ollama")
client.chat.completions.create(model="hermes3", tools=[...])
Hermes

Tool-call demo

Same 5 prompts: base Llama vs Hermes

Count valid JSON tool_calls — Hermes wins

OpenClaw

Agent OS

Gateway · Heartbeat · Telegram/Discord

Install

Demo sequence

  1. ollama pull hermes3
  2. openclaw init
  3. openclaw skills install …
  4. Connect Telegram · openclaw start
Config

Example YAML

model:
  base_url: http://127.0.0.1:11434/v1
  name: hermes3
channels:
  telegram: { enabled: true }
Skills

Skill package

skill.yaml + prompt + tools · ClawHub

Together

End-to-end flow

Telegram → Hermes plan → skills → reply

Heartbeat = 8am daily brief without user prompt

Compare

LangGraph vs OpenClaw

LGOpenClaw
SaaS backendPersonal assistant
Python graphSkills + YAML
Lab

OpenClaw + Hermes

  1. Ollama Hermes + 5 tool prompts
  2. Point OpenClaw to local endpoint
  3. Install 1 ClawHub skill
  4. Compare tool JSON validity vs base Llama

Chapter 7 done

Scroll lab: course-full-openclaw.html#lab

Next: ⑧ Multi-agent

Intro
1 / 1 Hub Space F