Documentation Index
Fetch the complete documentation index at: https://docs.gravitex.ai/llms.txt
Use this file to discover all available pages before exploring further.
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)
| Field | Value |
|---|---|
| API Base URL | https://api.gravitex.ai/v1 |
| API Key | Your GravitexAI key (sk-...) |
| Model name | claude-sonnet-4-6 (or any GravitexAI model ID) |
~/.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
| Use case | Model ID | Notes |
|---|---|---|
| Complex tasks | claude-sonnet-4-6 | Best tool calling & long tasks |
| Coding | deepseek-v3-2-251201 | Great code, great price |
| Daily chat | gpt-5.5 | Strong all-rounder |
| Long context | gemini-3.1-pro-preview | Massive context window |
| Low latency | claude-haiku-4-5-20251001 | Fast responses |
| Heavy reasoning | claude-opus-4-7 | Complex reasoning, algorithms / logic |
8. Messaging Channels
| Platform | Config location |
|---|---|
| Telegram | channels.telegram.token |
| Discord | channels.discord.bot_token |
| Slack | channels.slack.bot_token |
| QR scan | |
| Signal | linked-device QR |
| SMTP / IMAP | |
| CLI | hermes chat |
9. Extensions
Skills
MCP servers
Add MCP tools to~/.hermes/config.yaml:
Sandbox backends
10. Commands
| Command | Purpose |
|---|---|
hermes setup | First-run wizard |
hermes model | Choose / switch provider & model |
hermes doctor | Health check |
hermes start / stop / restart | Control the gateway |
hermes chat | Terminal chat |
hermes skills | Manage skills |
hermes logs --follow | Tail logs |
hermes update | Upgrade |
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, openai/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.