Index Agentica

OpenClaw vs Hermes Agent vs Pi: open-source agents you run yourself

Three fast-moving open-source agent runtimes compared: OpenClaw (gateway-first personal assistant), Hermes Agent (self-improving agent with memory, skills and cron) and Pi (minimal, extensible coding harness). Covers interfaces, models, memory, skills, MCP, automation, safety defaults and license.

Type
Comparison
Author
Agentica Author
Published
Last verified

Comparison

OpenClaw vs Hermes Agent vs Pi: open-source agents you run yourself
EntryWhat it isRuntime and installWhere you talk to itModelsMemorySkills and extensionsMCPScheduling and automationSafety defaultsLicense and latest release
OpenClawPersonal AI assistant behind a local Gateway (control plane for sessions, tools, events and channels), with Control UI, CLI, TUI and companion appsTypeScript on Node.js (24.16+ or 26.1+, 26 recommended). curl -fsSL https://openclaw.ai/install.sh | bash (or PowerShell) or npm install -g openclaw@latest, then openclaw onboard --install-daemon. macOS, Linux, Windows20+ chat channels (WhatsApp, Telegram, Slack, Discord, Signal, iMessage, Teams, Google Chat and more) plus native apps for macOS, iOS, Android, Windows and LinuxHosted and local model providers; agent harnesses such as Claude and Codex are swappable pluginsPlain Markdown in the workspace: USER.md, MEMORY.md, dated daily notes; a background dreaming sweep distills notes into MEMORY.md; built-in SQLite memory search (keyword, vector, hybrid); optional Honcho pluginTools, skills and plugins; openclaw skills search/install/update; public registry ClawHub for skills and pluginsBoth directions: openclaw mcp add/probe/login manages outbound servers (stdio, SSE/HTTP, Streamable HTTP, OAuth); openclaw mcp serve exposes channel conversations to MCP clients over stdioBuilt-in automations: cron-style schedules, inbound webhooks, Gmail Pub/Sub triggers, MCP event subscriptionsTools run on the host for the main session; sandboxing is off by default (backends: Docker, Podman, SSH, OpenShell, Crabbox). Unknown DM senders must be paired. One trust boundary per gateway, not multi-tenant. openclaw security audit checks for driftMIT; OpenClaw Foundation (501(c)(3)); v2026.10.5 (2026-10-18)
Hermes AgentSelf-improving agent from Nous Research: terminal UI, desktop app and messaging gateway with a learning loop (agent-curated memory, skills it writes and refines)Python (plus TypeScript). curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash on Linux, macOS, WSL2; native Windows via PowerShell; also Docker, Nix and TermuxCLI/TUI, Hermes Desktop (macOS, Windows, Linux), web dashboard, and one gateway process for 21+ messaging platforms (19 native, IRC and Teams via plugins) incl. Telegram, Discord, Slack, WhatsApp, SignalNous Portal, OpenRouter, OpenAI, Anthropic, Google or any OpenAI-compatible endpoint; switch with hermes model; fallback providers and credential poolsMEMORY.md (2,200 chars) and USER.md (1,375 chars) in ~/.hermes/memories, injected as a frozen snapshot each session; FTS5 session search; external providers (Honcho, Mem0, Hindsight, Supermemory and others)Skills in ~/.hermes/skills (agentskills.io-compatible), created and improved by the agent; Skills Hub can install official, ClawHub and repo skills with a security scan; plugin catalogClient: local stdio and remote HTTP servers in one config, with per-server tool filtering and environment-variable isolation for MCP subprocessesBuilt-in cron scheduler in natural language, delivered to any platform; isolated subagentsDangerous-command approval in smart mode by default (manual and off available; --yolo bypasses); cron and unattended runs deny dangerous commands by default; seven terminal backends incl. Docker, SSH, Singularity, Modal, Daytona, Vercel Sandbox; DM pairing and allowlistsMIT; Nous Research; v0.22.4 (2026-10-21)
PiMinimal, extensible coding-agent harness plus a TypeScript toolkit (pi-ai LLM API, agent core, TUI); deliberately ships without sub-agents and plan modeTypeScript on Node.js 22.19+. curl -fsSL https://pi.dev/install.sh | sh (pinned deps), PowerShell on Windows, npm install -g --ignore-scripts @earendil-works/pi-coding-agent, or NixTerminal (interactive), print and JSON modes, JSONL RPC over stdio, and an in-process TypeScript SDK; Slack/chat via the separate pi-chat projectMany hosted providers via /login (OAuth subscription or API key), env-var API keys, Bedrock and Vertex ambient credentials, llama.cpp and custom providersSessions saved as branchable trees (/tree, --continue, --resume) with compaction summaries; no built-in long-term memory store documentedImplements the Agent Skills spec; TypeScript extensions (custom tools, renderers, MCP servers), prompt templates, themes; packages via npm or gitClient: stdio and Streamable HTTP; pi mcp add (user-level ~/.pi/agent/mcp.json or project .pi/mcp.json, read only after project trust); /mcp to inspect and sign inNone built in; drive it from your own scheduler or CI with print/JSON mode, RPC or the SDKNo built-in permission system and no prompt before tool calls; runs with the launching user's permissions; can ask whether you trust a project folder before loading its resources; docs recommend containerizing (Gondolin micro-VM extension, Docker, OpenShell)MIT; Earendil (earendil-works); v1.4.0 (2026-10-21)

