hermes-clawifi-web
Clawifi as a web backend for Hermes Agent. It serves both Hermes web tools:
| Hermes tool | Clawifi call | Cost |
|---|---|---|
web_search |
POST /search/free: ranked results (title, URL, snippet) |
1 credit; 0 when nothing is found or the answer is cached |
web_extract |
POST /fetch per URL: the page or PDF as Markdown |
1 credit per web page; 2 credits per started 50 pages of a PDF; 0 when the page cannot be read |
A free Clawifi account has 1,000 credits a month and needs no card. Without a key, the plugin uses Clawifi's keyless trial: 12 calls a minute and 50 a day per address, 3 results per search.
Install
-
Install the plugin with Hermes. This works on every Hermes install:
hermes plugins install ReARCLabs/hermes-clawifi-web/src/hermes_clawifi_web
If you manage the Python environment that runs Hermes yourself, you can install the package from PyPI instead. Use the
pipof that environment, not your systempip:~/.hermes/hermes-agent/venv/bin/pip install hermes-clawifi-web
-
Enable the plugin. Hermes does not load third-party plugins until you do:
hermes plugins enable web-clawifi
-
Set your API key (optional, see the keyless trial above). Create a free account at clawifi.dev/signup, then add the key to
~/.hermes/.env:CLAWIFI_API_KEY=your-key
-
Select the backend:
hermes config set web.backend clawifi
You can also pick Clawifi under Web Search & Extract in
hermes tools. -
Restart Hermes.
Use Clawifi for one tool only
web.backend sets both tools. To mix backends, set them separately in ~/.hermes/config.yaml:
web:
search_backend: "clawifi"
extract_backend: "firecrawl"
Settings
| Variable | Required | Meaning |
|---|---|---|
CLAWIFI_API_KEY |
no | Your Clawifi API key. Without it the keyless trial is used. |
CLAWIFI_API_BASE |
no | Base URL of a self-hosted Clawifi. The default is https://api.clawifi.dev. |
Behavior to know
- The keyless trial is used only when you select Clawifi and set no key. Hermes never picks it on its own. Trial calls go to
https://api.clawifi.dev/mcp, and each search result carries anotethat says so. When the trial limit is reached, the error says how to get a key. - Hermes may answer from another service when Clawifi fails. By default, Hermes retries a failed web call once through its own keyless free tier and adds a
backend_errornote with the Clawifi error. web.keyless_fallback: falseturns both off. Clawifi then needs a key, and a failed call shows the Clawifi error.- Search returns at most 20 results, the Hermes limit for every backend. Queries longer than 500 characters are cut to 500.
- Extract returns Markdown. Up to two pages are read at once (the limit of the Free plan), and results keep the order of the URLs you asked for. A page that fails has an
errorfield; the other pages still return. - Pages are read without a browser. A page that needs JavaScript, sits behind a sign-in or CAPTCHA, or reports "not found" returns an
errorand costs 0 credits. - Privacy. Requests carry your API key and the User-Agent
hermes-clawifi-web/<version>. They carry no other identifier.
Development
pip install -e ".[test]"
pytest # unit tests, HTTP is mocked
ruff check .
CLAWIFI_LIVE=1 CLAWIFI_API_KEY=your-key pytest tests/test_live.py # real API, about 2 credits
The tests in tests/test_hermes_integration.py run only when Hermes Agent is installed in the same environment. They use a temporary HERMES_HOME, so they never touch ~/.hermes.
License
MIT. Copyright (c) 2026 ReARC Labs Inc.
Metadata
Release files for hermes-clawifi-web 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hermes_clawifi_web-0.1.0.tar.gz | 20.7 kB | Without provenance | Details for hermes_clawifi_web-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hermes_clawifi_web-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hermes_clawifi_web-0.1.0-py3-none-any.whl |
Total release size: 31.5 kB
Release files / hermes_clawifi_web-0.1.0.tar.gz
| Download URL | hermes_clawifi_web-0.1.0.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59b101a6eaeb6af8b5de18d8cf27d919d5b62a0a0204cb8640cc4b20383d8b9c
|
|
BLAKE2b-256 checksum How to use checksums |
8e2c0c43f98b7a06ac82a5d07d0f042523f567a6593ffdf992e64ae7cef85fe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / hermes_clawifi_web-0.1.0-py3-none-any.whl
| Download URL | hermes_clawifi_web-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c813a0b7930748df39ebdd7e21a7d918e363a2f342fb6027a80682478ebe0d8
|
|
BLAKE2b-256 checksum How to use checksums |
ca36030d9cd243f009719489906d0a3a0cd57fa2bdd67874105730473842bf99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Security for hermes-clawifi-web 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.