Langchain & LangGraph Langchain: Langchain abstracts the llm interactions Langchain provides all the necessary tooling to build the ai enable applications Langgraph: Langgraph helps in building complex agent by creating workflows as graphs Refer Here Abstraction To interact with models (llm) langchain has chat models setup: create a new folder execute uv init create virtual… Continue reading Gen-AI Developer Classroom notes 12/Jul/2025
Tag: data-science
Gen-AI Developer Classroom notes 10/Jul/2025
MCP Servers contd Lets try integrating our mcp server with llm and get the work done On windows, Create and environmental variables VIRTUAL_ENV and pass the value of your folder of .venv C:\khajaclassroom\GenerativeAI\agenticai\june25\mcp\servers\dummy_sales_data\.venv Now run the mcp based on configuration from claude, it should work How to integrate this MCP server with MCP Host In… Continue reading Gen-AI Developer Classroom notes 10/Jul/2025
Gen-AI Developer Classroom notes 09/Jul/2025
Data Generator MCP contd Refer Here for new changes ensure you have delete all the containers and volumes Get the latest version of the code cd into the folder june25/mcp/servers/dummy_sales_data Run the command docker compose up -d Now open docker desktop and click on phpmyadmin port (8080) Every time to remove all the data generated… Continue reading Gen-AI Developer Classroom notes 09/Jul/2025
Gen-AI Developer Classroom notes 07/Jul/2025
MCP Servers contd… Resources and Prompts Refer Here for official docs on mcp resources Refer Here for changes done to implement a simple resource Refer Here for the official docs of prompts Refer Here for the changes to implement prompts Lets build mcp server Lets assume we have ecommerce website and the data is stored… Continue reading Gen-AI Developer Classroom notes 07/Jul/2025
Gen-AI Developer Classroom notes 05/Jul/2025
MCP Server In the last session we have used existing mcp Servers with Claude Desktop. Goal: Today lets try to write our own mcp server and call it from claude Introduce mcp inspector. MCP Server has 3 components tools resources prompts Steps Refer Here for mcp server quick start with python. Create a new directory… Continue reading Gen-AI Developer Classroom notes 05/Jul/2025
Gen-AI Developer Classroom notes 02/Jul/2025
Lets play with mcp Ensure Claude Desktop is installed. Lets run a simple mcp server and interact with claude desktop In todays session the claude desktop will be used as mcp host Mcp servers might be developed in python or nodejs or java or c# MCP servers can also run in docker containers Lets install… Continue reading Gen-AI Developer Classroom notes 02/Jul/2025
Gen-AI Developer Classroom notes 01/Jul/2025
MCP Contd MCP Architecture Overview MCP Server: This is server side of mcp which works with external datasources (Google Drive, Slack, Github…………….) MCP Host: This is an IDE/LLM Chat Interface/Python code Host creates one mcp client per mcp server MCP Client: Interacts with MCP Server Transport Layer: Stdio transport: MCP Client and MCP Server on… Continue reading Gen-AI Developer Classroom notes 01/Jul/2025
Gen-AI Developer Classroom notes 30/Jun/2025
How to build a AI Agent Agentic AI is all about building an autonomous agent which can act on its own based on Environment Provided and if required also can bring Human in the loop. Examples: An Agent to automatically summarize the minutes of meeting (MOM) An Agent to respond to customer requests/issues raised. An… Continue reading Gen-AI Developer Classroom notes 30/Jun/2025
Gen-AI Developer Classroom notes 29/Jun/2025
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
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
