How does Hermes connect to Open WebUI? Instead of installing another bot, the core is to open Hermes' API Server and connect Open WebUI as a frontend. Hermes officially made it an OpenAI-compatible HTTP endpoint, so front-ends such as Open WebUI, LobeChat, LibreChat, and NextChat can be directly connected.
How to do the shortest path
- Open the
API_SERVER_ENABLED=truein~/.hermes/.envand set theAPI_SERVER_KEY. - Run
hermes gatewayand get the API Server up. - In Open WebUI, point the backend address to
http://localhost:8642/v1.
If you want the browser to call Hermes directly, add API_SERVER_CORS_ORIGINS. The official documentation also reminds that API Server will expose Hermes' terminal, file, web search, memory, and skills to the frontend, so it's best to keep the default local listening and don't just open the public network to access.
Why do many people want to connect to Open WebUI? Because it's suitable for teams and regular users: there is session management, an account system, a modern chat interface, but the underlying is Hermes' complete toolset. In other words, Open WebUI is just the front desk, and Hermes is the agent who really does the job.
Who is it not suitable for? If you only need the terminal CLI and don't need a web frontend, then just use hermes.