Deep Research AI Agentic System
Deep Research AI Agentic System
Explanation
Overview
The Deep Research AI Agentic System is a multi agent pipeline that autonomously
performs deep research on any given topic using real-time web search and large
language models (LLMs). It is designed to be modular, scalable, and entirely open-
source powered. The system uses LangGraph to orchestrate agentic workflows,
Tavily API for online search, and Groq's high-speed inference API for LLM-based
summarization and answer generation.
System Architecture
1. Research Agent
Function: Conducts an online search using the Tavily Search API and extracts
relevant web snippets.
Function: Drafts a high-quality, coherent answer using the research summary and the
original user question.
3. LangGraph Workflow
Component Description
LangGraph Orchestrates multi-agent workflows
LangChain Initially used (optional now for tools)
Groq Fast inference for open-source models (LLaMA 3)
Tavily Real-time, advanced web search results
Python Core programming language
dotenv Securely loads API keys from .env file
File Structure
agentic-system/
│
├── agents/
│ ├── research_agent.py # Tavily + Groq summary
│ └── answer_agent.py # Groq-powered answer drafter
│
├── graph/
│ └── agent_graph.py # LangGraph workflow builder
│
├── utils/
│ └── groq_llm.py # Groq completion wrapper
│
├── main.py # CLI entry point
├── .env # API keys
└── requirements.txt # Python dependencies
Execution Flow
4. Answer Agent: