Hermes agent

From bidewio/better-openclaw · View interactive version

Hermes agent is an AI agent skill from the GitHub repository bidewio/better-openclaw. Interact with Hermes Agent's OpenAI-compatible API for multi-model conversations, skill management, and scheduled tasks

How to use this skill

Skill file

Hermes Agent

Self-improving AI agent by Nous Research with a built-in learning loop, skills system, and multi-platform messaging gateway. The API server is available at http://{{HERMES_HOST}}:{{HERMES_API_PORT}}.

API Server (OpenAI-Compatible)

Hermes exposes an OpenAI-compatible API at port {{HERMES_API_PORT}}. Any tool or frontend that speaks the OpenAI Chat Completions format can connect directly.

Chat Completions

curl http://{{HERMES_HOST}}:{{HERMES_API_PORT}}/v1/chat/completions \
  -H "Authorization: Bearer {{HERMES_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "default",
    "messages": [{"role": "user", "content": "Hello Hermes"}]
  }'

Responses API (Stateful)

# Create a stateful response
curl -X POST http://{{HERMES_HOST}}:{{HERMES_API_PORT}}/v1/responses \
  -H "Authorization: Bearer {{HERMES_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"model": "default", "input": "Research the latest AI papers"}'

# Retrieve a stored response
curl http://{{HERMES_HOST}}:{{HERMES_API_PORT}}/v1/responses/{response_id} \
  -H "Authorization: Bearer {{HERMES_API_KEY}}"

Health Check

curl http://{{HERMES_HOST}}:{{HERMES_API_PORT}}/health

Connecting OpenAI-Compatible Frontends

Hermes works with Open WebUI, LobeChat, LibreChat, and other OpenAI-compatible UIs:

Infrastructure Generation via MCP

Hermes supports MCP (Model Context Protocol) clients. Connect better-openclaw as an MCP server to generate Docker infrastructure from natural language:

# Inside the Hermes container or CLI
hermes mcp add better-openclaw -- npx -y @better-openclaw/mcp

Then ask Hermes:

"Create a research stack with Qdrant, SearXNG, and Browserless"

Hermes will call suggest-services -> resolve-dependencies -> validate-stack -> generate-stack through the MCP bridge.

Available MCP Tools

| Tool | Description |

|------|-------------|

| suggest-services | Find services matching a natural language query |

| resolve-dependencies | Resolve service dependencies and detect conflicts |

| validate-stack | Validate a service combination before generation |

| generate-stack | Generate complete Docker Compose + env files |

| list-skill-packs | Browse curated skill pack bundles |

Webhook Receiver

Hermes also listens for webhooks on port {{HERMES_WEBHOOK_PORT}} (default 8644). GitHub, GitLab, and custom webhooks can be configured to trigger agent actions.

Tips for AI Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.