> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keenable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Keenable search and fetch work without an API key. To add them to code, use the official SDK for the project's language: https://docs.keenable.ai/sdks.md
> Read an API key from the KEENABLE_API_KEY environment variable. Never ask a user to paste a key into chat; send them to https://docs.keenable.ai/api-keys.md
> On 402 with an API key (code insufficient_credits), stop and ask a human to add credits; don't retry. On 429, wait the number of seconds in Retry-After, then retry.
> Every error, with its cause and fix: https://docs.keenable.ai/errors.md

# GPT Researcher

> gpt-researcher-keenable, a retriever plugin that gives GPT Researcher Keenable web search with no API key.

*Retriever plugin*

Give [GPT Researcher](https://github.com/assafelovic/gpt-researcher) Keenable web search with the `gpt-researcher-keenable` retriever plugin. It works without an API key. GPT Researcher finds the plugin through its plugin entry point, so you don't change any GPT Researcher code.

→ [gpt-researcher-keenable on PyPI](https://pypi.org/project/gpt-researcher-keenable/)

## Install

You need GPT Researcher 0.16.1 or later. Install the plugin:

```bash theme={"system"}
pip install gpt-researcher-keenable
```

## Select Keenable

Set the `RETRIEVER` environment variable:

```bash theme={"system"}
export RETRIEVER=keenable
```

To use Keenable alongside the built-in retrievers, separate the names with commas, for example `RETRIEVER=keenable,arxiv`.

## Retriever behavior

* Each result gives GPT Researcher a title, a URL and a short preview of the page. GPT Researcher then scrapes the pages it keeps, as it does with its built-in web retrievers.
* `MAX_SEARCH_RESULTS_PER_QUERY` sets the number of results, from 1 to 50.
* If you set `query_domains`, the plugin searches only the first domain you list.
* If a network or API call fails, the plugin logs the error and returns no results, so the research run continues.

> [!NOTE]
>
> If you don't set a key, searches run on the shared public tier at [lower rate limits](https://docs.keenable.ai/rate-limits.md). Set `KEENABLE_API_KEY` to use your organization's limits and remove the hourly cap.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.