whatisgithub

What is hermes-wechat-relay?

c1422113471-cpu/hermes-wechat-relay — explained in plain English

Analysis updated 2026-05-18

17JavaAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A plugin that lets WeChat messages flow into the Hermes AI agent platform as a separate, isolated input channel.

Mindmap

mindmap
  root((hermes wechat relay))
    What it does
      Adds WeChat as input
      Keeps Hermes core untouched
      Runs a separate channel
    Tech stack
      Java plugin
      Android relay app
      Local web server
    Use cases
      AI replies to WeChat
      Bridge phone notifications
      Filter group chats
    Audience
      Developers
      Hermes users
    Setup
      Copy plugin files
      Add config block
      Connect relay bridge

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let a Hermes AI agent read and reply to WeChat messages.

USE CASE 2

Bridge WeChat notifications from an Android phone into an AI agent.

USE CASE 3

Filter which WeChat group chats an AI agent responds in.

What is it built with?

JavaAndroid

How does it compare?

c1422113471-cpu/hermes-wechat-relaycornerdevice/checkappdevicelourousa/frauddetection
Stars171717
LanguageJavaJavaJava
Setup difficultymoderatehardhard
Complexity3/54/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a separately provided relay bridge, such as the included Android app, to actually connect to WeChat.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This repository is a plugin for the Hermes Agent platform that allows WeChat messages to flow into Hermes as a standard input source, without touching Hermes' own internal code or its built-in WeChat connection. Hermes is an AI agent platform, and this plugin registers a separate channel called wechat_relay that sits alongside the official one rather than replacing it. The plugin works by opening a small local web server on your computer at port 9797. An external relay bridge, which you provide separately, connects to this server and sends WeChat messages in as JSON events. The plugin translates those events into the format Hermes expects for incoming messages and routes outbound replies back through the same bridge connection. The README includes an optional Android app whose source code is in the repository, which can serve as that relay bridge by reading WeChat notifications and accessibility events on the phone and forwarding them to the plugin over a local network connection. The design is intentionally isolated. The plugin registers under a different name from the official Hermes WeChat adapter so the two can coexist in the same installation without interfering with each other. It is installed per-profile in your Hermes configuration folder rather than inside the Hermes source directory, which means Hermes updates and plugin updates can be handled independently without one overwriting the other. Features include group mention filtering so Hermes only responds when the bot is mentioned by name, stable logical chat IDs to track conversations even when display names change, a simple allowlist for controlling which chats the plugin processes, and optional message archiving. Installation involves copying three files into your Hermes profile's plugin folder and adding a configuration block to the profile's config file. The README includes security notes about binding the server to localhost only, using a shared secret for any non-local traffic, and not exposing the port publicly. The project is MIT licensed.

Copy-paste prompts

Prompt 1
Explain how the local web server on port 9797 connects the relay bridge to Hermes.
Prompt 2
Walk me through installing this plugin into a Hermes profile without touching Hermes' own files.
Prompt 3
Help me configure the allowlist so the agent only responds in specific WeChat chats.
Prompt 4
What security steps should I take before exposing this beyond localhost?

Frequently asked questions

What is hermes-wechat-relay?

A plugin that lets WeChat messages flow into the Hermes AI agent platform as a separate, isolated input channel.

What language is hermes-wechat-relay written in?

Mainly Java. The stack also includes Java, Android.

What license does hermes-wechat-relay use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is hermes-wechat-relay to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is hermes-wechat-relay for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.