mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
Adds plugins/web/searxng/. SearXNG aggregates results from upstream engines via its JSON API (/search?format=json) — search-only, no extract capability (supports_extract() returns False). E2E verified — registry now has ['brave-free', 'ddgs', 'searxng'].
15 lines
493 B
Python
15 lines
493 B
Python
"""SearXNG search plugin — bundled, auto-loaded.
|
|
|
|
Backed by a user-hosted SearXNG instance (URL configured via ``SEARXNG_URL``).
|
|
Search-only — pair with an extract provider (firecrawl/tavily/exa) for
|
|
``web_extract`` calls.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from plugins.web.searxng.provider import SearXNGWebSearchProvider
|
|
|
|
|
|
def register(ctx) -> None:
|
|
"""Register the SearXNG provider with the plugin context."""
|
|
ctx.register_web_search_provider(SearXNGWebSearchProvider())
|