Free

Hermes Agent: run an AI assistant with memory

Set up Hermes Agent as a separate assistant. Test one file task, memory between sessions, permissions, costs and stopping.

Tools

How to install · Download the app · Download source (ZIP)

Hermes Agent works with files and tools, keeps short notes between sessions and can operate through messaging platforms. Use it when you want a separate configurable assistant with its own models, memory and automation.

What it is useful for

For example, the assistant summarizes your notes and remembers the format you chose for the next session. Later, you can connect the task to a bot or schedule. Start with one local chat and a practice folder.

Hermes is a standalone environment. Codex can help prepare and test it, but this is not a Codex plugin or an automatic transfer of Codex memory. Choose the model separately: the official wizard offers Nous Portal, OpenRouter, API providers, local endpoints and ChatGPT/Codex subscription login. Each route has its own access and usage conditions. The agent's MIT license does not pay for models, hosting or external tools.

How to install and choose a minimal setup

For macOS and Windows, the official quickstart offers a Desktop installer; Linux, macOS, WSL2 and native Windows also have separate source installers. First check the installation route for your OS. The current guide lists macOS Desktop for Apple Silicon. Do not use another platform's command at random.

Read a downloaded script before execution. Source installation prepares managed Python, Node.js and other tools through PM and can download a browser and computer-use driver. This is more than a Python library. The assistant shows what will be installed and where; screen access, accounts and services need separate agreement. Do not disable antivirus or certificate checks to install it.

If Hermes is already installed, check the version and existing profiles first:

hermes --version
hermes profile list
hermes doctor

doctor reports installation health, not a successful model response or completed task. Investigate a warning before updating or reinstalling.

For the trial, the assistant creates a separate profile without cloning another profile's .env, memory or schedules. It finds an unused name and selects that profile explicitly. Setup offers Blank Slate: model, file operations and terminal tools remain, while other capabilities are off. Enable memory separately to test it. A profile separates settings and data, not OS access; also restrict the working folder and file/terminal permissions.

How to test a first task and memory

  1. After you agree on the provider and usage, Codex opens the practice profile and asks Hermes to summarize two dummy files in that folder. It checks each claim against the input and inspects the output. This trial needs no gateway, schedules, extra MCP servers or other agents.
  2. Codex separately enables the required built-in memory store with write approval. It asks Hermes to save a practice rule through memory, such as “practice summaries end with three conclusions,” and checks the tool call and selected profile file. You only need to review and approve the proposed entry. “I remembered it” without a write is not a result.
  3. Codex tests the rule on another summary in a new session of the same profile. If it cannot open one itself, it asks you only to open the session. After you approve deletion of that specific practice entry, it checks the memory file and another new session. Removing memory does not erase the original message from session history.

hermes --continue resumes the old conversation. It is useful but does not test memory at a fresh start. Do not let two agents write to one Hermes home simultaneously; give independent work a different profile.

Where memory lives and what uses your allowance

Built-in MEMORY.md and USER.md live in the selected profile's memories directory. They hold bounded notes and preferences; session history is separate and searchable through session_search. A new session loads a memory snapshot. Current writes do not refresh the snapshot of another session that is already running.

Configuration, authentication, notes and history are different data. Do not paste .env or authentication files into chat or Git. Local memory storage does not make a cloud model local: the chosen provider receives task context. External memory is a separate connection that can add another service.

Automatic background review can save lessons and improve skills, but it also uses tokens. For a minimal trial, disable it separately through auxiliary.background_review.enabled and require approval for memory and skill writes. Hiding memory notifications does not disable review. Compare task completion, unnecessary retries and actual usage rather than promising savings from one short run.

For Telegram or Discord later, verify a normal chat before configuring the gateway. Restrict access to specific users or approved pairing; do not allow everyone. Test rejection of an unauthorized user before granting file access. Container safety also depends on mounted directories, networking and forwarded secrets; a new profile alone does not handle these.

What you get and how to stop it

The first trial produces a summary checked against files and a verified memory write and deletion. Continue with an Obsidian knowledge base or connecting and testing a tool. For memory in a supported existing client, explore Claude-Mem separately rather than enabling two systems unnecessarily.

End the practice chat and check processes belonging to that profile. If gateways, services or schedules were enabled later, verify their shutdown separately; closing a window does not prove background work stopped. Delete a practice profile only after inspecting it: deletion includes configuration, memory, history and skills. Do not delete the shared Hermes home or revoke a key used by other apps without a separate decision.

Prompt for Codex

Paste into Codex to prepare a separate Hermes environment:

Help prepare and, after agreement, test Hermes Agent on a practice task. Find the current project, rules, OS, existing Hermes installation and profiles. Read the official quickstart and installation guide at https://hermes-agent.nousresearch.com/docs/. Hermes is a separate agent, not a Codex plugin; do not automatically transfer my accounts, history or memory.
Show the appropriate official installer, changes, downloads and permissions. If installation is needed, read the downloaded script first and wait for agreement. Do not disable system protections. For an existing installation, investigate its version and diagnostics before reinstalling.
Propose a separate practice profile without cloning secrets or other memory. Find an unused name and paths yourself. A profile is not a sandbox: restrict the working folder and tools for the task. Agree on provider, model, login and usage. Do not enable gateway, cron, external memory, extra MCP servers, delegation or background learning for the first test.
After agreement, ask Hermes to summarize two dummy files in the practice folder. Check facts and the created file. Separately enable the required built-in memory with write approval, save one practice rule through memory and verify the selected profile's actual write.
Test the rule in a new session of the same profile with another example. Do not treat --continue as fresh-context verification. Show the practice entry, ask for agreement to remove it, then check the file and another new session. Preserve other entries and explain that session history is separate from memory.
Show the result, actual usage, unavailable checks and how to stop only this environment. Do not delete profiles, shared data, keys or working processes without separate confirmation. Keep secret values out of responses and Git.
In This Article
Saved