feat: Add CrewAI integration for autonomous web crawling#2102
Open
saturnabitsick wants to merge 2 commits into
Open
feat: Add CrewAI integration for autonomous web crawling#2102saturnabitsick wants to merge 2 commits into
saturnabitsick wants to merge 2 commits into
Conversation
- Add crewai_tool.py module with CrewAI-compatible web crawling tools - Provide 4 main tools: crawl_website, extract_data_from_url, crawl_multiple_urls, search_and_crawl - Global crawler instance for efficient resource management - Async-to-sync wrapper for CrewAI compatibility - Comprehensive documentation and examples - Examples include: basic crawling, multi-agent workflows, competitive analysis, data extraction - Optional CrewAI dependency with graceful fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Complete overview of CrewAI integration - Key features and use cases summary - File structure and implementation details - Quick reference guide Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive CrewAI integration to Crawl4AI, enabling autonomous AI agents to use Crawl4AI for web scraping, data extraction, and research tasks. The integration provides CrewAI-compatible tools that seamlessly connect crawling capabilities with multi-agent workflows.
List of files changed and why
crawl_website(),extract_data_from_url(),crawl_multiple_urls(), andsearch_and_crawl(). Includes global crawler instance management and async-to-sync wrapper for compatibility.crewai_example_1_basic.py- Simple website crawlingcrewai_example_2_multi_agent.py- Multi-agent research workflowcrewai_example_3_competitive_analysis.py- Competitive intelligence gatheringcrewai_example_4_data_extraction.py- Structured data extractionHow Has This Been Tested?
@tooldecorator for CrewAI compatibilityChecklist