gpt-researcher-cloro
cloro retrievers for GPT Researcher. The package adds four retrievers:
RETRIEVER |
cloro endpoint | Returns | Credits per search |
|---|---|---|---|
cloro |
POST /v1/monitor/google |
Google organic results (about 10 links per search) | 5 |
cloro_bing |
POST /v1/monitor/bing |
Bing organic results (one page per search) | 5 |
cloro_aimode |
POST /v1/monitor/aimode |
The Google AI Mode answer, then the sources it cites | 6 |
cloro_bing_aimode |
POST /v1/monitor/bing/aimode |
The Bing AI Mode answer, then the sources it cites | 6 |
GPT Researcher (0.16.1 or later) finds the retrievers through the gpt_researcher.retrievers
entry point. You do not change GPT Researcher.
Setup
- Get an API key at dashboard.cloro.dev. The free plan includes 500 credits each month.
- Install the package in the same Python environment as GPT Researcher:
pip install gpt-researcher-cloro
export CLORO_API_KEY="your-cloro-key"
export RETRIEVER=cloro # or cloro_bing, cloro_aimode, cloro_bing_aimode, or cloro,cloro_aimode
You can combine the retrievers with built-in retrievers, for example RETRIEVER=cloro_aimode,arxiv.
Configuration
| Variable | Default | Purpose |
|---|---|---|
CLORO_API_KEY |
unset | Required. Sent as Authorization: Bearer <key>. |
CLORO_COUNTRY |
US |
ISO 3166-1 alpha-2 country code for the engine location. Bing and Bing AI Mode accept all countries except CN, KR and RU. |
CLORO_INCLUDE_ADS |
false |
Set it to true to add the ads on the page to the results of cloro and cloro_bing. The ads cost no more credits. |
Behaviour
cloro:
- Each result is
{"title", "href", "body"}.bodyis the Google snippet, cut to 500 characters. The retriever setsrequires_scraping = True, so GPT Researcher scrapes each page. - The retriever returns the organic results, and not the AI Overview. To add the ads, set
CLORO_INCLUDE_ADS=true. - One search returns one page of Google results.
MAX_SEARCH_RESULTS_PER_QUERYabove 10 gives no more results. - With
query_domains, the query getssite:filters joined withOR. - Results with an empty link or a Google redirect (
google.com/goto) link are skipped.
cloro_bing:
- The same result shape as
cloro, with Bing organic results.bodyis the Bing snippet. The retriever setsrequires_scraping = True, so GPT Researcher scrapes each page. - The retriever returns the organic results, and not the AI Overview. To add the ads, set
CLORO_INCLUDE_ADS=true. - One search returns one page of Bing results.
CLORO_COUNTRYsets the Bing market. - With
query_domains, the query getssite:filters joined withOR. - Bing puts the query in the page URL, so the limit is 3,500 characters after URL encoding. Non-Latin
scripts get fewer characters. cloro rejects a longer query with a
400error, and the retriever gives[].
cloro and cloro_bing with CLORO_INCLUDE_ADS=true:
- When the page has ads, one more result comes after the organic results. Its
raw_contentlists all ads, and each ad starts withGoogle adorBing ad.sourceisgoogle_adorbing_ad, andhrefis the URL of the results page.max_resultsdoes not count this result. - GPT Researcher uses this text without a scrape. It does not open the ad URLs, because that is a click on the ad.
- The retriever sets
requires_scraping = Falseso that GPT Researcher keeps the text. GPT Researcher still scrapes each organic result.
cloro_aimode:
- The first result is the AI Mode answer (Markdown) under
raw_content. GPT Researcher uses this text without a scrape. Itshrefis the Google AI Mode URL for the query (https://www.google.com/search?udm=50&q=...), so the report cites it as Google AI Mode. - The next results are the sources that the answer cites. They have no
raw_content, so GPT Researcher scrapes them. The retriever setsrequires_scraping = Falsefor this reason. max_resultscounts the answer and the sources together.query_domainsis accepted but not applied.- An AI Mode answer can take 15 seconds or more. The request timeout is 180 seconds.
cloro_bing_aimode:
- The same result shape as
cloro_aimode. The first result is the Bing AI Mode answer (Markdown) underraw_content. Itshrefis the Bing AI Mode URL for the query (https://www.bing.com/copilotsearch?q=...). The next results are the sources that the answer cites. - Bing puts the prompt in the page URL, so the limit is 3,500 characters after URL encoding. Non-Latin
scripts get fewer characters. cloro rejects a longer prompt with a
400error, and the retriever gives[]. GPT Researcher sub-queries are short, so this limit applies only to a very long query. - The request timeout is 180 seconds.
All retrievers:
- Each search is one cloro request. With the default
MAX_ITERATIONS=3, aresearch_reportmakes 5 searches per retriever (1 initial search, 3 sub-queries and the original query). That is 25 credits withcloroorcloro_bing, and 30 credits withcloro_aimodeorcloro_bing_aimode. Other report types can make more searches. - A missing key, a network error, an HTTP error (for example
INSUFFICIENT_CREDITS) or a response that cannot be read is logged and gives[]. One failed provider does not stop a research run.
Development
uv sync
uv run pytest
uv run ruff check .
uv build
The tests replace requests.post with a stub and do not call the cloro API.
License
MIT
Metadata
Release files for gpt-researcher-cloro 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpt_researcher_cloro-0.4.0.tar.gz | 13.7 kB | With provenance | Details for gpt_researcher_cloro-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpt_researcher_cloro-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for gpt_researcher_cloro-0.4.0-py3-none-any.whl |
Total release size: 21.7 kB
Release files / gpt_researcher_cloro-0.4.0.tar.gz
| Download URL | gpt_researcher_cloro-0.4.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2173111adc0c1a30075dae7788edf264cbbcd0fb6c1578fedb2d4b6310365ed2
|
|
BLAKE2b-256 checksum How to use checksums |
b076360d6a36a1e841b07227ae5c248bbbc21f98955af64819c9c04c2669afe9
|
| 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 Nov 22, 2026.
Transparency logRelease files / gpt_researcher_cloro-0.4.0-py3-none-any.whl
| Download URL | gpt_researcher_cloro-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d902e3c0c9f57fde756e3c48b08c3f9d63b295b3c9eeae155942edd9fff7dd1a
|
|
BLAKE2b-256 checksum How to use checksums |
0b206b80d541f45a271e73a0a93c3760597d4256e94c1de0af74c140397686aa
|
| 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 Nov 22, 2026.
Transparency logSecurity for gpt-researcher-cloro 0.4.0
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.
Attestation for gpt_researcher_cloro-0.4.0.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 Nov 22, 2026.
Transparency logA 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.