What's New in 0.2.2
- Solver requests that carry proxy settings no longer follow redirects or use
HTTP_PROXY/HTTPS_PROXYfrom the environment. The plugin opens them with no redirects and no environment proxy, so stored proxy headers reach only the solver URL you configured. - The proxy setting and credential rows now say that headers go to your solver, which uses them with your proxy. Tool calls still cannot choose either destination.
- URL policy checks try
utils.url_safetyfirst and fall back totools.url_safetyon hosts that still expose the alias. - The manifest names Apostol Apostolov as the author.
What's New in 0.2.1
- Every URL a tool fetches passes the host's URL policy first, through the same
tools.url_safetycheck the built-in fetch tools use. Loopback, private, link-local and cloud-metadata targets are refused,solver_fetchre-checks each redirect hop, andsolver_loadrefuses a batch that contains one instead of fetching the rest. - The proxy is a setting only. Tool calls no longer carry proxy fields, so a URL chosen inside a prompt cannot route your stored proxy credentials to a host it named.
- Proxy secrets come from the host secret scope. A scope error now stops the call instead of falling back to the process environment, which under a multi-profile gateway read the launch profile's value.
solver_cookiesomits cookie values from the CDP payload it returns unlessshowValuesis true. The jar keeps the full cookies forsolver_bridge, which injects them without printing them.- The auto-fallback middleware reads
web_extract'surlsargument and wrapsweb_extractby default.browser_exectakes code rather than a URL, so it is no longer a default target.
What You Can Do
- Fetch solved HTML from a JS- or Cloudflare-walled page through the solver configured in Settings.
- Harvest challenge cookies such as
cf_clearance, then inject them into a running browser through CDP so browser-use or computer-use can continue an interactive flow. - Batch-fetch public pages to clean text for document capture and RAG.
- Extract JSON-LD, meta tags, headings and term/value pairs from solved HTML without site-specific selectors.
- Check solver health, version and latency, with queue counters, before a scheduled job runs.
- Fall back from a direct fetch to the solver automatically when a page is walled or short.
The service you point this at must speak the FlareSolverr /v1 API. Byparr and FlareSolverr both do. The plugin has no built-in address beyond the standard local default, so any host works after setup.
Setup
You need a solver reachable over HTTP. On the machine that will run the plugin, start one of these.
Byparr (recommended, actively maintained):
docker run -d --name byparr -p 8191:8191 \
-e BROWSER_LOCALE=en-US -e BROWSER_TIMEZONE=UTC \
ghcr.io/thephaseless/byparr:latest
FlareSolverr (compatible alternative):
docker run -d --name flaresolverr -p 8191:8191 \
-e TZ=UTC ghcr.io/flaresolverr/flaresolverr:latest
Check the solver with curl http://127.0.0.1:8191/health. A Byparr answer usually contains Byparr is working!; FlareSolverr reports FlareSolverr is ready! at /.
Then install and enable the plugin:
hermes plugins install https://github.com/apoapostolov/hermes-agent-awesome-plugins/tree/main/public/byparr-tools
hermes plugins enable byparr-tools
Open Settings > Plugins > byparr-tools and set Solver URL to your solver's address, for example http://127.0.0.1:8191 for a local container or http://<host>:8191 for one on another machine. FLARESOLVERR_URL overrides this setting for a single host. The three original tools plus six new ones appear in the next session; the gateway defers tool registration.
For cookie bridging, set Browser CDP URL to a Chrome/Chromium DevTools endpoint with a page target, normally http://127.0.0.1:9222. BYPARR_CDP_URL overrides it. Challenge cookies are commonly bound to User-Agent and IP, so drive a browser that shares the solver's egress IP and set the UA the tool returns.
Settings
| Setting | Default | What it does |
|---|---|---|
| Solver URL | http://127.0.0.1:8191 | Base URL of the Byparr or FlareSolverr instance. |
| Default solve timeout | 60 | Seconds for a solve; values 1000+ are milliseconds. |
| Block media during solves | on | Skip images, media and fonts for faster solves. |
| Solver fallback in solver_fetch | on | Retry through the solver when a direct fetch is walled, short or fails. |
| Tools that get solver fallback | web_extract | Tool names whose walled results are retried through the solver. Only a tool that takes URLs can be wrapped. |
| Allow LAN and loopback targets | off | Off refuses loopback, private and link-local addresses before any fetch. On allows pages on your own network; cloud metadata addresses stay blocked either way. |
| Include HTML by default | off | Return HTML from solver_get without asking per call. |
| HTML result cap | 6000 | Maximum HTML characters returned by one call. |
| Text result cap | 3000 | Maximum characters per page for solver_load and solver_fetch. |
| Browser CDP URL | http://127.0.0.1:9222 | DevTools endpoint used by solver_bridge. |
| Spacing between solves | 0.2 | Delay between solver requests; the solver already serialises solves. |
| Retries per request | 2 | Retries on transient solver errors with short backoff. |
| Cookie jar lifetime | 1800 | Seconds a stored cookie session stays usable. |
| Persist cookie jar to disk | off | Off keeps cookies in memory only; on writes them to the plugin data dir. |
| Cookie jar directory | empty | Optional directory for the persisted jar. |
| Proxy server | empty | Optional protocol://host:port for the configured solver to use on every solve. Tool calls cannot choose the solver or the proxy. |
| Proxy username / password | unset | Sent as request headers to the configured solver, which uses them with the proxy above. Stored in the host secret scope, never config.yaml. |
FLARESOLVERR_URL, BYPARR_CDP_URL, BYPARR_PROXY_USERNAME and BYPARR_PROXY_PASSWORD override their settings for one host. Proxy credentials come from the host's secret scope, never config.yaml. The plugin sends them as request headers to the solver URL you configure, with no redirects and no environment proxy; the solver uses them with your proxy.
What the agent writes
| Tool | Result |
|---|---|
solver_get | Status, byte count, wall flag, solved flag and optional truncated HTML for one URL. |
solver_cookies | Cookie names, an optional jar session, a CDP Network.setCookies payload and the exact User-Agent. Values are left out of the payload and the result unless showValues is true. |
solver_load | Clean text with source metadata for a list of URLs. |
solver_status | Health body, version, latency, queue counters and a redacted settings summary. |
solver_bridge | Injects a jar session or explicit cookies into the configured CDP target, including the UA. |
solver_extract | JSON-LD, meta, title, headings and term/value pairs from HTML or a URL. |
solver_fetch | Direct fetch text, with a solver fallback; reports which route produced the body. |
jar_list / jar_clear | List sessions by name and count, or remove one. Cookie values never appear. |
The tools are transport and extraction primitives. Site-specific interpretation belongs in the calling skill, so a price parser stays in price-hunting rather than in this plugin.
Requirements / Limits
- A reachable FlareSolverr-compatible HTTP solver. The plugin does not install or start one for you.
- The tool handlers open outbound HTTP connections to the configured solver and, for
solver_bridge, to the configured CDP endpoint. No other network destination is contacted. - Python standard library only. No pip dependencies.
- The solver is GET-only in this plugin. There is no inbound cookies field, no session parameter and no login flow. Use
solver_cookiesplussolver_bridgefor an interactive page. solver_loadneeds the solver's Open WebUI/loadendpoint. FlareSolverr builds without it will not answer;solver_getstill works.- Cookies are live session state. The jar is in memory unless disk persistence is explicitly enabled, and values are never written to chat output, logs or commits by the tools.
- Each fetched URL is checked with the host's
tools.url_safety, the same policy the built-in fetch tools follow. Outside a Hermes process that module is absent and only the floor is enforced (scheme, address literals, cloud-metadata hosts), because the resolver policy lives in the host. - A cloud-hosted solver is likely to stay blocked by Cloudflare. Run the solver on a machine whose traffic looks like real user traffic.
License
README from the reviewed commit 58a78f6; it updates when the author re-pins.

apoapostolov


