Logic of Logic
Official Nous Research repos

Hermes Agent

NousResearch/hermes-agent Published by Nous Research

The self-improving open-source AI agent from Nous Research, with a terminal UI and messaging gateway

In short

Hermes Agent is the open-source AI agent built by Nous Research that creates skills from experience and keeps memory across sessions. It runs from a terminal interface or from chat apps through a single gateway process.

What Hermes Agent does

Hermes Agent is described by its README as a self-improving agent with a built-in learning loop. It creates skills after complex tasks, improves those skills while they are used, nudges itself to store knowledge, and searches its own past conversations using FTS5 session search with LLM summarization. Over time it builds a model of who the user is across sessions.

The interface is a full terminal UI with multiline editing, slash-command autocomplete, conversation history, interrupt-and-redirect and streaming tool output. A single gateway process connects it to Telegram, Discord, Slack, WhatsApp, Signal and the command line, including voice memo transcription and conversation continuity across platforms. It can run on a $5 VPS, a GPU cluster or serverless infrastructure. Any model can be used, including Nous Portal, OpenRouter, OpenAI or a custom endpoint, and the model is switched with the hermes model command without code changes.

Key features

  • Built-in learning loop that creates and refines skills from experience
  • Agent-curated memory with periodic nudges
  • FTS5 session search with LLM summarization
  • Terminal UI with slash-command autocomplete and interrupt-and-redirect
  • One gateway for Telegram, Discord, Slack, WhatsApp, Signal and CLI
  • Model switching with hermes model, no code changes

When to use it

  • Talking to a long-running agent from Telegram while it works on a cloud VM
  • Running a personal agent on a low-cost VPS
  • Switching between model providers without changing code

Who it is for: Developers and power users who want a self-hosted agent that remembers past work and improves its own skills.

How it fits with Hermes Agent

This is the Hermes Agent project itself, maintained by Nous Research. Every other entry in the directory builds on or around it.

How to start

The 6 steps below come from the install guide, which is checked against the official documentation.

  1. 01
    Run the installer

    On Linux, macOS or WSL2 run curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash. On native Windows run iex (irm https://hermes-agent.nousresearch.com/install.ps1) in PowerShell.

  2. 02
    Reload your shell

    Run source ~/.bashrc (or source ~/.zshrc), or open a new terminal, so the hermes command is on your PATH.

  3. 03
    Choose a model provider

    Run hermes setup for the full wizard, hermes setup --portal to use a Nous Portal subscription, or hermes model if you already know your provider.

  4. 04
    Start your first chat

    Run hermes for the classic CLI or hermes --tui for the newer terminal UI, and ask something you can verify, such as a summary of the current folder.

  5. 05
    Check the install

    Run hermes doctor. It reports missing settings, storage problems and which kind of install you have.

  6. 06
    Keep it updated

    Run hermes update regularly on a script install. Desktop, Docker and Termux installs update through their own package channel.

Open the full install guide →

FAQ

What is Hermes Agent?

Hermes Agent is an open-source, self-improving AI agent built by Nous Research. It has a terminal UI, a messaging gateway, persistent memory and skills it creates and refines on its own.

Which chat apps does Hermes Agent support?

The README lists Telegram, Discord, Slack, WhatsApp, Signal and the CLI, all served from a single gateway process.

Is Hermes Agent free and open source?

Yes. The repository is published under the MIT license.