Skip to content

About

Hermes plugin to support web_extract using Crawl4AI.

Resources

Stars

11 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hermes-crawl4ai

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.

Why This Fork Exists

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.

Use With Hermes

Install the repository with the Hermes CLI:

hermes plugins install SolerSoft/hermes-crawl4ai
hermes plugins enable web-crawl4ai
hermes config set web.extract_backend crawl4ai

Important

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.

Uninstall

Remove the installed plugin by its manifest name, not its GitHub repository name:

hermes plugins remove web-crawl4ai

Plugin Behavior

For 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.

Troubleshooting

  • Plugin not listed or loaded: run hermes plugins list, then enable web-crawl4ai with hermes plugins enable web-crawl4ai and restart the active Hermes user interface.
  • web_extract errors: verify CRAWL4AI_URL is reachable from Hermes and CRAWL4AI_API_TOKEN matches the token configured by your Crawl4AI service.

License

MIT License

About

Hermes plugin to support web_extract using Crawl4AI.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages