Hermes Agent plugin that exposes Amazon Q Developer as a chat tool and selectable model, authenticated via Amazon Builder ID (RFC 8628 device flow).
git clone <repo-url> ~/.hermes/plugins/builder
~/.hermes/plugins/builder/scripts/setup.shsetup.sh is idempotent:
- backs up
config.yaml - writes/refreshes
providers.aws-builder - ensures
builderis inplugins.enabled - stamps plugin
REVISION - probes adapter reachability if
curlis available
~/.hermes/plugins/builder/scripts/uninstall.sh
hermes plugins uninstall builder
restart Hermesuninstall.sh removes only builder-owned config:
providers.aws-builder- legacy
providers.builder plugins.enabledentryplatform_toolsets.*/known_plugin_toolsets.*entries- dangling
model.providerif it pointed at builder - empty
providers/plugins/ toolset stubs
- Prefer running
uninstall.shbeforehermes plugins uninstall builder. Uninstalling the plugin dir first removes the script. - After reinstall, restart Hermes so
register()starts the in-process adapter and registers the provider entry.
Key fixes landed in this repo for uninstall/reinstall safety:
- duplicate provider removal in
uninstall.shremoved - legacy
builderslug cleanup added in_provider.py - empty config stubs pruned after uninstall
register()/unregister()now idempotent and clean up thepre_tool_callhooksetup.shinsertion is indentation-aware and includes an adapter reachability probe
python3 -m pytest tests/ tests/integration -q
python3 verify.py