Skip to main content
Version: 2.0

Hermes Agent

Hermes Agent is a persistent autonomous AI agent. The Websoft9 package includes a Dashboard and OpenAI-compatible API, with agent state stored in /opt/data.

Getting Started​

Initialize​

After installing Hermes Agent in the Websoft9 console, open the Dashboard URL from the Access tab and sign in with the HTTP Basic Auth credentials configured as W9_LOGIN_USER and W9_LOGIN_PASSWORD.

Configure a model and start a conversation​

Hermes Agent requires an LLM provider. Open the app's Compose tab and set a provider API key in .env (for example, OPENROUTER_API_KEY), save, and rebuild the app. Then select a model in the Dashboard and start a conversation.

Use the OpenAI-compatible API​

After a model provider is configured, the OpenAI-compatible API server starts on port 8642. Authenticate API requests with W9_POWER_PASSWORD as a Bearer token. The same variable drives the dashboard password; rebuild the app after changing it.

Best Practices​

Persist agent state​

Configuration, environment variables, sessions, memories, skills, and logs are stored in the persistent data volume mounted at /opt/data. The image itself is stateless, so keep this volume when recreating or upgrading the container.

Secure the Dashboard​

The Dashboard uses HTTP Basic Auth. Keep HERMES_DASHBOARD_BASIC_AUTH_* authentication configured and ensure that W9_POWER_PASSWORD is at least 16 characters long. Limit access to the API and admin interface to trusted users.

Configuration​

SettingDescriptionDefault / location
DashboardHermes web dashboard port9119
OpenAI-compatible APIAPI server port; starts after a provider key is configured8642
Dashboard username and passwordDashboard Basic Auth credentialsW9_LOGIN_USER / W9_LOGIN_PASSWORD
W9_POWER_PASSWORDDashboard password and API Bearer tokenAt least 16 characters
LLM provider API keyRequired to use models and start the API serviceSet in .env, for example OPENROUTER_API_KEY
/opt/dataAgent configuration, sessions, memories, skills, and logshermes_data persistent volume

Administration​

Upgrade​

Update W9_VERSION and recreate the container from the Websoft9 console. The image is stateless; keep the /opt/data volume to preserve agent state. The first image pull may take several minutes.

Backup and restore​

Back up and restore the persistent volume mounted at /opt/data. It contains the agent's runtime configuration and user data. After restoring, check Dashboard authentication, model provider configuration, and session state.

Troubleshooting​

The Dashboard does not open​

Confirm the Dashboard authentication variables are configured, W9_POWER_PASSWORD is at least 16 characters, and the health check has passed. The initial image pull may take some time.

The API port does not start​

The API server starts only after an LLM provider API key is configured in .env. Save the key, rebuild the app, and check the service status.

The agent reports a provider error​

Check that a valid LLM provider API key is set in .env, then retry after rebuilding the app.

References​