Add AG2 (formerly AutoGen) web research pipeline example#48
Open
VasiliyRad wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@VasiliyRad is attempting to deploy a commit to the Firecrawl Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
@ericciarla, could you please review this PR? It adds an AG2 multi-agent web research pipeline that uses Firecrawl's search and scrape APIs through a three-agent GroupChat (searcher, scraper, reporter). AG2 is the community-maintained successor to Microsoft's AutoGen framework — actively developed with native async, tool registration, and multi-agent orchestration. |
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.
Adds
ag2-web-research/— a standalone multi-agent web research pipeline using AG2 v0.11+ GroupChat with Firecrawl search, scraping, and deep research tools. Three specialist agents (searcher, scraper, reporter) run in round-robin order with@register_for_llm/@register_for_executiontool registration.Why: Firecrawl's examples repo shows how to integrate with Google ADK and CrewAI, but has no AG2 (formerly AutoGen) example. AG2 is the community-maintained successor to Microsoft AutoGen with a large developer audience that overlaps with Firecrawl's user base. The
@register_for_llm/@register_for_executionsplit — separating tool description from tool execution — is architecturally distinct from both ADK (tools=[]) and CrewAI (BaseToolsubclass), and maps cleanly to Firecrawl's API surface. No changes to Firecrawl's API wrappers or existing examples are needed.Files added:
ag2-web-research/(4 files — main.py, requirements.txt, .env.example, README.md)