cashtsai

Hermes Studio Bridge — Development skill for Claude Code

Development community

Versioned Hermes ↔ Pocket Agent bridge (FastAPI, OpenAI-compatible) — stable app/v1 contract: sync, approvals, remote Claude Code, APNs push | Hermes 與 Pocket Agent 的版本化橋接,穩定 app/v1 契約:同步、核准、遠端 Claude.

How to install Hermes Studio Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cashtsai/hermes-studio-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Hermes Studio Bridge does

Versioned Hermes ↔ Pocket Agent bridge (FastAPI, OpenAI-compatible) — stable app/v1 contract: sync, approvals, remote Claude Code, APNs push | Hermes 與 Pocket Agent 的版本化橋接,穩定 app/v1 契約:同步、核准、遠端 Claude Code、APNs 推播

Alternatives in Development

  • Phistory — Phistory automatically archives versioned system prompt snapshots from agent CLIs like Claude Code, Codex, Ope 560 ★
  • Migrations — Versioned breaking change migrations for Turbo 263 ★
  • New Endpoint — Create new FastAPI endpoint: $ARGUMENTS 143 ★

README

Studio · Hermes — OpenAI-compatible bridge + Open WebUI

A thin, stable front door to a **Hermes** multi-persona agent: it exposes each Hermes persona as an OpenAI "model", so any OpenAI-compatible client (**Open WebUI**, mobile apps, scripts) can chat with it — with the persona's **shared long-term memory** intact. Runs **alongside** the existing Telegram gateways; nothing about Telegram changes.

 Phone / PWA / app ─▶ Open WebUI (mature chat UI, login-gated)
                       └─▶ bridge.py (OpenAI /v1, token-gated)  :8081
                             └─▶ hermes -z --continue owui-
                                   └─ HERMES_HOME=  (= shared memory)
 Telegram bots (unchanged) ─▶ same Hermes homes/state.db  ── coexists, no conflict

Components

Piece What / where
bridge.py FastAPI app. GET /v1/models (personas), POST /v1/chat/completions (SSE streaming). Token-gated (BRIDGE_TOKEN). Runs hermes -z per turn.
bridge LaunchAgent deploy/ai.studio.hermes-bridge.plist → ~/Library/LaunchAgents/. KeepAlive, RunAtLoad, port 8081, injects BRIDGE_TOKEN.
Open WebUI Docker (deploy/run-openwebui.sh), port 3000, points at host.docker.internal:8081/v1. Login required (first user = admin).
Personas yuanfang 袁方(main)· pantianqing 潘天晴(fliper)· xcash 善彰 · shuijing 水鏡. Mapped to Hermes profile homes in bridge.py → PERSONAS.

Quickstart (this host = cashcamp)

# 1. bridge (install or upgrade the per-user LaunchAgent)
./deploy/install-local-bridge.sh

# 2. bridge restart
launchctl kickstart -k gui/$(id -u)/ai.studio.hermes-bridge

# 3. Open WebUI (needs Docker/Colima)
colima start
BRIDGE_TOKEN= ./deploy/run-openwebui.sh

Reach it from your phone over Tailscale: **http://100.67.0.12:3000** (first visit: create the admin account → pick a persona model → chat).

Security

  • bridge: bearer-token gated (BRIDGE_TOKEN, set in the Launc