AI Student Helper is a multi-agent automation system built with LangGraph to assist students and professionals in automating academic and career-related tasks. It follows a graph-based workflow execution model, ensuring efficient task routing and execution.
Refer https://nselvar.github.io/ai-student-helper/ for in depth tech document
The AI Student Helper follows a modular multi-agent architecture, where:
- A Supervisor Agent acts as a task router.
- Specialized Agents execute specific tasks based on user input.
- A graph-based workflow (LangGraph) dynamically determines execution paths.
- Role: Routes user requests to the correct specialized agent.
- Logic:
- Analyzes user input using an LLM.
- Keyword-based mapping triggers corresponding agents.
- Returns processed results to the user.
Each agent operates independently, executing tasks based on LLM processing, automation scripts, and external API interactions.
- Prompts the user for a PDF file path.
- Extracts text content using
PyMuPDF
orpdfplumber
. - Uses an LLM-based summarization function to generate key points.
- Returns a structured summary.
- Uses
pytube
to download transcripts (if available). - If no transcript is available, leverages Whisper for speech-to-text conversion.
- Summarizes content using LangGraph-based AI model.
- Extracts resume information.
- Uses
Selenium
orLinkedIn API
to automate job applications. - Matches jobs based on LLM-powered profile analysis.
- Uses Streamlit for an interactive UI.
- Implements LLM-based step-by-step problem-solving.
- Provides explainable responses for better understanding.
Technology | Role |
---|---|
Python | Core programming language |
LangGraph | Manages workflow execution |
ChatOpenAI | Provides AI-powered responses |
Streamlit | Enables interactive UI |
Selenium | Automates job applications |
pytube | Extracts YouTube video transcripts |
PyMuPDF | Parses PDF files |
- User enters a request (e.g.,
"summarize a PDF"
). - Supervisor Agent extracts intent.
- Relevant agent is activated.
- Task is processed, and output is generated.
- Response is returned to the user.
- Each node in the graph represents an agent.
- The edges define execution logic based on user input.
- This structure allows dynamic branching without unnecessary processing.
- Python 3.8+
- OpenAI API Key
- Required Python libraries
-
Clone the repository:
git clone https://github.com/your-repo/ai-student-helper.git cd ai-student-helper
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python3 SupervisorLangGraph.py
- Set the OpenAI API key:
export OPENAI_API_KEY="your_open_ai_key"
- Configure LinkedIn credentials in
config.yml
. - Execute the main script:
python3 SupervisorLangGraph.py
Demo videos are available in the following directory:
https://github.com/nselvar/AIStudentHelper/tree/main/demo
The AI Student Helper is a multi-agent automation system that efficiently handles student and professional tasks using AI-based interactions. It leverages LangGraph, LangChain, and LLM-powered processing to automate complex workflows.