AGENT HARNESSES
Shared explainer
Keypad or type your PIN
AGENT HARNESSES
Research explainer · 14 Aug 2026

Agent Harnesses: What They Are & How Hermes, Codex, Claude Code and DeepSeek Harness Fit Together

The software layer that turns a language model into an agent, and where four harnesses sit in the same category.

FACTS in normal text. SPECULATION in italics.
Nous Research · 14 Aug 2026 · Shared
Section 01

What is a harness?

An agent harness is the software layer that wraps a language model and turns it from a text predictor into an agent that can act in the real world.

DeepSeek's own framing is Agent = Model + Harness. The model is the soul; the harness lets the agent understand its environment, use tools, and keep working in real-world settings (source).

A harness provides: tool calling (file read/write, shell, web), memory and context management, planning, subagents, sandboxing, session logs, and a UI, terminal or web (source).

Without a harness, an LLM is just a chat box. With one, it can edit code, run commands, browse, and complete multi-step tasks.

Every major agent product is a harness: Claude Code, Codex, Hermes, OpenClaw, and now DeepSeek Harness (source).

Section 02

Harness vs Codex vs Claude Code

"Harness" is the category. Codex and Claude Code are specific branded products in that category, like "car" vs "Toyota" and "Honda".

ProductMakerModelsInterfaceOpen sourceStandalone?
HermesNous ResearchAny LLM (OpenRouter, Anthropic, OpenAI, DeepSeek, local, 20+ providers)Terminal CLI + Telegram/Discord/WhatsApp gatewayOpen sourceYes, fully standalone
Claude CodeAnthropicClaude models (Sonnet/Opus/Haiku)Terminal TUIClosed sourceYes
CodexOpenAIGPT modelsTerminal CLIClosed sourceYes
DeepSeek Harness (dsh)DeepSeek AIAny model via pluginsWeb UI (localhost:3080)Open source (MIT)Yes
All four are harnesses. They differ in which models they run, how they're controlled, and what extra capabilities they ship (memory, skills, multi-platform, plugin systems).
Section 03

Can Hermes connect to Codex or Claude Code?

Yes, two distinct ways.

1. Hermes as orchestrator (delegation). Hermes spawns Codex or Claude Code as subprocesses via its terminal, gives them a task, monitors progress, and relays results. Dedicated skills (codex, claude-code) document the exact commands: codex exec 'task' for one-shots, claude -p 'task' print mode, or tmux for interactive multi-turn sessions. This is how Hermes runs parallel coding agents on separate worktrees (source).

2. Hermes as provider consumer. Hermes can use OpenAI Codex as a model provider (model.provider: openai-codex with OAuth via hermes auth add openai-codex). Anthropic models are also a first-class provider (source).

Section 04

Does Hermes have its own internal harness?

Yes. Hermes IS a harness. It does not need Codex or Claude Code to function.

Section 05

Do we need to configure?

Yes, if you want Hermes to delegate to Codex or Claude Code. Current status on this Mac (checked 14 Aug 2026): neither CLI is installed.

Required setup, with user permission (install gate):

Section 06

DeepSeek Harness (dsh), the new one

DeepSeek Harness is DeepSeek AI's open-source agent harness, released in developer preview (Aug 2026). MIT license, ~39.8k GitHub stars within days (source, source).

Can Hermes connect to it? Honest answer.

There is no native Hermes↔dsh integration (no provider entry, no MCP server, no documented bridge) as of 14 Aug 2026. dsh is a harness, not a model API, so it can't be added as a model provider. Like Codex or Claude Code, it could be run as an external CLI process from Hermes' terminal (npx @deepseek-ai/dsh ...), with Hermes orchestrating it. The DeepSeek models themselves are already first-class in Hermes via the DEEPSEEK_API_KEY provider, so you don't need dsh to use DeepSeek models with Hermes (source).

Recommendation: watch it, don't build on it yet. Dev preview plus breaking changes. Re-evaluate when it hits stable.

Section 07

Bottom line

Sources

Sources