Choose an agent with a swipe at Ready (0.2.0)

Bridge: an owner-configured list of agents (HERMEVEN_AGENTS). Each extra
agent is another profile of the same Hermes gateway, reached at
/p/<profile> with that profile's own key. GET /v1/agents lists ids and
names; POST /v1/conversations takes an optional agent_id checked against
the list. A conversation belongs to one agent (migration v3) and its turns
are submitted, polled and stopped at that agent. /v1/device is unchanged so
clients built earlier keep working.

Client: at Ready a swipe moves between agents; the name is shown through
the exchange; each agent keeps its own conversation; a follow-up goes to
the agent that answered. Reopened within the conversation window it opens
on the last agent, otherwise on the default. With one agent, or a bridge
without /v1/agents, nothing changes.

Also: contract section G, server survey and key evidence, the 0.1.2
upload, and the CODY-020 correction. Not reviewed, not deployed, not
uploaded.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-21 16:08:11 -08:00
co-authored by Claude Fable 5.2
parent 15714bd848
commit 9394c249ad
20 changed files with 1117 additions and 42 deletions
+8
View File
@@ -3,6 +3,14 @@ HERMES_BASE_URL=http://127.0.0.1:8642
HERMES_API_KEY=replace-with-the-hermes-api-server-key
HERMES_PROFILE_LABEL=default
# Optional: more agents on the glasses (swipe at Ready to choose). Each is another profile of the
# same Hermes gateway and needs its OWN key: add API_SERVER_KEY to that profile's .env on the
# Hermes side, then repeat it here. See docs/bridge-api.md, "More than one agent".
# HERMEVEN_AGENT_NAME=Pepper
# HERMEVEN_AGENTS=wendy,cody
# HERMEVEN_AGENT_WENDY_API_KEY=replace-with-wendy-profile-api-server-key
# HERMEVEN_AGENT_CODY_API_KEY=replace-with-cody-profile-api-server-key
HERMEVEN_HOST=127.0.0.1
HERMEVEN_PORT=8787
# Caddy is in front, so the client address comes from its forwarded header.