
Deploy Hermes Support Engine
Self-host an AI support agent with persistent memory. No per-seat fees.
Hermes Agent
Just deployed
/opt/data
Deploy and Host Hermes AI Customer Support Agent on Railway
Hermes is an open-source AI agent framework built for production customer support — persistent memory across conversations, multi-step tool use, LLM-agnostic design, and native integration with Chatwoot and helpdesk platforms. Replace per-seat support software with a self-hosted AI agent that handles tickets, resolves FAQs, and escalates to humans — running 24/7 on your own infrastructure with no per-seat licensing costs.
What This Template Deploys
| Service | Purpose |
|---|---|
| Hermes Agent | AI customer support runtime — handles incoming tickets, FAQ resolution, conversation routing, and human escalation on port 3000 |
| PostgreSQL | Persistent storage for conversation history, customer context, ticket state, and agent memory across sessions |
| Redis | Cache layer for session management and concurrent conversation handling |
All three services connect over Railway's private network. Credentials are injected automatically — no manual configuration required.
About Hosting Hermes Support Agent
Running an AI customer support agent in production means keeping a persistent service alive 24/7 with conversation memory that survives restarts, concurrent session handling for multiple customers, secure API credential management, and webhook endpoints for helpdesk integrations. Without a managed host, you're managing Docker, inter-service networking, SSL, and database backups manually.
Railway handles all of it. Hermes runs as an always-on support agent with persistent PostgreSQL memory — customer context and ticket history survive every redeploy.
Typical cost: ~$5–10/month on Railway's Hobby plan for the full stack. Compare that to Intercom at $74/seat/month, Zendesk Suite at $55/seat/month, or Freshdesk Growth at $18/seat/month — all of which cap AI features behind higher tiers. Hermes gives you unlimited AI-handled conversations at a flat infrastructure cost.
Deploy in Under 5 Minutes
- Click Deploy on Railway and wait for the build to complete (~3–5 minutes)
- Set
LLM_API_KEY,LLM_PROVIDER, andSUPPORT_AGENT_NAMEin the Variables tab - Railway auto-detects
DATABASE_URLandREDIS_URL— Hermes initializes on first boot - Connect your helpdesk via webhook — Chatwoot, Freshdesk, or any webhook-compatible platform
- Open your Railway URL — Hermes is live and handling support requests
No SSH. No Docker configuration. No SSL certificates to manage.
Common Use Cases
- Self-hosted alternative to Intercom AI — replace $74/seat/month with a flat ~$10/month infrastructure cost; Hermes handles ticket triage, FAQ resolution, and first-response drafting without per-seat or per-conversation billing
- 24/7 first-response support agent — Hermes handles incoming queries instantly at any hour, maintains conversation context across sessions, and escalates to human agents when needed
- FAQ and knowledge base automation — feed Hermes your documentation and let it resolve repetitive queries autonomously; free your human agents for complex issues
- Multi-channel support backend — connect Hermes to WhatsApp via Evolution API, Telegram, Slack, or email and handle support across all channels from a single deployed instance
- Chatwoot AI integration — use Hermes as the AI backend for Chatwoot's inbox; it reads conversation context, drafts replies, and hands off to agents with full history intact
- SaaS in-product support — embed Hermes as the AI support layer in your product via REST API; no third-party data sharing, no per-conversation fees, full control over responses
Configuration
| Variable | Required | Description |
|---|---|---|
LLM_API_KEY | ✅ Required | API key for your chosen LLM provider |
LLM_PROVIDER | ✅ Required | Provider — e.g. openai, anthropic, groq |
SUPPORT_AGENT_NAME | Optional | Your agent's display name — shown in helpdesk integrations |
DATABASE_URL | ✅ Auto-injected | PostgreSQL connection string via Railway reference variable |
REDIS_URL | ✅ Auto-injected | Redis URI via Railway reference variable |
WEBHOOK_SECRET | Recommended | Validates incoming webhook payloads from your helpdesk |
ESCALATION_WEBHOOK_URL | Optional | URL to notify human agents when Hermes escalates a ticket |
LLM_BASE_URL | Optional | OpenAI-compatible endpoint for Ollama, vLLM, or OpenRouter |
PORT | Pre-set | 3000 — auto-configured by Railway |
NODE_ENV | Pre-set | production |
Hermes vs. Per-Seat Support Software
| Hermes (self-hosted) | Intercom | Zendesk Suite | Freshdesk Growth | |
|---|---|---|---|---|
| Monthly cost | ~$10 flat | $74/seat | $55/seat | $18/seat |
| AI conversations | ✅ Unlimited | ❌ Capped / add-on | ❌ Capped / add-on | ❌ Capped |
| Per-seat pricing | ✅ None | ❌ Yes | ❌ Yes | ❌ Yes |
| Data ownership | ✅ Your infrastructure | ❌ Intercom servers | ❌ Zendesk servers | ❌ Freshdesk servers |
| LLM flexibility | ✅ Any provider | ❌ Fixed AI | ❌ Fixed AI | ❌ Fixed AI |
| Self-hostable | ✅ Yes | ❌ No | ❌ No | ❌ No |
| Custom AI behaviour | ✅ Full control | ❌ No | ❌ No | ❌ Limited |
Dependencies for Hermes Support Agent Hosting
- API key from at least one LLM provider (Anthropic Claude or OpenAI GPT-4o recommended for support quality)
- Railway account — Hobby plan (~$5–10/month) covers all three services
- Optional: Chatwoot instance for unified inbox with human handoff
- Optional: Evolution API or Telegram bot token for WhatsApp/Telegram support channels
Deployment Dependencies
Implementation Details
This template deploys the Hermes agent runtime alongside Railway-managed PostgreSQL and Redis
over private internal networking. Conversation history, customer context, and ticket state persist
in PostgreSQL — Hermes maintains full conversation memory across restarts and redeploys without
re-initialization. The agent API is served at your Railway public HTTPS domain on port 3000
and accepts webhook payloads from any helpdesk platform that supports outgoing webhooks.
Frequently Asked Questions
How much does it cost compared to Intercom or Zendesk? Hermes on Railway runs at ~$5–10/month flat for the full infrastructure stack. Intercom starts at $74/seat/month, Zendesk Suite at $55/seat/month. For a 5-person support team, that's $275– $370/month in seat licensing alone — before AI add-on costs. Hermes gives you unlimited AI-handled conversations at flat compute pricing.
Does Hermes remember past conversations with the same customer? Yes. All conversation history and customer context are stored in PostgreSQL. Hermes retrieves prior context on every new message from a returning customer — no re-introduction needed, no context lost between sessions or restarts.
Can Hermes hand off to a human agent when it can't resolve an issue?
Yes. Set ESCALATION_WEBHOOK_URL to your helpdesk or Slack endpoint and Hermes triggers
an escalation with full conversation context when it determines a human is needed. The handoff
includes the complete ticket history so agents have full context immediately.
Can I connect Hermes to WhatsApp or Telegram for support? Yes. Hermes connects to WhatsApp via Evolution API and to Telegram via a bot token. Configure the relevant webhook URL in both platforms and Hermes handles incoming support messages across all channels from a single Railway deployment.
Is customer conversation data private? Yes. Hermes is fully self-hosted. All conversation history, customer data, and LLM responses stay in your Railway PostgreSQL instance. No data is sent to third-party analytics. API keys are stored as encrypted Railway environment variables.
How do I update Hermes to a newer version? Update the Docker image tag in your Railway service settings and redeploy. PostgreSQL and Redis data are fully preserved — no conversation history or customer context is lost on update.
Why Deploy Hermes Support Agent on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Hermes on Railway, you get a 24/7 AI customer support agent with persistent conversation memory, unlimited AI-handled tickets, and no per-seat licensing — all for the cost of Railway's base compute and your chosen LLM provider's API pricing.
Template Content
Hermes Agent
Shinyduo/hermes-agent