[Hands-on] Build a Multi-agent Brand Monitoring System
Scrape LinkedIn + X + YouTube + Web + Instagram hassle-free.
Scrape LinkedIn + X + YouTube + Web + Instagram hassle-free.

TODAY'S ISSUE
Today, we're building a brand monitoring app that scrapes web mentions of a brand at scale and produces insights about a company.
Tech stack:
Here's the workflow:

Let's implement this!
To monitor a brand, we must scrape data across various sourcesβX, YouTube, Instagram, websites, etc.
Thus, we'll first gather recent search results from Bright Data's SERP API.

The above output will contain links to web pages, X posts, YouTube videos, Instagram posts, etc.
To scrape those sources, we use Bright Data's platform-specific scrapers.

We'll serve R1 locally through Ollama.
To do this:

Here's the codeπ
We will have multiple Crews, one for each platform (X, Instagram, YouTube, etc.)

Each Crew will have two Agents:
Below, let's implement the X Crew!
Note: The implementation for other Crews is available in the GitHub repo linked later.
This Agent analyzes the posts scraped by Bright Data and extracts key insights. It is also assigned a task to do so.

The Agent takes the output of the X analyst agent and generates insights.

Finally, we use CrewAI Flows to orchestrate the workflow:

We wrap the app in a clear streamlit interface for interactivity and run the Flow.

When Agents use tools, they run into issues like IP blocks, bot traffic, captcha solvers, etc. This hinders the Agent's execution.
βGrab the API_KEY here ββ
It lets you:

Thanks to Bright Data for working with us on this demo.
Find the code in this GitHub repo: βBrand monitoring repoβ.
Thanks for reading!