CrewAI tools for cloro. cloro loads the live page of a search engine or an AI assistant for a query and a country, and returns the result as structured data.
pip install crewai-cloro Get an API key at dashboard.cloro.dev. The free plan includes 500 credits each month. Set the key as CLORO_API_KEY, or pass api_key=... to a tool.
from crewai import Agent, Crew, Task from crewai_cloro import CloroAIAnswerTool, CloroGoogleSearchTool researcher = Agent( role="Search analyst", goal="Compare what Google and AI assistants say about a topic.", backstory="You check live sources and cite the URLs you use.", tools=[ CloroGoogleSearchTool(max_results=5, include_ai_overview=True), CloroAIAnswerTool(engine="chatgpt"), CloroAIAnswerTool(engine="google_ai_mode"), ], ) task = Task( description="Which SERP APIs do Google, ChatGPT and Google AI Mode recommend for AI agents?", expected_output="A short comparison with the cited URLs.", agent=researcher, ) print(Crew(agents=[researcher], tasks=[task]).kickoff()) Each CloroAIAnswerTool gets its own tool name, cloro_ , so one agent can hold several engines. Pass name= to change it.
A direct call returns the same text the agent gets:
print(CloroGoogleSearchTool().run(query="retrieval-augmented generation", country="GB")) Parameters All tools take:
CloroGoogleSearchTool and CloroBingSearchTool also take max_results (default 10), include_ai_overview (default False) and include_ads (default False). Results with an empty link or a Google redirect link are skipped.
With include_ads=True, the ads on the page come after the organic results. Each ad starts with Google ad or Bing ad, then its type, block and position. The ads cost no more credits and do not count towards max_results.
CloroAIAnswerTool also takes engine: google_ai_mode (default), bing_ai_mode, chatgpt or gemini.
uv run --python 3.12 --with crewai --with httpx --with pytest -- env PYTHONPATH=src python -m pytest tests The tests mock the network. The API reference is at cloro.dev/docs.
Both files in this release have provenance metadata.
AI Mode AI Overview Bing ChatGPT CrewAI Gemini Google Web Search agents cloro
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Both files in this release have been uploaded with provenance metadata.
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.
Nov 22, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance




