Skip to main content

What You’ll Build

A ReAct agent that conducts comprehensive research on any company by combining website crawling with targeted web search. Give it a company name, website URL, and optional research focus — it autonomously crawls the site, extracts key pages, searches for external coverage, and produces a cited research report.

View Source on GitHub

Architecture

The agent autonomously decides which tools to use and in what order. A typical research flow:
  1. Crawl the company website to discover and summarize pages
  2. Extract detailed content from specific URLs found during crawling
  3. Search the web for external information (news, funding, reviews, competitors)
  4. Synthesize everything into a structured report with citations

Tools Used

Quick Start

Source File

How It Works

Each tool wraps a Tavily Agent Toolkit function with agent-friendly parameters:
  • crawl_company_website calls crawl_and_summarize with the company URL, optional extraction instructions, and depth/breadth controls. Returns a summarized overview of the crawled pages.
  • extract_from_urls calls extract_and_summarize with specific URLs and an optional query focus. Uses extract_depth="advanced" for full content extraction.
  • tavily_search calls search_dedup with multiple queries in parallel, returning deduplicated and formatted results with search_depth="advanced".
The agent is prompted as a business intelligence analyst:
Both implementations stream tool calls as they happen, so you can see the agent’s progress in real time:
The crawl_and_summarize and extract_and_summarize tools use a dedicated summarizer model (configured via ModelConfig). In the examples, a smaller model is used for summarization to keep costs low while the main agent model handles reasoning.

Example Interaction

Example Research Topics

  • Company overview and products
  • Leadership team and organizational structure
  • Recent funding rounds and investors
  • Competitive landscape
  • Customer reviews and reputation
  • Technology stack and engineering culture

Key Parameters to Tune

Next Steps

Social Media Research

Add social media intelligence to your agent with platform-specific search.

Hybrid Research

Combine internal company data with web research for deeper analysis.