Hermes Relay
HarmonyOS · Hermes Agent

Hermes Relay

让 Hermes 继续跑。只在真正需要你的时候,手机才把你叫回来。 Let Hermes keep running. Hermes Relay pulls you back in only when it actually needs you.

实时会话Live sessions 工具活动Tool activity 提问 · sudoClarify · sudo 自动化Automation
01 · 为什么是 Hermes Relay01 · Why Hermes Relay

不是聊天窗口,
是你随身的 Hermes
Not a chat window.
It's your Hermes, in your pocket.

Hermes 已经是你自己的 Agent 运行环境。Hermes Relay 不重做一遍聊天界面,而是把连接状态、上下文、长会话、需要你介入的时刻和计划任务,收进一个能随身带走的地方。 Hermes is already your own agent runtime. Hermes Relay doesn't rebuild a chat UI — it brings connection state, context, long sessions, the moments that need you, and scheduled work into one place you can carry.

持续会话Long-lived sessions

流式输出、取消、后台恢复都在同一条会话里,不会被切成碎片。Streaming, cancel and background recovery stay in one session — nothing gets split apart.

自己的 GatewayYour own gateway

连你自己的 Hermes 环境,中间不经过第三方服务器。Connects to your own Hermes instance. No third-party server in between.

Profile 上下文Profile context

Coder、General 或你自己的配置,在手机上还是同一套。Coder, General or your own configuration — the same setup, on your phone.

自动化Automation

一次、重复和脚本任务,让会话在你不在的时候继续。One-off, repeating and scripted runs keep sessions moving while you're away.

02 · 上下文02 · Context

会话、Profile、
自动化都在一处。
One place for sessions, profile and automation.

侧栏不是一堆按钮。它是当前 Gateway、Profile、自动化和会话历史的共同入口。The drawer isn't a pile of buttons. It's the shared entry point for your gateway, profile, automations and session history.

03 · 实时会话03 · Live session

看见过程,
不只是结果。
See the work, not just the reply.

用户消息、思考过程、工具调用和最终结果在同一条时间线上展开。翻历史的时候,它不会把你拽回底部。Messages, reasoning, tool calls and results unfold on one timeline. Scrolling back through history won't yank you to the bottom.

04 · 人工介入04 · Human in the loop

不需要你时,
它自己跑。
Autonomous, until it needs you.

提问、审批和 sudo 被提升成需要注意力的事件,而不是混在普通消息里。密码这类输入走独立的安全输入框。Questions, approvals and sudo are raised as attention events instead of blending into the message stream. Passwords get their own secure field.

05 · 自动化05 · Automation

把任务交出去,
让它晚点回来。
A conversation that can come back later.

一次、重复或 Cron,创建流程很短。可以让 Agent 每 30 分钟复盘一次,也可以把它接进你已经有的计划里。Run once, on a repeat, or on a cron schedule. Creating one stays short — a review every 30 minutes, or something wired into a plan you already have.

侧栏就是入口The drawer is the entry point

Gateway、Profile、自动化和会话历史在同一层。会话只按置顶、今天、本周、更早分组,没有多余装饰。Gateway, profile, automations and history sit on one level. Sessions group by pinned, today, this week and earlier — nothing else.

侧栏结构Drawer structure
18:425G · 89%
Hermes Relay
relay hermes.example.com 已连接Connected
自动化Automation Hermes Cron
已置顶Pinned
发布验收计划Release acceptance
今天Today
Gateway 兼容性检查Gateway compatibility
界面回归测试UI regression pass
长会话恢复演练Long-session recovery
本周This week
侧滑交互调整Drawer gestures
Profile 与模型选择Profile and model selection
会话分组Session groups
已置顶Pinned1
今天Today3
本周This week2
列表只放标题Titles only
Agent 在做什么,看得见Agent activity, visible

除了回复本身,还能看到思考了多久、执行了哪条命令、这一步是否已经完成。Beyond the reply, you see how long it reasoned, which command it ran, and whether that step finished.

