Free internet search tool with crewai

is there any free tool to use for searching?
what i found so far cost money and i am looking for a free solution
any idea?
thanks

This is a start.
@tool(“free_search”)
def free_search(query: str):
“”“Searches the internet for a given topic and returns relevant results. There is only 1 parameter which is just the query string”“”
url = f"{query} - Google Search"

response = requests.get(url)
results = []
for j in search(query, advanced=True, num_results=5, sleep_interval=10):
    result_dict = {
        "url": j.url,
        "title": j.title,
        "description": j.description
    }
    results.append(result_dict)

return json.dumps(results, indent=4)
1 Like

What is that in your code?

Found it here :slight_smile:

Sorry I screwed that post up!

@moto You might like this, FREE proxy rotation :slight_smile:

that is a great resource! thx