From 9419a8795cd02db28330d0cfb24d8bee9b7c0aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B8=D0=BD=D0=B0=D1=80=20=D0=9C=D0=B8=D1=80=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=B8=D1=82=D0=BE=D0=B2?= Date: Thu, 18 Jun 2026 09:23:27 +0000 Subject: [PATCH] Reworked to produce research brief without tables. Updated README. Code compiles.: update README.md --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9332099..3908416 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ -# LangGraph Comparative Review Agent +# LangGraph research brief generator ## Overview -This repository contains a LangGraph agent that, given three entities, builds a comparative review table. The agent: +This repository contains a LangGraph agent that generates a connected research brief on a single topic. The agent: -1. Generates 3‑5 comparison criteria using an LLM. -2. For each entity‑criterion pair performs a Tavily web search and collects a short note. -3. Builds a Markdown table with rows = criteria, columns = entities. -4. Produces a short verdict recommending the best entity for each use case. +1. Uses an LLM to generate concise section headings for the brief. +2. For each heading, performs a Tavily web search to fetch relevant content. +3. Aggregates the sections into a single Markdown brief with a summary. The agent is implemented in `src/main.py` and can be run from the command line. @@ -25,11 +24,11 @@ The following environment variables must be set: ## Usage ```bash -# Default demo – compares Chroma, FAISS, Qdrant +# Default demo – generates a brief on "Artificial Intelligence" python -m src.main -# Custom entities -python -m src.main "Entity1" "Entity2" "Entity3" +# Custom topic +python -m src.main "Quantum Computing" ``` -The script prints the generated criteria, the comparison table, and the verdict. +The script prints the generated brief in Markdown format.