hermes

An integration that runs Hermes Agent, an autonomous coding agent from NousResearch, inside an isolated agentkernel sandbox. Hermes includes tools for terminals, files, web searches, browser automation, vision, and code execution.

In plain words
What is it for?
Use it to create and start a Hermes sandbox, launch the agent, and run its supported coding and automation tasks.
Why use it?
It provides a contained environment for Hermes to work in while keeping its tools and learned skills available to the agent.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/thrashr888/agentkernel/hermes
Clone the repo
git clone --depth 1 https://github.com/thrashr888/agentkernel
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,024 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01024
Opus 5 $0.00000 $0.00512
Sonnet 5 $0.00000 $0.00205
Haiku 4.5 $0.00000 $0.00102

Measured 2d ago against content hash c56e7842dd1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

hermes scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

# Or: curl -fsSL https://raw.githubusercontent.com/thrashr888/agentkernel/main/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Or: curl -fsSL https://raw.githubusercontent.com/thrashr888/agentkernel/main/install.sh | sh
docs/agents/hermes.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hermes Agent

Run Hermes Agent (NousResearch) with agentkernel for isolated code execution.

Quick Start

Hermes Agent is a self-improving autonomous AI agent with 40+ built-in tools including terminal, file operations, web search, browser automation, vision, and code execution. It features persistent memory and a skills system that learns from experience.

# Option 1: Use the built-in template
agentkernel run --template hermes-sandbox -- python -m hermes_cli.main --help

# Option 2: Use the Dockerfile example
agentkernel sandbox create hermes-dev --config examples/agents/hermes/agentkernel.toml
agentkernel sandbox start hermes-dev
agentkernel attach hermes-dev

Setup

1. Install agentkernel

brew tap thrashr888/tap && brew install agentkernel
# Or: curl -fsSL https://raw.githubusercontent.com/thrashr888/agentkernel/main/install.sh | sh

2. Create and start a sandbox

agentkernel sandbox create hermes-dev --config examples/agents/hermes/agentkernel.toml
agentkernel sandbox start hermes-dev

3. Launch Hermes

agentkernel attach hermes-dev
# Inside the sandbox:
cd /opt/hermes-agent && python -m hermes_cli.main

API Keys

Hermes supports multiple LLM providers via LiteLLM. Pass at least one provider key:

# OpenRouter (recommended - access to all models)
export OPENROUTER_API_KEY=sk-or-...

# Anthropic (direct)
export ANTHROPIC_API_KEY=sk-ant-...

# OpenAI (direct)
export OPENAI_API_KEY=sk-...

Configuration

Hermes uses two config files inside ~/.hermes/:

  • .env - API keys and backend settings
  • config.yaml - Model selection, tools, memory, compression settings

Key config options in config.yaml:

model:
  default: "anthropic/claude-opus-4.6"
  provider: "auto"

terminal:
  backend: "local"
  timeout: 180

toolsets:
  - all

memory:
  memory_enabled: true

Run hermes setup inside the sandbox for a guided configuration wizard.

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 154 lines · 0 tokens per session scan C c56e7842dd1b

Subscribe to this mod's changes

hermes is an agent published in the GitHub repository thrashr888/agentkernel (58 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,024 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.