[codex] Add Hermes runtime support to Bux#261
Draft
ShawnPana wants to merge 2 commits into
Draft
Conversation
ee0fcf1 to
9fc537f
Compare
9fc537f to
6f6aae8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bux-hermeswrapper$HERMES_HOME/SOUL.mdwith managed markers while preserving existing persona textbux-hermes run <prompt>adapter to real Hermes--oneshot <prompt>AGENT_HERMES,/hermes,_run_hermes, andBUX_DEFAULT_AGENTrouting to the Telegram bottg_installpersistBUX_DEFAULT_AGENTfor future BuxFather/cloud default-agent flowsImpact
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=hermesis 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$HERMES_HOME/SOUL.mdis preserved/updated and exported to the Hermes processpython3 -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 --checkNotes
agent/bux-hermesis the adapter boundary. If future Hermes changes the non-interactive invocation shape, only that wrapper should need adjustment.