Skip to content

This agent inputs query from user, searches on the web, generates comprehensive report, summarizes and presents an email draft all with Gradio Interface. 🧠 OpenAI + fallback LLM 🌐 Serper API (MCP). βœ… LangGraph β†’ orchestrating all nodes in correct order βœ… Email/report generator β†’ outputting a structured summary

Notifications You must be signed in to change notification settings

Zareeb3/Information-Flow-AI-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

InfoFlow AI v4 β€” MCP + LangSmith Enabled (Colab-ready)

This version integrates:

  • Real HTTP search endpoints (Serper) in the MCP-like agent (uses environment keys SERPER_API_KEY)
  • LangSmith tracing for every node call (if LANGSMITH_API_KEY present and langsmith installed)
  • OpenAI via LangChain (requires OPENAI_API_KEY)
  • Fallbacks: Wikipedia search and rule-based summarizer -> ensures meaningful outputs offline
  • Gradio UI with share=True (works in Colab)

Quickstart (Colab):

  1. pip install -r requirements.txt

  2. (optional) pip install transformers[sentencepiece] accelerate

  3. cp .env.example .env and fill keys:

    • OPENAI_API_KEY (recommended)
    • LANGSMITH_API_KEY (optional, for LangSmith traces)
    • SERPAPI_API_KEY or SERPER_API_KEY (optional, for real HTTP search)
  4. python ui/app_ui.py # click the gradio.live public link Notes:

About

This agent inputs query from user, searches on the web, generates comprehensive report, summarizes and presents an email draft all with Gradio Interface. 🧠 OpenAI + fallback LLM 🌐 Serper API (MCP). βœ… LangGraph β†’ orchestrating all nodes in correct order βœ… Email/report generator β†’ outputting a structured summary

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages