How vaibhavv-labs/ai-research-agent works
AI Research Agent is a small command-line research application. A user supplies a topic; the agent prompts Groq, follows SEARCH instructions by querying DuckDuckGo, feeds observations back into the reasoning loop, and displays a final Markdown report in the terminal. The graph separates orchestration, live search, and report presentation while keeping their shared implementation path. The README documents the ReAct workflow; the source excerpt confirms the calls and loop. There is no separate persistence layer or web-scraping subsystem shown.
Main entry points: research_agent.py Research agent
Components 8
Research workflow
- Topic input
research_agent.py - Research agent
research_agent.py - Groq LLM
Live web search
- Search function
research_agent.py - DuckDuckGo Search
Terminal presentation
- Report rendering
research_agent.py - Terminal output
Other components
- Research user
Connections 9
- Research user → Topic input: enters topic
README.md - Topic input → Research agent: starts agent
research_agent.py - Research agent → Groq LLM: requests completion
research_agent.py - Groq LLM → Research agent: returns response
research_agent.py - Research agent → Search function: searches query
research_agent.py - Search function → DuckDuckGo Search: queries web
research_agent.py - Search function → Research agent: returns results
research_agent.py - Research agent → Report rendering: renders report
research_agent.py - Report rendering → Terminal output: prints report
research_agent.py