Files
2026-06-11 15:53:07 +00:00

604 B
Raw Permalink Blame History

LangGraph Tavily Comparison Agent

Description

This repository contains a simple LangGraph agent that compares three entities using Tavily web search. The agent follows the assignment requirements:

  1. Generates comparison criteria based on the entities.
  2. Performs a Tavily search for each entitycriterion pair.
  3. Builds a markdown table of findings.
  4. Provides a verdict.

Setup

pip install -r requirements.txt
export TAVILY_API_KEY=your_key
export OPENAI_API_KEY=your_key
python main.py

Usage

Run python main.py to see a demo comparison of Tavily, Google, and Bing.