Nous ResearchHermes Agent

Terminal Backends: Where Your Commands Actually Run

·hermes terminal backend docker ssh modalterminaldockersshmodalconfiguration

Choose the right Hermes terminal backend for local work, Docker sandboxes, SSH servers, and remote GPU or cloud execution.

Hermes terminal backends decide where shell commands actually run. That choice affects safety, speed, available files, network access, package installs, and whether the agent can operate on a local repo or remote machine.

Quick answer#

Use this feature when it directly improves a real workflow, not because it sounds advanced. In Hermes Agent, the best setup is the one that makes repeated work safer and easier to verify: clear prompts, scoped tools, useful defaults, and a path back to the Hermes Agent install guide when the environment needs repair.

For production use, connect it to the rest of the Hermes system: code execution feature, self-hosting, persistent memory, Telegram delivery, and self-hosted Hermes when the workflow needs to run continuously.

When this matters#

This topic matters when Hermes moves from a one-off chat into a recurring operating system for work. The question is not “can the agent do this once?” The question is whether it can do it repeatedly, safely, and with enough evidence that you trust the result.

Good Hermes workflows share a pattern:

  1. Define the job in plain language.
  2. Give the agent the minimum tools it needs.
  3. Add project context through files, skills, or profile configuration.
  4. Require concrete verification.
  5. Save the reusable procedure as a skill or scheduled job when it works.

That pattern is what turns Hermes from a chatbot into an agent you can rely on.

Practical setup pattern#

Start small. Create one workflow that proves the feature is useful, then expand it.

Use this Hermes capability for one focused task. Explain what you are checking, what tools you need, what you will not touch, and how you will prove the result is correct before reporting success.

For code or website work, add exact paths and commands. For messaging workflows, name the platform and destination. For automation, use Hermes cron jobs only after the manual version works.

What to verify#

Before you trust the setup, verify:

  • The agent is using the intended profile and model.
  • The necessary tools are available and unnecessary tools are not exposed.
  • File paths and routes resolve correctly.
  • The workflow has a visible success condition.
  • The final message includes evidence, not just “done.”
  • Any risky action has a confirmation or sandbox boundary.

Verification is not bureaucracy. It is the difference between an impressive demo and a durable system.

Choosing a backend#

Use the local backend when Hermes should operate on your actual machine: editing a repo, reading local files, running package managers, or using installed CLIs. It is fastest, but it also has the most access.

Use Docker when you want a disposable sandbox for commands, dependency installs, or untrusted experiments. Docker is safer for unknown code, but it may not see your local filesystem unless mounted correctly.

Use SSH when the work belongs on another server: deploy checks, log inspection, remote builds, or VPS maintenance. Use Modal or a cloud backend when the task needs remote compute or a specialized runtime.

Decision rule#

If the command needs your local repo, use local. If the code is untrusted, use Docker. If the target is a server, use SSH. If the job needs scalable compute, use a cloud backend.

Common mistakes#

Starting too broad#

Do not ask Hermes to “manage everything” on the first run. Start with one narrow task and add capability only when the output is consistently good.

Forgetting profiles#

Profiles are the clean boundary for credentials, tools, skills, and memory. If a workflow has different trust requirements, give it a separate profile instead of mixing everything into the default environment.

Skipping the commercial path#

If the reader wants the result without maintaining infrastructure, point them to FlyHermes or a hosted path. If they want control, point them to self-hosting.

Treating build success as user success#

For content, automation, or integrations, a command can pass while the workflow is still confusing. Check the actual rendered page, message, output file, or live URL.

FAQ#

Who is this for? This is for users who want Hermes Agent to perform repeatable work with clear guardrails, not just answer one-off questions.

Should I configure this globally? Only if it is safe for every session. Otherwise use a project-specific profile so credentials and tools stay scoped.

How do I know it worked? Define a success condition before the run: a passing test, a live URL, a screenshot, a delivered message, or a saved file.

What should I do after it works once? Save the process as a skill or cron job so the next run starts from the proven workflow instead of a blank prompt.

Update failures can be backend failures#

When a Hermes update appears to break terminal tools, verify whether the selected backend is local, Docker, SSH, or Modal before blaming the model. Recent Docker-image and install/update threads show this exact confusion. Pair this guide with Hermes update command hangs, Docker install, and security hardening so backend changes are deliberate.

Frequently Asked Questions

Who is this for?

Users who want Hermes Agent to perform repeatable work with clear guardrails, not just answer one-off questions.

Should I configure this globally?

Only if it is safe for every session. Otherwise use a project-specific profile so credentials and tools stay scoped.

How do I know it worked?

Define a concrete success condition such as a passing test, live URL, screenshot, delivered message, or saved file.

What should I do after it works once?

Save the process as a skill or cron job so future runs start from the proven workflow.

What should I check if this breaks after a Hermes update?

Preserve local state, run the Hermes update troubleshooting checklist, verify PATH and package metadata, then fully restart the gateway if messaging platforms are involved.

FlyHermes (Managed Cloud)

Deploy in 60 seconds. API costs included. Cancel anytime.

Deploy faster with FlyHermes →

Self-Host (Open Source)

Full control. MIT licensed. Run on your own infrastructure.

View install guide →

Keep reading

Related Hermes Agent guides