1. Overview
Hermes Agent is an open-source (MIT) self-hosted AI agent built by Nous Research â the agent that grows with you. It is neither a coding copilot tethered to an IDE, nor a chatbot wrapper around a single API. It runs on your own server, remembers what it learns, and becomes more capable the longer it runs. With GravitexAI (OpenAI-compatible API) one key gives Hermes access to GPT, Claude, Gemini, DeepSeek and 400+ other leading models.Persistent Memory
Remembers projects and solutions across sessions
Auto Skill Synthesis
Generates reusable Skills from experience
Multi-platform Reach
Telegram / Discord / Slack / WhatsApp / Signal / Email / CLI
Real Sandboxing
Local / Docker / SSH / Singularity / Modal backends
Website: hermes-agent.nousresearch.com ď˝ Repo: github.com/NousResearch/hermes-agent ď˝ License: MIT
2. Core Capabilities
- Persistent memory â local vector store retains conversations and project knowledge
- Learning loop â successful solutions are crystallised into reusable Skills
- Scheduled automations â describe cron jobs in natural language
- Delegated subagents â isolated terminals & Python RPC, no context pollution
- Full web control â browser automation, vision, image generation, TTS
- Real sandboxes â local, Docker, SSH, Singularity, Modal
3. Prerequisites
- Create an API key in the GravitexAI console
- A server or workstation: Linux / macOS / WSL2 / Android (Termux)
- Windows users: PowerShell (early beta)
4. Install
One command handles everything:~/.hermes/hermes-agent. No manual pip install needed.
5. Configure GravitexAI
Hermes Agent connects to any OpenAI-compatible service via its Custom Endpoint path.Option A â Interactive CLI (recommended)
Settings persist to
~/.hermes/config.yaml.
Option B â Edit config.yaml manually
Open~/.hermes/config.yaml and add:
Option C â Environment variables
Option D â Multiple named endpoints
Declare several endpoints in advance and switch at runtime:hermes model, or set model.provider: gravitex directly.
6. Run & Verify
7. Recommended Models
Browse all models in the GravitexAI marketplace.
8. Messaging Channels
9. Extensions
Skills
MCP servers
Add MCP tools to~/.hermes/config.yaml:
Sandbox backends
10. Commands
11. Troubleshooting
401 / invalid API key
401 / invalid API key
- Verify
api_keyin~/.hermes/config.yamlhas no stray characters - When several
*_API_KEYenv vars exist, remember Hermes scopes each key to its own base URL
404 / endpoint not found
404 / endpoint not found
chat_completionsmode:base_urlmust end with/v1- For native Claude protocol use
https://api.gravitex.ai/anthropicwithapi_mode: anthropic_messages
Context too short
Context too short
Hermes requires ⼠64K context. Use
claude-sonnet-4-6, gpt-5.4, gemini-3.1-pro-preview, etc.Config changes ignored
Config changes ignored
config.yaml is the single source of truth. If old OPENAI_BASE_URL lingers in .env, run hermes setup to trigger the migration.