24 lines
604 B
Markdown
24 lines
604 B
Markdown
# 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 entity‑criterion pair.
|
||
3. Builds a markdown table of findings.
|
||
4. Provides a verdict.
|
||
|
||
## Setup
|
||
|
||
```bash
|
||
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.
|