A Hermes Agent plugin that
routes the native web_extract tool to a user-managed
Crawl4AI instance.
The plugin registers a WebSearchProvider through
ctx.register_web_search_provider(...), integrating with Hermes' native web
tooling without introducing custom tool names. It supports extraction only;
configure another search-capable provider when you also need web_search.
This fork is for users who already manage their own Crawl4AI infrastructure and do not need bundled deployment scripts, research skills, or a persistence tool. It was created in response to the requirements described in upstream issue #1.
Install the repository with the Hermes CLI:
hermes plugins install SolerSoft/hermes-crawl4ai
hermes plugins enable web-crawl4ai
hermes config set web.extract_backend crawl4aiImportant
After installation, restart hermes so it reloads plugins.
hermes gateway restart only restarts the gateway and does not restart TUI or
web dashboard. If you're using docker you'll need to use compose down and
compose up -d.
Note
Repository name and plugin name differ. Install with
SolerSoft/hermes-crawl4ai but use web-crawl4ai for everything else.
Hermes prompts for the required environment variables during installation. To configure them manually, set the following values in the Hermes environment file:
| Environment variable | Purpose |
|---|---|
CRAWL4AI_URL |
Base URL for your Crawl4AI instance, for example http://crawl4ai:11235 |
CRAWL4AI_API_TOKEN |
Bearer token accepted by your Crawl4AI instance |
Your Crawl4AI service must be reachable at CRAWL4AI_URL and accept POST /md
requests. The plugin sends the configured token as a bearer token when one is
supplied.
Remove the installed plugin by its manifest name, not its GitHub repository name:
hermes plugins remove web-crawl4aiFor each URL passed to web_extract, the provider requests filtered Markdown
from Crawl4AI's /md endpoint and returns the result to Hermes. A failed
request returns an error entry for only the affected URL, without preventing
results for other URLs.
- Plugin not listed or loaded: run
hermes plugins list, then enableweb-crawl4aiwithhermes plugins enable web-crawl4aiand restart the active Hermes user interface. web_extracterrors: verifyCRAWL4AI_URLis reachable from Hermes andCRAWL4AI_API_TOKENmatches the token configured by your Crawl4AI service.