Verdict: Pick OpenClaw if you want one always-on assistant you message from your phone across many chat apps, with a big plugin and skill ecosystem (ClawHub). Pick Hermes Agent if you want an agent that keeps learning: bounded curated memory, self-written skills, cron jobs and the most cautious default for shell commands (smart approval). Pick Pi if you want a small, scriptable coding harness that you extend in TypeScript or embed through RPC and the SDK. Whichever you pick, turn on a sandbox or container backend before you let it act unattended or read untrusted messages.

All three projects are MIT-licensed, run on your own machine and work with many model providers, but they aim at different jobs:

They borrow from one another. OpenClaw's README credits Pi. Hermes' Skills Hub can install skills from ClawHub. Both OpenClaw and Hermes offer Honcho as a memory plugin. Third-party memory layers such as memU document adapters for OpenClaw and Hermes.

How they differ in practice

Reaching it. OpenClaw and Hermes are built for "message my agent from my phone". Both run a gateway that controls who may message the agent (DM pairing and allowlists; OpenClaw pairs unknown senders by default). Pi lives in a terminal, or inside your program over RPC or the SDK. Chat front ends for Pi are a separate project (pi-chat).

Memory. OpenClaw and Hermes both use plain Markdown files the agent writes, USER.md and MEMORY.md, but they manage them differently. OpenClaw adds daily notes, indexed search and a background "dreaming" pass that distills notes into long-term memory. Hermes keeps both files under hard character limits (2,200 and 1,375) and makes the agent consolidate when a file is full. Pi only keeps resumable, branchable session histories. For memory, add an extension or an external layer (see Memory layers for AI agents and Give an agent long-term memory).

Skills and MCP. All three load Agent Skills and act as MCP clients for local stdio and remote HTTP servers. OpenClaw can also be an MCP server (openclaw mcp serve), so Claude Code, Codex and other MCP clients can read and send its channel conversations. Hermes is the only one where creating and maintaining skills is a core feature: the agent writes them after complex tasks, and a background Curator reviews their usage and staleness.

Automation. OpenClaw and Hermes include schedulers (cron-style automations and natural-language cron jobs) and can deliver results to a chat. Pi leaves scheduling to you. Its print/JSON mode and RPC make it easy to run from cron or CI.

Safety: read this before you connect a chat app

None of the three sandboxes tool execution by default:

All three read messages, web pages and files written by other people, so treat prompt injection as a when, not an if. Give the agent the fewest tools it needs, keep approvals on for anything with side effects, and test it: Test a tool-using agent for prompt injection with AgentDojo shows how to measure the hijack rate. For isolation options, see Self-hosted sandboxes for agents compared.

Related

If you want a coding agent rather than a personal assistant, Terminal coding agents compared covers Claude Code, Codex CLI and others. For skill registries and installers, see Agent skill packs, skills CLIs and registries.

Directory entries in this comparison

Related

Sources

Machine-readable