Prerequisites
The following example requires thecrawl4ai library, its browser runtime, and an OPENAI_API_KEY for the Agent’s default model.
Crawl4aiTools exposes a crawl function that fetches one or more URLs with Crawl4ai’s AsyncWebCrawler and returns extracted markdown content, optionally filtered by a search query using BM25.
crawl4ai library, its browser runtime, and an OPENAI_API_KEY for the Agent’s default model.