Skip to main content

SuperSearch

SuperSearch is a local Python library and CLI that searches web, code, community, and research sources concurrently, deduplicates results, preserves source provenance, and returns within one deadline.

SuperSearch is developed by Hermes Labs.

Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.

CI

One query across web, code, community, and research sources. One deadline.

The default search path needs no paid search key and no LLM. It returns search evidence, not an answer.

See the 60-second evidence-packet replay to understand where the open retrieval kernel fits in the larger SuperSearch product.

python3 -m venv .venv
. .venv/bin/activate
python -m pip install hermes-supersearch
supersearch search "Python 3.12 distutils removal migration setuptools" --pretty

The PyPI distribution is hermes-supersearch; the Python import and CLI command are both supersearch.

Install the agent skill in Claude Code, Codex, or Gemini CLI

The repository root is one portable Agent Plugin: a plugin.json manifest and the single skill skills/supersearch/SKILL.md. Each host installs that same root through its own native command; none gets a separate copy of the skill.

Host Install Read back
Claude Code claude plugin marketplace add hermes-labs-ai/supersearch && claude plugin install supersearch@supersearch claude plugin list
OpenAI Codex CLI codex plugin marketplace add hermes-labs-ai/supersearch && codex plugin add supersearch@supersearch codex plugin list
Gemini CLI gemini extensions install https://github.com/hermes-labs-ai/supersearch --ref main gemini extensions list
Any skills-compatible agent npx skills add hermes-labs-ai/supersearch --skill supersearch npx skills list

Claude Code reads .claude-plugin/marketplace.json and .claude-plugin/plugin.json; Codex reads .agents/plugins/marketplace.json (entry ./) and plugin.json; Gemini CLI reads gemini-extension.json and discovers the skill under skills/. Pin --ref v0.11.1 for a reproducible Gemini installation, or use --ref main to follow development.

Installing the skill does not install the Python package. The skill runs uvx --from hermes-supersearch==0.11.1 supersearch search ... (or a throwaway venv at the same pin) with an explicit source mix, per-source cap, and deadline; validates the receipt against the v0.11.1 supersearch.search.v1 schema; and reports per-source status. It returns evidence, never a synthesized answer.

Product boundary

This repository is the open Apache-2.0 retrieval kernel: source adapters, deadline containment, URL deduplication, source-state reporting, the supersearch.search.v1 contract, and the local CLI/Python API.

Hermes Labs is separately developing a managed evidence-packet layer that can turn a research objective into multiple query families, inspect selected pages, retain passage-level provenance, expose coverage gaps, and optionally produce a cited synthesis. That compiler, its evaluation corpus, hosted operations, and enterprise controls are not part of this repository or the PyPI package.

The public replay is deliberately static: it demonstrates the packet contract and failure visibility without pretending that a hosted API is available. If you are evaluating this workflow for an agent or research team, contact info@hermes-labs.ai.

Confirm the installed version without starting a search:

supersearch --version

Outputs the version number as plain text:

0.11.1

To search and receive structured results, run:

supersearch search "query"

The search command writes exactly one versioned JSON document to stdout:

{
  "schema_version": "supersearch.search.v1",
  "status": "partial",
  "sources": [
    {"name": "ddg", "status": "completed", "result_count": 3, "diagnostics": []},
    {"name": "github", "status": "failed", "result_count": 0, "diagnostics": ["..."]}
  ],
  "results": [
    {
      "rank": 1,
      "title": "...",
      "url": "https://...",
      "snippet": "...",
      "sources": ["ddg", "hn"],
      "score": null
    }
  ]
}

partial is a usable result with at least one degraded, failed, or timed-out source. unavailable means source failures prevented any result. A completed source with zero matches is reported separately from a failed source.

The recurring job

Use SuperSearch when an agent or engineer needs to scout several kinds of public evidence under a bounded latency budget:

  • find migration guidance across web docs, GitHub, and practitioner discussion;
  • map an unfamiliar open-source landscape without searching each surface by hand;
  • collect standards, implementations, and community context before analysis;
  • feed source URLs and snippets into an agent through a framework-neutral JSON or Python contract.

If one web index is sufficient, call that index directly. If you need a hosted answer engine, managed crawling, an SLA, or a comprehensive research report, use a service built for that job. SuperSearch is the local fan-out layer between those two cases.

Five-minute quickstart

List the registered surfaces:

supersearch search --list-sources

Choose a source mix and total deadline:

supersearch search \
  "SQLite vector search extension sqlite-vec USearch" \
  --sources ddg,hn,github,arxiv \
  --max-per-source 3 \
  --deadline 12 \
  --pretty > receipt.json

Inspect availability before consuming results:

python - <<'PY'
import json

receipt = json.load(open("receipt.json"))
print(receipt["status"])
for source in receipt["sources"]:
    print(source["name"], source["status"], source["result_count"])
for result in receipt["results"][:3]:
    print(result["sources"], result["title"], result["url"])
PY

The five-minute showcase uses the same path and calls out what every field does and does not mean.

Python API

from supersearch import fanout_search

receipt = fanout_search(
    "RFC 9116 security.txt well-known path",
    sources=["ddg", "hn", "github", "arxiv"],
    max_per_source=3,
    deadline_seconds=12,
)

if receipt["status"] in {"ok", "partial"}:
    for result in receipt["results"]:
        print(result["sources"], result["url"])

