Skip to main content
The Firecrawl tool plugs into a Swarms agent through swarms_tools.crawl_entire_site_firecrawl. The agent receives a structured site dump and can analyse, rewrite, or summarise the content — useful for marketing copy review, competitive research, content audits, and bulk data extraction.

Key features

Step 1: Prerequisites

  • Python 3.8+
  • Firecrawl API key — get one at firecrawl.dev/app
  • LLM provider key (e.g. OPENAI_API_KEY)

Step 2: Install

Step 3: Set environment variables

Step 4: Build a marketing-copy agent

Step 5: Run a task

The agent will call the Firecrawl tool, receive structured page content, and return rewritten copy — all within a single run() call.

See also

  • Web Scraper Agents — alternative scraping tool, plus a multi-site batched pattern.
  • Agent Tools — how Swarms turns Python functions into tools.