Skip to main content

Quickstart

This guide walks through the most common Kestrel Search workflows.
By default, Kestrel Search:
  1. Searches DuckDuckGo.
  2. Fetches up to three times the requested result count.
  3. Extracts readable content from those pages.
  4. Re-ranks the candidates with BM25.
  5. Returns the top five results.
Progress messages go to stderr. Results go to stdout.

Return fewer results

Produce JSON for an agent

To save only the machine-readable output:
Skip page retrieval and BM25 ranking when search-result snippets are enough:

Search more than one provider

Run multiple queries

Repeat -q or --query to search several queries in one command. You do not need to provide a separate positional query:
The positional form remains available for a single query and can be combined with repeated --query options. Continue with multi-query and multi-provider search or install the agent skill.