Agentic AI Lets try to implement a supervisor agent and adopt that to our use case of get all defect and summarizing the defects and sending a communication (email) Supervisor This is a multi agent architecture with specialized agents coordinated by supervisor agent Refer Here for sample implementation of supervisor agent. Refer Here for the… Continue reading Gen-AI Developer Classroom notes 29/Jun/2025
Category: Classroom notes
Gen-AI Developer Classroom notes 29/Jun/2025
Setting up Developer Environment for Building Agents Create a folder mkdir virtualenvdemo && cd virtualenvdemo Create a virtual environment python -m venv .venv Activate virtual environment on Terminal Windows: .venv\Scripts\activate Linux/Mac Python has two types of libraries Standard Library: This is shipped with python installation Third Party Or Community Packages: This requires an additional installation.… Continue reading Gen-AI Developer Classroom notes 29/Jun/2025
Gen-AI Developer Classroom notes 28/Jun/2025
Chain of Thought Prompt Refer Here for Chain of thought Overview of Models On a larger note the following are the organizations with popular models Open AI Google Anthropic LLAMA Open AI Playground Refer Here for the link Temperature sets the creativity 0 => Deterministic 2 => Random Max Tokens Also explore playground in GCP… Continue reading Gen-AI Developer Classroom notes 28/Jun/2025
Gen-AI Developer Classroom notes 28/Jun/2025
Agent Description: Lets build an Agents which will interact with jira and perform necessary actions Bug Summarizer: Consider we are working for a project and defects are raised and every day before team starts the day, agent should gather information and summarize defects Scrum Activity Planning: JIRA SETUP JIRA has free trail for one month… Continue reading Gen-AI Developer Classroom notes 28/Jun/2025
Gen-AI Developer Classroom notes 26/Jun/2025
Evolution of AI to Generative AI Machine Learning Supervised Learning: Prediction Un Supervised Learning Classification NLP (Natural Language Processing) Attention is all you need Prompts – Few Shot Promts Here we give promt where we explain it how to generate the content As an expert in mathematics, I want you to solve the math problem… Continue reading Gen-AI Developer Classroom notes 26/Jun/2025
Gen-AI Developer Classroom notes 25/Jun/2025
Generative AI Generative AI refers to the AI which generates content. Content can be multi modal(text, audio, image, video) How it generates text (simplified version) All models do is to predict next word (token) and gives the whole statement back to model till it predicts everything. The models which are used in Gen-AI are referred… Continue reading Gen-AI Developer Classroom notes 25/Jun/2025
Gen-AI Developer Classroom notes 24/Jun/2025
System Setup Softwares Package Manager Windows: Winget Chocolatey Mac: Homebrew Git: Windows: INstall Git For Windows manually Mac: brew install git Python Windows winget install –id=Python.Python.3.13 -e Mac: brew install python@3.13 Visual Studio Code Windows winget install -e –id Microsoft.VisualStudioCode Mac: brew install –cask visual-studio-code Docker Desktop (Optional) AWS CLI: Windows winget install -e –id… Continue reading Gen-AI Developer Classroom notes 24/Jun/2025
Gen-AI Developer Classroom notes 22/Jun/2025
Gen-AI Developer Classroom notes 21/Jun/2025
Lets findout classroom notes posting Our tool needs to search the blog for a notes of a particular date and forward the link Refer Here for the jupyter notebook uploaded to search and send
Gen-AI Developer Classroom notes 19/Jun/2025
CRM – Agent integrating db with llm calls To integrate llm with tools we have following options llm + bind tools ToolNode react agent To get all the student email ids we have written a tool of our own, lets see if we can use any prebuilt tool Refer Here for the changes done to… Continue reading Gen-AI Developer Classroom notes 19/Jun/2025
Gen-AI Developer Classroom notes 18/Jun/2025
CRM – Agent Notification Agent Send Emails to the students Send Telegram notifications (optional) What is required ? database for sending emails: smtp (gmail) sendgrid (api’s) Infra Setup steps (Laptop) Lets use a mysql database in docker container This requires docker desktop to be installed on your system Lets create a mysql container bash docker… Continue reading Gen-AI Developer Classroom notes 18/Jun/2025
Gen-AI Developer Classroom notes 17/Jun/2025
Agents We have to build an agentic ai to solve a business problem. Problem ChatBot Travel Planner Career Advisor Personal Finance Advisor Movie Recommender Product Advisor Interview Process Streamliner IT Ticket Agent: Solve some areas without human intervention DNS Entry Creating a ssl certificate Renewing the certificate Stock Market: Recommendations Personal Email Summarizer Educational: Creating… Continue reading Gen-AI Developer Classroom notes 17/Jun/2025
Gen-AI Developer Classroom notes 15/Jun/2025
Time Travel Lets see how langgrpah supports debugging by viewing, replaying and even forking past states To browse history we can use graph.get_state on the graphs side to fetch the information and we can also browse the state history of our agent using get_state_history If you want to run the grap from a particular checkpoint… Continue reading Gen-AI Developer Classroom notes 15/Jun/2025
Gen-AI Developer Classroom notes 14/Jun/2025
langgraph-sdk This sdk is used to call the graphs Refer Here for SDK create a folder sdk-examples with two subfolders client graphs In graphs create a virtual environment and activate the virtual environment. open vs code in the folder and select interpreter use the requirements.txt from here install all dependencies Refer Here for the changes… Continue reading Gen-AI Developer Classroom notes 14/Jun/2025
Gen-AI Developer Classroom notes 13/Jun/2025
Streaming updates of graph Streaming of graph gives updates node by node. In the previous session we had only one node lets create a graph with multiple nodes and then stream Refer Here at the end of the notebook to see the streaming Events in streaming Refer Here for the solution Human in the loop… Continue reading Gen-AI Developer Classroom notes 13/Jun/2025
Gen-AI Developer Classroom notes 11/Jun/2025
Streaming in langgraph Refer Here for graph Initially we have setup synchronous execution with invoke Graph as streaming support with two methods stream astream Refer Here for official docs stream modes updates: display only the updates values: display all the values updated so far. Async and Await in python Refer Here for tutorial import asyncio… Continue reading Gen-AI Developer Classroom notes 11/Jun/2025
Gen-AI Developer Classroom notes 10/Jun/2025
Message Summarization Refer Here for the jupyter notebook with solution for message summarization.
Gen-AI Developer Classroom notes 09/Jun/2025
Trimming Messsages Refer Here for the fix for remove message reducer Summarizing messages Watch classroom video for topics Exercise: Refer Here and figure out what is happening with summarization For debugging Refer Here and create a langstudio graph and ensure summarization works
Gen-AI Developer Classroom notes 08/Jun/2025
Reducers Lets build a graph which will have parallel nodes In the above graph, both B and C Execute at same time in parallel When we change state in parallel, Invalid Update Error is shown, to resolve this we can implement reducers Langgraph has inbuilt reducer add_messages to add message during nodes Langgraph also has… Continue reading Gen-AI Developer Classroom notes 08/Jun/2025
Gen-AI Developer Classroom notes 05/Jun/2025
Langgraph Persistence (memory) Refer Here for official docs Refer Here for the changes done Refer Here for the jupyter notebook. Filtering States Refer Here
