Debugging code Lets debug the following code num = int(input("Enter a number: ")) if num > 1: for i in range(2, num): if num % i == 0: print(num, "is not a prime number") break else: print(num, "is a prime number") else: print(num, "is not a prime number") create a folder called as debugging and… Continue reading Python Classroom notes 04/Jun/2026
Gen-AI Developer Classroom notes 04/Jun/2026
Deep Agents by Langchain Designed for long running complex agents Inspired by Claude Code and Manus Code Agents This framework has support for tools memory models In addition to this it supports all necessary addons Planning tools Todos Skills Subagents FileSystem Hooks for before model call after model call Lets get started with deep agents… Continue reading Gen-AI Developer Classroom notes 04/Jun/2026
Python Classroom Notes – 21/05/2026
Python Classroom notes 29/May/2026
Python Python language can be used for different purposes Scripting Programming Web ML Functional Data The python which we install is C-Python, there are other flavors Anaconda Jython Iron Python Python is a dynamically typed language Python has prinicples which are referred as Zen of Python The Zen of Python, by Tim Peters Beautiful is… Continue reading Python Classroom notes 29/May/2026
Gen-AI Developer Classroom notes 29/May/2026
Connecting to AWS Bedrock Refer Here for langchain aws integration Create a new directory initialize with uv and add the following packages uv add langchain python-dotenv langchain-aws Open in vscode and select interpretor In main.py from langchain.agents import create_agent from langchain_aws import ChatBedrockConverse from langchain.chat_models import init_chat_model from dotenv import load_dotenv import os load_dotenv() def… Continue reading Gen-AI Developer Classroom notes 29/May/2026
Python Classroom notes 27/May/2026
Programming language This helps in writing logic to solve a problem and run it on OS To interact with OS, there are three options Compiler: C, C++, Golang Interpreter: We need interpretor to be installed on the target machine Python, nodejs Hybrid: Compiler -> convert your logic into Bytecode (Intermediate Language) Interpretor -> Bytecode into… Continue reading Python Classroom notes 27/May/2026
Gen-AI Developer Classroom notes 27/May/2026
System Set up with first calls to LLMs Goal: Basic code to connect to llms on Google Cloud Softwares required python Git Visual studio code Google Cloud SDK AWS CLI Azure CLI UV Configurations Google Cloud SDK AWS CLI Azure CLI Sample code if this works your system is good to go. Installation Prompt On… Continue reading Gen-AI Developer Classroom notes 27/May/2026
Python Classroom notes 26/May/2026
Exercise – 7 Project euler 1 problem If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3,5,6 and 9 . The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. Solution number = 1 result =… Continue reading Python Classroom notes 26/May/2026
Gen-AI Developer Classroom notes 26/May/2026
Model (LLM) A model at its core predicts the next token A Large Language Model is trained on almost all the publically available web information, books, research papers, opensource code A model can generate different types of outputs (Modal) Text Image Video Code A multi modality LLM What we want I want an LLM which… Continue reading Gen-AI Developer Classroom notes 26/May/2026
Python Classroom notes 25/May/2026
Exercise- 5: Make ria calcualte reverse fo a number Solution 1. number = 123 2. reverse = 0 3. digit = number % 10 4. reverse = digit + reverse * 10 5. number = number // 10 6. if number > 0 goto 3 7. say reverse Exercise- 6: Find out if the number… Continue reading Python Classroom notes 25/May/2026
Gen-AI Developer Classroom notes 25/May/2026
Journey into Agents We have models available Self Hosted: A model running on your hardware Cloud Hosted: Google, AWS, Azure => Model as a service Models By Vendor (Platforms): 4 OpenAI Claude Gemini In all of the above cases we need some credentials to connect Self Hosted (Optional) Cloud (CLI Based logins / api-keys) Platforms… Continue reading Gen-AI Developer Classroom notes 25/May/2026
Python Classroom notes 24/May/2026
Database Layer We need to figure out a way to interact with database From the design perspecive we have two options Executing SQL Statements ORM Frameworks Python to Database using raw sql statements Databases: On a larger note we have two types of databases Relational Databases: Here data is stored in tabular formats and tables… Continue reading Python Classroom notes 24/May/2026
Gen-AI Developer Classroom notes 23/May/2026
Lets complete the library mcp implementation Refer Here for the changes done Instructions # create a new folder git clone https://github.com/GenAIDevelopment/agenticai.git cd may26/mcp/library-mcp docker compose up -d Now for the client execute npx @modelcontextprotocol/inspector and connect mcp inspector to the url http://localhost:19000/mcp How about Agent Refer Here for a client code I want an MCP… Continue reading Gen-AI Developer Classroom notes 23/May/2026
Python Classroom notes 21/May/2026
API Versioning and API Routers When we provide apis we need to ensure our changes would not impact existing consumers. What if i want to develop a better apis. This is where api versioning will help You have an endpoint which is /products we will expose to the consumers as /v1/products Find out in fast… Continue reading Python Classroom notes 21/May/2026
Gen-AI Developer Classroom notes 21/May/2026
Course Walkthrough Objectives RAG Vector Databases Agents Agentic AI – Workflow Tools – MCP Deep Agents Fine-tuning Cost Control & Governanace: Gaurd rails Grounding Costs control Observability Deployment: Containers Cloud Technologies and Frameworks Models: Cloud GCP AWS Azure SaaS: Claude OpenAi Gemini Self Hosted: qwen deepseek llama gemma gpt-oss Frameworks: langchain langgraph deepagents unsloth Language:… Continue reading Gen-AI Developer Classroom notes 21/May/2026
Gen-AI Developer Classroom notes 20/May/2026
MCP Refer Here for the changes added Exercise ensure issue_book and top performing books is implemented by you
Python Classroom notes 20/May/2026
Basics CPU executes the instructions Memory (RAM) is where the data lives Datatypes Datatypes internally help in selecting memory and Datatypes help in writing logic We have Datatypes for integers float boolean text/string Now we have other types list/array class struct dictionary Speaking with Ria Remember 10 as a a = 10 Ria knows the… Continue reading Python Classroom notes 20/May/2026
Python Classroom notes 19/May/2026
Fake Store API Refer Here for api docs Pydantic This helps is dealing with request and response body Pydantic also helps in validation To create a message structure in pydantic Create a class, derive from BaseModel and define type hints from pydantic import BaseModel class Product(BaseModel): id: int name: str description: str price: float When… Continue reading Python Classroom notes 19/May/2026
Gen-AI Developer Classroom notes 19/May/2026
Continuing library mcp Problem: MCP Server for College Library Users: Librarians Students Think of librarian activities Pending returns issue books process return books fine management add books retiring books quarterly summary fines return and issue summary account_balance no dues certificates article subscriptions book catalog manage reservations rack management process damage process lost books Track returns… Continue reading Gen-AI Developer Classroom notes 19/May/2026
Python Classroom notes 19/May/2026
Theme This kid is very good at following instructions and has a very limited knowledge Exercise Kid knows + – == Way of getting things done from here Problem 5 + 7 Solution calculate 5 + 7 and say result Problem 5 + 7 + 6 Solution calculate 5 + 7 and remember the value… Continue reading Python Classroom notes 19/May/2026
