Pi vs Hermes Agent: which to run, and on a server
Pi 1.6.1 vs Hermes Agent v0.23.4: what each is for, install, Claude and ChatGPT sign-ins, extensions, chat gateways, cron, memory, and which to pick when.
They do different jobs. Pi (1.6.1, November 25, 2026) is a minimal coding agent for your terminal that does not ask before each tool call, and grows through TypeScript extensions, skills and packages you add. Hermes Agent (v0.23.4, November 23, 2026) is Nous Research’s personal agent: a background gateway you message from Telegram, Discord, Slack, WhatsApp and more, with its own memory, skills it writes itself, and a cron scheduler. Pick Pi to write code with an agent you shape yourself; pick Hermes for an assistant that runs around the clock and answers you in chat. Both are MIT-licensed, and both offer a Claude sign-in, a ChatGPT sign-in and API keys, though Hermes’s own Claude sign-in works only on Max with extra usage bought.
Side by side
| Pi | Hermes Agent | |
|---|---|---|
What it is | Terminal coding agent you extend | Personal agent with chat gateways, memory and scheduling |
Latest release | 1.6.1, Nov 25, 2026 | v0.23.4, Nov 23, 2026 |
Runtime | Node.js 22.19 or newer | Python 3.14, brought by the installer |
Asks before acting | No; it shows each action as it runs | Yes: a second model judges risky commands |
Extending it | TypeScript extensions, skills, packages, MCP | Skills (it writes its own), Python plugins, MCP |
Chat apps | None in its docs | 28 in its docs’ table, counting variants of one app, from Telegram and WhatsApp to Microsoft Teams |
Scheduled jobs | None built in | Built-in cron, delivered to any platform |
Memory across sessions | Session files and AGENTS.md | MEMORY.md, USER.md, searchable history |
Driven by another program | Print, JSON and RPC modes, SDK | The gateway, webhooks, API sessions |
Licence | MIT | MIT |
What each is for
Pi’s README calls it “a minimal, extensible agent harness that you can make your own”, and says it “skips features like sub-agents and plan mode.” It started as Mario Zechner’s pi-mono; the old badlogic/pi-mono address now leads to earendil-works/pi. You run it in a project folder and it reads, edits and runs commands there. What Pi is covers its design and what it leaves out.
Hermes’s README calls it “the self-improving AI agent built by Nous Research.” It codes too, but its shape is a long-running process that carries one agent, its memory and its skills into the terminal, a desktop app and your chat apps. What Hermes Agent is covers the rest. If you are weighing it against other assistants of that kind rather than against a coding agent, Hermes Agent alternatives is the closer comparison.
Install and requirements
# Pi (needs Node.js 22.19 or newer)
curl -fsSL https://pi.dev/install.sh | sh
# or
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
# Hermes (Linux, macOS, WSL2; needs git, curl, tar, sha256 tools)
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setupCopiedPi is one npm package. Hermes’s installer brings its own “pinned Python, Node.js, npm, pnpm, ripgrep, and FFmpeg” and, by default, a Chromium for its browser tools (--skip-browser leaves it out). It puts the code in ~/.hermes/hermes-agent/, the launcher in ~/.local/bin/hermes and your data in ~/.hermes/. Neither maker publishes a hardware minimum. Server walkthroughs are in installing Pi on Linux and installing Hermes.
Models, keys and subscriptions
Both take API keys for the major providers and self-hosted model servers. Pi’s providers page lists about 35 API-key variables, from ANTHROPIC_API_KEY and OPENAI_API_KEY to OPENROUTER_API_KEY, and you connect one inside Pi with /login. Hermes picks a provider with hermes model, and its provider docs call Nous’s own Portal “the recommended way to run Hermes Agent.” Sign-ins with a subscription differ:
| Subscription | Pi 1.6.1 | Hermes v0.23.4 |
|---|---|---|
Claude | “Anthropic (Claude Pro/Max)”, with a copy-code login for a machine with no browser | Max with extra usage bought only; “Claude Pro subscribers cannot use this path” |
ChatGPT | Two sign-ins: “OpenAI (ChatGPT subscription)”, and “OpenAI (ChatGPT Plus/Pro)” with a device code for a machine with no browser | “ChatGPT or Codex Subscription”, by device code, using Codex models |
GitHub Copilot | Supported, by sign-in or COPILOT_GITHUB_TOKEN | No longer built in; an unsupported labs plugin |
On Claude, Hermes’s docs say its own sign-in draws only on the extra usage you have bought, never on the Max plan’s included allowance. Pi’s docs at 1.6.1 say nothing about how its Claude sign-in is billed, but its source still carries the notice it shows when that sign-in is active: “Third-party harness usage draws from extra usage and is billed per token”. Routes that hand the request to your installed Claude Code instead, Anthropic’s terms on third-party sign-ins, and the billing for each are in using a Claude subscription with Hermes, Pi or OpenCode.
Extending them
Pi’s docs define extensions as “TypeScript modules that extend Pi’s behavior”, loaded from ~/.pi/agent/extensions/ or a trusted project’s .pi/extensions/. Packages bundle extensions, skills, prompt templates and themes, and install with pi install npm:<package> or a git address. MCP servers go in ~/.pi/agent/mcp.json or through pi mcp add. Pi’s extensions covers them in detail.
Hermes’s skills live in ~/.hermes/skills/, follow the open Agent Skills format, and the agent creates, edits and deletes them itself; hermes skills install adds others from hubs such as skills.sh and ClawHub, each through a security scan. Plugins are Python, live in ~/.hermes/plugins/, are switched on with hermes plugins enable <name>, and can add tools, hooks, chat platforms and model providers. MCP servers go under mcp_servers in ~/.hermes/config.yaml. Hermes Agent skills covers the learning loop. Both makers say the same of their extension code: Pi’s extensions “run with your full system permissions and can execute arbitrary code,” and Hermes’s plugins “run as regular in-process Python.” Install only what you trust.
Running it unattended on a server
This is where the two part most. Hermes is built to stay up. Its messaging docs give a system service for a VPS that should come back at boot:
hermes gateway setup # interactive wizard for the platforms
sudo hermes gateway install --system # Linux; runs as your user, starts at boot
sudo hermes gateway start --system
hermes cron create "every 2h" "Check server status"CopiedCron jobs run inside the gateway, so they fire only while it is up. The gateway refuses anyone not on an allowlist or paired by DM, and its approval rules deny a command that needs approval in a cron job or an unattended API session rather than waiting for an answer.
Pi has no gateway or scheduler. It has non-interactive modes that another program or your own cron entry can drive:
pi -p "summarise the failing tests" # print the answer and exit
pi --mode json "..." # JSONL events on stdout
pi --mode rpc --no-session # long-lived, JSON commands on stdinCopiedIts RPC page describes that last as “a long-lived subprocess controlled through JSON records on stdin and stdout”, for IDEs and custom interfaces. To keep an interactive Pi running after you disconnect, run it inside tmux; Pi’s docs have a page on the tmux key settings it needs. Because Pi does not ask before tool calls, its quickstart says: “For untrusted or unattended work, use a container or another sandbox.” On a server, that means a machine or container that holds only what the job needs.
Memory and state
Pi keeps sessions as files under ~/.pi/agent/sessions/, grouped by folder, as a tree you can branch with /tree and /fork; pi --continue resumes the most recent one in the current folder. What carries between sessions is what you write into AGENTS.md or CLAUDE.md. Keys and tokens are in ~/.pi/agent/auth.json.
Hermes keeps two small files in ~/.hermes/memories/, MEMORY.md (2,200 characters) and USER.md (1,375), loaded into the prompt at the start of each session, and stores every CLI and chat session in ~/.hermes/state.db, which the agent searches when it needs something from the past. External memory providers can run beside them as plugins.
Which to pick
- You want a coding agent in a terminal, small and shaped your way: Pi. Its comparisons with Claude Code and OpenCode are the closer fight.
- You want to message an agent from your phone and have it run jobs on a schedule: Hermes.
- You want it to remember you across weeks without writing the notes yourself: Hermes.
- You are building it into your own program and want a process to drive over JSON or a TypeScript SDK: Pi.
- You want approval prompts by default: Hermes. Pi leaves them to an extension or to the sandbox around it.
- You are on Claude Pro: Hermes’s own Claude sign-in will not take it, and Pi’s is labelled for Pro and Max; read the subscription guide above on how each is billed before choosing on that.
They also run side by side. On one server, Hermes can sit in the gateway answering chat while Pi works in a project folder; each keeps its own settings, under ~/.hermes and ~/.pi.