bux
bux copied to clipboard
[codex] Add Hermes runtime support to Bux
Summary
- add an opt-in Hermes installer and Bux-owned
bux-hermeswrapper - write Bux context into Hermes' auto-loaded
$HERMES_HOME/SOUL.mdwith managed markers while preserving existing persona text - map Bux's stable
bux-hermes run <prompt>adapter to real Hermes--oneshot <prompt> - add
AGENT_HERMES,/hermes,_run_hermes, andBUX_DEFAULT_AGENTrouting to the Telegram bot - let
tg_installpersistBUX_DEFAULT_AGENTfor future BuxFather/cloud default-agent flows - document the implementation plan and local non-production smoke test
Impact
Hermes can be tested as a third local Bux agent without making it the production default. Existing Claude and Codex flows remain the fallback unless a lane is explicitly switched to Hermes or BUX_DEFAULT_AGENT=hermes is configured.
Validation
hermes --helpandhermes chat --helpinspected locally; real Hermes v0.12.0 supports--oneshot, not arunsubcommandHERMES_BIN="$(command -v hermes)" BUX_HOME="$HOME" ./agent/bux-hermes run "Reply with exactly: bux-hermes-ok"returnedbux-hermes-ok- temp-home installer smoke confirmed uppercase
$HERMES_HOME/SOUL.mdis preserved/updated and exported to the Hermes process python3 -m py_compile agent/telegram_bot.py agent/box_agent.pybash -n agent/install-hermes agent/bux-hermes install.sh agent/bootstrap.shpython3 -m unittest discover agentgit diff --check
Notes
agent/bux-hermes is the adapter boundary. If future Hermes changes the non-interactive invocation shape, only that wrapper should need adjustment.