Self-hosted first
Run the core service in your own environment so data, keys, logs, and permission boundaries stay under your control.
Connect WhatsApp, Telegram, Discord, Slack, and other channels to a self-hosted AI agent gateway, then use WisGate to manage models, cost, and fallback strategy.
Start with the role
It is not a single scraping model. It connects message channels, tools, scheduled jobs, and LLMs into a local-first agent framework.
Run the core service in your own environment so data, keys, logs, and permission boundaries stay under your control.
Unify WhatsApp, Telegram, Discord, Slack, iMessage, and similar entrypoints into the same agent workflow.
Connect OpenAI-compatible endpoints, local models, or frontier models, and route each task to the right capability and price.
Use cron, webhooks, tool calls, and multi-step jobs for always-on assistants and team automation.
Why add WisGate
WisGate provides an OpenAI-compatible API. Point your agent at one endpoint, then choose Claude, GPT, DeepSeek, Gemini, or other available models by task.
https://api.wisgate.cn/v1Consolidate multi-provider key management into one WisGate API key that is easier to share, rotate, and audit.
Use the OpenAI-compatible `/v1` API with tools such as OpenClaw and Hermes that support custom endpoints.
Daily chat, code repair, long-context research, and low-cost batch work can use different models instead of one fixed subscription.
Configure backup models when a frontier model is unavailable or too expensive, reducing downtime for always-on agents.
Use case map
The page should help users decide what to run with OpenClaw and when Hermes is worth adding.
Receive messages across chat apps, organize reminders, answer contextual questions, and connect daily tools.
Bring project Q&A, task handoff, knowledge retrieval, and engineering automation into Slack or Discord.
Track news, earnings, product updates, or technical articles on a schedule, then push summaries to the team.
Receive alerts, run diagnostics, trigger webhooks or n8n flows, and handle repetitive operations work.
Monitor X, Reddit, YouTube, or community keywords, then summarize trends and risk signals.
Split research, script drafting, image generation, and publishing checks into multiple agent steps.
OpenClaw quick setup
Give users an executable path: initialize, configure the WisGate endpoint, then verify permissions and connectivity.
Run `openclaw onboard` to complete first-time setup, generate local configuration, and choose channels.
Keep primary settings in `~/.openclaw/openclaw.json`, and inject secrets through environment variables instead of committing them.
Use `https://api.wisgate.cn/v1` as the OpenAI-compatible base URL, then set a default model and fallback models.
Limit the agent to trusted users or groups, and use a dedicated token for webhook access.
Use `openclaw doctor` to verify configuration, connectivity, and permissions before testing in a small channel.
{
"llm": {
"provider": "openai-compatible",
"baseUrl": "https://api.wisgate.cn/v1",
"apiKey": "$WISGATE_API_KEY",
"model": "claude-opus-4-7",
"fallbackModels": ["gpt-5.5", "deepseek-v4-pro"]
},
"security": {
"allowedUsers": ["you@example.com"],
"webhookToken": "$OPENCLAW_WEBHOOK_TOKEN"
}
}openclaw onboard
openclaw doctor
hermes modelHermes setup clarified
Keep Hermes as the supporting setup path inside the OpenClaw zone: connect WisGate through the official wizard, then make the YAML, secrets, and checks easy to reuse.
Run `hermes model`, choose `Add Custom Endpoint` or `Custom endpoint`, and enter the WisGate base URL, API key, and model name.
After the wizard works, turn the setup into a team template in `~/.hermes/config.yaml` with the primary provider set to `custom`.
Use `https://api.wisgate.cn/v1` as the default endpoint.
Use `api_key: $` in YAML, then inject the key through `.env` or your deployment environment.
Run `hermes config check`, then test in a new session. If gateway mode is running, restart the gateway after changing config.
model:
default: claude-opus-4-7
provider: custom
base_url: https://api.wisgate.cn/v1
api_key: ${WISGATE_API_KEY}
auxiliary:
compression:
provider: auto
model: ''
vision:
provider: auto
model: ''
terminal:
backend: docker
cwd: "."
timeout: 180Prefer `hermes model` for Custom endpoint setup. When editing manually, use `~/.hermes/config.yaml`. Inject API keys through `~/.hermes/.env` or your deployment environment instead of hard-coding them into shareable files.
hermes model
hermes config check
hermes gateway restartHow to choose
They are not simple substitutes. OpenClaw is the entry and orchestration layer; Hermes is the long-running executor that can accumulate skills.
| Dimension | OpenClaw | Hermes |
|---|---|---|
| Best for | Multi-channel personal assistants, team entrypoints, and chat-driven automation. | Repeated tasks, self-improvement, long-term skill accumulation, and batch execution. |
| Core strength | Connects channels, tools, webhooks, cron jobs, and model routing. | Turns experience into reusable skills for workflows that improve over time. |
| Deployment mindset | Stabilize the gateway and channels first, then add automation gradually. | Define the task environment and model config first, then observe execution quality. |
| Memory and learning | Focused on message context, tool context, and session orchestration. | Focused on long-running task experience, skill generation, and self-optimization. |
| WisGate role | A unified LLM endpoint shared by multiple channels and model strategies. | A Custom endpoint that gives Hermes a stable model gateway. |
Launch safety checklist
Inject API keys, webhook tokens, and chat platform tokens through environment variables or secret managers.
Start with trusted accounts or internal channels, then expand based on logs and review.
Use a dedicated webhook token and log source, time, and execution result.
File, browser, terminal, and third-party API access should be scoped to the task instead of open by default.
Record the trigger source, input summary, tool calls, model response, and execution result so mistakes can be traced and rolled back.
Verify configuration, model access, networking, and permissions; if the tool offers `doctor` or `config check`, use it as part of pre-launch validation.
Explore the configuration details, Hermes self-improvement model, and practical agent workflow decisions in more depth.
Use 36 scenarios to understand model routing, cost optimization, and real automation patterns.
Learn how Hermes handles self-improvement, skill accumulation, and the tasks it fits best.
Use the selection table to decide which agent fits your workflow.