Skip to content
AIRepoHub

hermes-agent

by NousResearch

Personal AI agent from Nous Research that learns and improves the more you use it.

Coding AssistantsAI AgentsPythonMIT license
Stars
265,958
stars
Forks
60k
forks
Last push
today
Activity
Active
hermes-agent: quick start
# Install (Linux, macOS, WSL2)$ curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash# Start chatting$ hermes# Pick a model$ hermes model

Commands from the project's README. Run them after installing (see below).

Overview

Understand hermes-agent in 60 seconds

What it does
Hermes Agent is an AI agent from Nous Research that you run in your terminal or talk to from Telegram, Discord, Slack, WhatsApp and Signal. It learns as it works: it writes reusable skills after complex tasks, keeps memory, and can search its past conversations.
The problem it solves
Most agents forget everything between sessions and are tied to one model. Hermes keeps memory and skills across sessions, works with almost any model provider, and can run scheduled jobs unattended.
Why choose it
Choose it if you want one agent that learns over time, runs on a schedule and reaches you in chat apps, with no model lock-in. If you only need a coding assistant inside an editor, an editor-based tool may be simpler.
Who should use it
  • Developers who want a terminal AI agent with memory
  • People who want an agent in their messaging apps
  • Users who want to switch freely between model providers
  • Researchers generating tool-calling training data
Setup difficulty

You'll need:

  • Linux, macOS, WSL2, native Windows or Android (Termux)
  • An API key or account for a model provider (Nous Portal, OpenRouter, OpenAI or your own endpoint)
  • The installer sets up Python, Node.js and other tools for you

How hermes-agent works

Hermes Agent has a full terminal UI with multiline editing, slash-command autocomplete, history and streaming tool output. A single gateway process also connects it to Telegram, Discord, Slack, WhatsApp, Signal and email, so you can continue a conversation across platforms.

Its learning loop is the main idea: the agent curates its own memory, creates skills after complex tasks, improves them during use, and can search past sessions. A built-in cron scheduler runs natural-language tasks like daily reports unattended, and it can spawn subagents for parallel work.

You choose the model with hermes model and can switch without code changes. It can run commands locally, in Docker, over SSH, or in cloud sandboxes like Modal, Daytona and Vercel Sandbox. Nous Portal is an optional paid subscription that bundles models and tools behind one login.

Features

Key features

Learning loop

Creates and improves skills from experience and keeps memory between sessions.

Terminal UI

Multiline editing, autocomplete, history and streaming tool output.

Messaging gateway

Talk to it from Telegram, Discord, Slack, WhatsApp, Signal or email.

Any model

Use Nous Portal, OpenRouter, OpenAI or your own endpoint, and switch anytime.

Scheduled automations

Built-in cron runs tasks like daily reports without you.

Runs anywhere

Local, Docker, SSH, Modal, Daytona and Vercel Sandbox backends.

Strengths

  • Memory and skills that carry across sessions
  • No model lock-in
  • Works in terminal and chat apps from one setup
  • MIT licensed

Limitations

  • You pay for whatever model provider you use
  • Many features means more setup to learn
  • Some antivirus tools flag its bundled uv.exe as a false positive on Windows

Practical use cases

Daily briefings

Schedule a natural-language task that sends you a report on Telegram each morning.

Personal assistant in chat

Run the gateway and message the agent from your phone.

Parallel research

Let it spawn subagents to work on several parts of a task at once.

Installation

Install hermes-agent

Based on official documentation

Commands come from Hermes Agent's README. AIRepoHub hasn't run them yet. View source

Prerequisites

  • A model provider API key or Nous Portal account

Supported systems

  • Linux
  • macOS
  • Windows
  • Android (Termux)
  1. 1

    Run the installer

    Shell
    curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
  2. 2

    Reload your shell and start Hermes

    Shell
    source ~/.bashrc    # reload shell (or: source ~/.zshrc)hermes              # start chatting!

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Run the full setup wizard

    Shell
    hermes setup
  2. 2

    Choose a provider and model

    Shell
    hermes model
  3. 3

    Start a conversation

    Shell
    hermes

hermes-agent's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Install Hermes and talk to it from Telegram

Set up Hermes in the terminal, then connect the messaging gateway.

Before you start

  • A model provider API key, or a Nous Portal account
  • A Telegram account (or Discord, Slack, WhatsApp, Signal)
  1. 1

    Install

    Shell
    curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
  2. 2

    Run setup and pick a model

    Shell
    hermes setup
  3. 3

    Set up and start the gateway

    Shell
    hermes gateway setuphermes gateway start
  4. 4

    Send your bot a message from the app

What to expect

Hermes replies in your chat app, and /new, /model and other slash commands work there like in the terminal.

Next steps

  • Use hermes tools to choose enabled tools
  • Schedule a daily task in natural language
  • Run hermes doctor if anything looks wrong

Costs and requirements

What it costs to run

License
MIT. Free to use, modify and use commercially.Free
Software
Free and open source.Free
Models
Your model provider charges for usage. Nous Portal is an optional paid subscription covering models and tools.Depends

Troubleshooting

Common setup issues

Windows Defender or antivirus flags uv.exe

It's a false positive for Astral's uv, which Hermes bundles. Verify it with the README's attestation steps, then whitelist the %LOCALAPPDATA%\hermes\bin folder.

Source: README.md

hermes command not found after install

Reload your shell with source ~/.bashrc (or ~/.zshrc).

Source: README.md

Something isn't working

Run hermes doctor to diagnose issues.

Source: README.md

Alternatives

Similar AI repositories