流式输出 + 工具活动Streaming + tool activity
18:435G · 88%
发布验收计划Release acceptance
继续检查发布门禁,把阻塞项收口。Keep checking the release gate and close out the blockers.
思考了 8sThought for 8s
我先核对当前候选版本、连接恢复和长会话状态,再继续剩余验收。Let me check the current candidate build, connection recovery and long-session state before continuing the rest of the acceptance run.
运行命令 · verify gateway-readyRun command · verify gateway-ready
检查会话状态 · session · timelineInspect session · session · timeline
连接已经恢复,历史内容完整,没有重复消息。The connection is back, history is intact, and there are no duplicate messages.
AI 生成的内容可能有误,请核对重要信息。AI-generated content may be wrong. Verify anything important.
回到底部Back to bottom
输入消息…Enter a message…
阅读历史时不被拽走Reading back stays put

往上翻的时候视口保持稳定。想回到最新内容,再点一次「回到底部」。The viewport holds while you scroll back. Tap “Back to bottom” only when you want the latest.

时间线行为Timeline behaviour
只在需要你的时候停下来Only when it needs you

不是所有状态都值得打断你。只有需要人来判断或输入的那一刻,Hermes Relay 才把你拉回来。Not every state is worth interrupting you. Hermes Relay pulls you back only at the moment a human decision or input is required.

待处理的注意力事件Pending attention
18:445G · 87%
系统检查System check
继续检查服务状态。Keep checking service status.
思考了 5sThought for 5s
运行命令 · systemctl status relayRun command · systemctl status relay
有一步需要你的输入,我会在完成后继续。One step needs your input. I'll continue once it's done.
确认请求Confirmation

需要 sudo 密码Sudo password required

Hermes 需要临时凭据才能继续当前操作。Hermes needs temporary credentials to continue this operation.

输入密码Enter password
输入内容不会被保存,也不会进入历史记录或日志。Your input is not saved, and won't appear in history or logs.
取消Cancel
提交Submit
密码不进消息流Secrets stay out of the feed

像 sudo 这样的输入走独立输入框,提交后不落历史记录,也不写日志。Input like sudo goes into its own field — never into message history, never into logs.

默认不保存Not saved by default
创建自动化Create automation
名称 · 可选Name · optional
例如:每日简报e.g. Daily brief
任务指令Task
检查当前发布验收状态,只在有阻塞项变化时告诉我。Check the current release acceptance state and tell me only when blockers change.
仅一次Once 重复Repeat Cron
每Every
30
分钟minutes
每 30 分钟执行Runs every 30 minutes
创建自动化Create automation
18:455G · 86%
自动化Automation
每日项目复盘Daily project review 每天 09:00 · 最近 09-10 08:12Daily 09:00 · last 09-10 08:12
Coding Plan Watch 每 2 小时执行 · 最近 09-10 18:00Every 2 hours · last 09-10 18:00
发布检查Release check 每 30 分钟执行 · 首次 09-10 18:50Every 30 minutes · first 09-10 18:50
自动化留在会话能力里Automation inside chat

它不是一个独立的任务系统,而是会话能力向未来时间延伸的一种形式。Not a separate task system — it's a session's capability extended into future time.

仅一次 / 重复 / CronOnce / Repeat / Cron
06 · 表面之下06 · Under the surface

外面安静,
里面认真。
Quiet outside.
Serious underneath.

断线不会被当成没断A disconnect is a disconnect

Hermes 重启或网络断开后,Hermes Relay 会重新走完认证、WebSocket 和 gateway-ready,再把时间线恢复出来,而不是让界面看起来还连着。When Hermes restarts or the network drops, Hermes Relay re-runs authentication, the socket and gateway-ready, then restores the timeline — instead of leaving the UI looking connected.

切到后台也不丢Survives the background

流式输出时切走再回来,还是同一条会话、同一条时间线。不会重复投递,也不会留下卡住不动的行。Leave mid-stream and come back to the same session and the same timeline. No duplicate delivery, no rows stuck mid-state.

换 Gateway 不打断正在跑的任务Switching gateways doesn't interrupt

新连接真正就绪之前,旧连接继续承担当前工作,正在跑的任务不会断在半路。The old connection keeps carrying the current work until the new one is genuinely ready, so nothing in flight gets dropped.

凭据只留在本机Credentials stay on the device

登录凭据保存在系统密钥库里,不写日志、不进配置文件,也不上传到别处。Sign-in credentials live in the system key store — never written to logs, config files or sent anywhere else.

认识一下
Hermes Relay。
Meet Hermes Relay.

Hermes 是 Agent。Hermes Relay 是你离开电脑之后,仍然握着的那部分。 Hermes is the agent. Hermes Relay is the part you still hold after you leave your desk.