Hermes Agent currently has a hard-coded whitelist in the web_tools.py. So _is_backend_available("kagi") returns false when trying to use this plugin and it uses the fallback search backend instead. I was already in the process of implementing kagi for web search in Hermes Agent before I came across this repo but what I came up with is basically the same as what you did. To fix this issue though I had to monkey patch the web_tools.py to add kagi to the whitelist in order for it to return true whenever the kagi api key variable is configured. Did you not run across this issue yourself?
Hermes Agent currently has a hard-coded whitelist in the web_tools.py. So
_is_backend_available("kagi")returns false when trying to use this plugin and it uses the fallback search backend instead. I was already in the process of implementing kagi for web search in Hermes Agent before I came across this repo but what I came up with is basically the same as what you did. To fix this issue though I had to monkey patch the web_tools.py to add kagi to the whitelist in order for it to return true whenever the kagi api key variable is configured. Did you not run across this issue yourself?