The JSON contract is documented in docs/search-receipt-v1.schema.json. Existing low-level callers can still use supersearch.sources.search_all and SearchResult directly.

Architecture

query
  ├─ DDGS metasearch ───────────────┐
  ├─ Hacker News API ───────────────┤
  ├─ GitHub Search API ─────────────┼─ one monotonic deadline
  └─ arXiv API ─────────────────────┘
                                      ↓
                         URL dedupe + provenance merge
                                      ↓
                     supersearch.search.v1 JSON receipt

Each source runs on a daemon thread. The caller waits on one monotonic total deadline, not the sum of per-source timeouts. A late source is abandoned for that call; fast siblings still return. Output order is re-keyed to the requested source order before merging, so thread completion order does not reorder the receipt.

DDGS itself can query several web backends. SuperSearch adds direct code, community, academic, regulatory, and company surfaces around that web layer. See architecture and the inspected capability map.

Core, optional, and experimental

Tier Surface Model/key requirement
Core supersearch search, fanout_search, deadline fan-out, dedupe, provenance, source status No LLM; no paid key for defaults
Experimental legacy LocalReranker / search_all(..., rerank=True) Local Ollama embedding model requested; outside the Product V1 total-deadline contract
Optional supersearch verify source-bound evidence receipt Local Ollama evaluator for positive verdicts; otherwise fail-closed UNVERIFIED
Optional authenticated GitHub and self-hosted SearXNG sources User-supplied credential or service
Experimental research, intelligence routing, query expansion, scraper utilities Mixed; some paths use local models

The older positional command supersearch "query" remains for compatibility, but it reranks and summarizes through local-model-oriented code and is not the Product V1 entry point.

What it refuses to claim

SuperSearch does not claim that:

  • a result, snippet, or SUPPORTED Verify verdict is true or certified;
  • its indexes are broader, fresher, faster, or more relevant than hosted APIs;
  • every public source permits unlimited automated use or will remain available;
  • a completed search is exhaustive;
  • source provenance proves authorship, independence, or authority;
  • the default cache is a freshness guarantee.

Verify verdicts describe a relationship between a claim and named retrieved evidence. They are not general truth judgments. Read the Verify receipt contract.

Network, privacy, freshness, and cost

Queries leave the machine and are sent to the selected public services. Those services can log, rate-limit, personalize, or block requests under their own terms. SuperSearch has no telemetry service and requires no SuperSearch account. Do not send secrets or private claims to public sources.

The default path has no SuperSearch per-query fee and requires no paid API key, but it still uses your network and compute. Optional services, credentials, or local models have their own costs. DDGS-backed queries may be served from a local JSON cache for up to 24 hours; direct fan-out sources are not cached by the orchestrator. Details: privacy and cost. Set SUPERSEARCH_CACHE_DIR when a sandbox must keep cache writes in a specific root.

Alternatives

SuperSearch is not a replacement for every search product:

Need Better fit
direct free web metasearch with its own CLI/MCP DDGS
a broad, operator-controlled metasearch service SearXNG
managed search/extraction with accounts, quotas, and vendor infrastructure Tavily, Exa, or Firecrawl
local heterogeneous fan-out with one total deadline and source-state receipts SuperSearch

The source-bound comparison notes record official links, retrieval date, and dimensions. They make no cross-product ranking-quality or truth-accuracy claim.

Installation and distribution truth

SuperSearch supports Python 3.10+ and currently declares ddgs, requests, numpy, lxml, and httpx. Numpy and httpx mostly serve optional local-model paths; they remain base dependencies, so the README does not pretend the wheel is slimmer than it is.

PyPI already has a case-insensitive Super-Search distribution. The public distribution is therefore hermes-supersearch, while the import, CLI command, and public repository remain supersearch.

Tests

python -m pip install -e '.[test]'
python -m pytest

Offline tests cover result merging, deterministic parallel/serial equivalence, deadline containment, source-status honesty, JSON parseability, Verify receipt semantics, and optional workflows. Live model tests remain opt-in.

Project documents

Metadata

Release files for hermes-supersearch 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hermes-supersearch 0.11.1
File Size Uploaded Provenance Actions
hermes_supersearch-0.11.1.tar.gz 184.9 kB With provenance Details for hermes_supersearch-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hermes-supersearch 0.11.1
File Interpreter ABI Platform Actions
hermes_supersearch-0.11.1-py3-none-any.whl Python 3 none any Details for hermes_supersearch-0.11.1-py3-none-any.whl

Total release size: 300.9 kB

Release files / hermes_supersearch-0.11.1.tar.gz

Download URL hermes_supersearch-0.11.1.tar.gz
Size 184.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9c9e0d9b2ea4456167ea3717a77817e17f602929753291db06c6fdc4a12fbd8b
BLAKE2b-256 checksum
How to use checksums
75aeaa3bc030e2016b6b20be32cc9994f87b4e91cc0272c8d1d875f608b39463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / hermes_supersearch-0.11.1-py3-none-any.whl

Download URL hermes_supersearch-0.11.1-py3-none-any.whl
Size 116.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d2625894cdc59e98f58099249cb01cd4dd7eb46b432f7c495b65b0822741849
BLAKE2b-256 checksum
How to use checksums
4e25117d19ef4576b916f8feb218c9f7dde02435ae1eccec7d0b2494c84da2bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for hermes-supersearch 0.11.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hermes_supersearch-0.11.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.11.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page