top of page
Codersarts Blog.
What’s new and exciting at Codersarts
Search


Evaluate Retrieval Before You Blame the LLM
When a RAG assistant gives a wrong answer, the first reaction is usually to blame the language model. Teams try a bigger model, rewrite the prompt, or add more instructions. Often none of it helps, because the model never saw the right information. A model cannot use a passage it was never given, and it will confidently answer from whatever it was given instead. This blog explains why retrieval should be evaluated first, how to separate retrieval failures from generation fail
ganesh90
Oct 2111 min read


MCP vs. Direct Function Calling: When We Use Each
Every useful AI agent needs a way to act: search a database, send a message, create a ticket, read a file. Two approaches dominate how language models are connected to such tools. Direct function calling defines the tools inside your application. The Model Context Protocol, or MCP, defines them in separate servers that any compatible application can use. Both work, and they suit different situations. This blog explains how each one works, compares them on the points that matt
ganesh90
Oct 2111 min read


When Classic ML Beat an LLM for Our Client
Large language models are impressive, and many teams reach for one first. For a surprising number of business problems, a smaller and older approach does the job better, faster, and for far less money. Classic machine learning means models such as gradient boosted trees, logistic regression, and random forests, trained on structured data for one specific task. They are not glamorous, and in the right setting they are hard to beat. This blog explains when classic ML wins over
ganesh90
Oct 2011 min read


AI in the Courtroom: How Courts Are Using AI Without Letting It Judge
Imagine a shopper who buys a washing machine online for S$2,000 and receives a broken one. The seller refuses a refund, so the shopper takes the dispute to a small claims tribunal. Lawyers are not allowed in that room. The evidence is a pile of WhatsApp messages and emails. The forms are confusing, and the documents may not even be in the shopper's first language. For decades, people in this position were largely on their own. Today, courts in several countries are using arti
ganesh90
Oct 911 min read


Why ChatGPT Fails at Machine Learning Assignments (And How to Fix Broken AI Code)
Struggling with endless red error messages after pasting your ML assignment into ChatGPT? Discover why AI models fail at complex Python data science tasks—like matrix dimensions and data leakage—and learn how to debug your broken code before the deadline.

Codersarts
Aug 149 min read


Urgent Machine Learning Help When You Need It: Fast Machine Learning Assistance
When you hit a roadblock in your machine learning project, you need fast machine learning assistance. Whether you are stuck debugging code, scaling your model, or trying to deploy your AI application, waiting around for answers is not an option. I understand how frustrating it can be when deadlines loom and your project depends on quick, reliable support. In this post, I will guide you step-by-step on how to get the help you need immediately. I will share practical tips and r

Codersarts
Apr 304 min read


Research Assistant with AI Sampling
Assignment Overview Scenario: You are a research engineer at an academic institution building tools to help researchers manage and analyze scientific literature. Your task is to create an advanced MCP server that not only provides access to research papers but also uses AI sampling (server-initiated LLM calls) to generate intelligent summaries, extract key findings, and compare papers. This assignment builds on Assignment 1 by adding Module 4 concepts: sampling, production pa
ganesh90
Apr 38 min read


Building an Intelligent Task Management Server
Assignment Overview Scenario: You are a software engineer at a productivity software company. Your team is developing an AI-powered personal assistant that helps users manage their daily tasks, projects, and goals. Your task is to build an MCP server that provides intelligent task management capabilities to Claude Desktop, allowing users to interact with their task lists using natural language. Learning Objectives: Implement MCP tools for CRUD operations on task data Design a
ganesh90
Apr 36 min read


Building a FastA2A Orchestrator with Streaming, Multi-Turn Context, and Framework Integration
Purpose In Assignment 1, you built the core protocol and task-handling pieces. In this assignment, you will extend that foundation into a more realistic system that supports streaming responses, multi-turn conversation continuity, framework integration, observability, and production-minded orchestration. This assignment draws heavily on Chapters 6–7 and asks you to show how FastA2A behaves when it is used as the coordination layer for real application workflows. Connection to
ganesh90
Apr 38 min read


AI-Powered Emergency Response Agent: Real-Time Disaster Decision Support
Introduction During a disaster, incident commanders must process conflicting data from dozens of sources, coordinate resources across multiple agencies, and make life-safety decisions under extreme time pressure. Traditional tools and static decision trees cannot keep pace with rapidly evolving, multi-agency incidents. AI-Powered Emergency Response Agents built on Retrieval-Augmented Generation (RAG) address this by continuously retrieving real-time situational data, historic
ganesh90
Apr 29 min read


Designing and Implementing a FastA2A Agent Server with Tasks, Messages, and Discovery
Purpose This assignment requires you to build a working multi-agent service using the FastA2A design principles covered in Chapters 1–5. You will implement agent identity, capability metadata, structured messages, tasks, context handling, routing, and a basic request/response workflow that mirrors the FastA2A protocol model. Your solution should demonstrate how a real agent system moves from discovery to execution and then back to the client with a stable, inspectable task li
ganesh90
Apr 29 min read


Robot Programming Assistance using RAG: Accelerating Industrial Automation with AI Knowledge Systems
Introduction Programming industrial robots requires mastery of multiple proprietary controller languages, motion planning algorithms, safety standards, and constantly evolving vendor documentation. This knowledge burden slows deployments, escalates costs, and creates dangerous skill gaps across automation teams. Robot Programming Assistance Systems powered by Retrieval-Augmented Generation (RAG) address this by dynamically retrieving relevant vendor documentation, safety stan
ganesh90
Apr 28 min read


Domain-Specific LLM Cost Optimization Strategy & Implementation
Duration: 10–14 days following Assignment 1 Type: Individual Assignment Difficulty Level: Advanced Marks: 100 This assignment requires you to create an original, domain-specific cost optimization strategy for a real-world LLM application that you research or design. Unlike Assignment 1 (general framework), Assignment 2 demands independent research, creative problem-solving, and domain expertise. Learning Objectives Research real LLM cost challenges in a specific industry. Des
ganesh90
Apr 23 min read


Designing and Implementing a Complete LLM Cost Optimization Pipeline
Course: LLM Cost Engineering — From Token Economics to Production Monitoring Student Level: Undergraduate Year 3 / Postgraduate Submission Platform: Moodle (Learning Management System) Individual / Group: Individual Assignments Purpose This assignment requires you to design and implement a comprehensive cost optimization framework for a real or hypothetical LLM-powered application. You will leverage every core concept introduced across Chapters 1–9: understand token economics
ganesh90
Apr 29 min read


Client Agent Discovery, Registries, and Agent Card Security
Course: Agent Discovery & Agent Cards Level: Medium to Advanced Type: Individual Duration: 7 to 10 days Objective This assignment tests your ability to build the Client Agent side of agent discovery, design and operate a shared Agent Registry, and harden an agent discovery system against trust and security failures. By completing this assignment, you will have implemented the complete five-step Client Agent discovery workflow, built both exact and LLM-assisted skill matching,
ganesh90
Apr 28 min read


Writing and Publishing Agent Cards
Course: Agent Discovery & Agent Cards Level: Beginner to Medium Type: Individual Duration: 5 to 7 days Objective This assignment tests your understanding of why agent discovery exists, what every field in an Agent Card communicates, and how to publish a valid, discoverable Agent Card from an A2A server. By completing this assignment, you will have written Agent Cards from scratch, identified and fixed common authoring mistakes, served cards via both FastAPI and FastA2A, and b
ganesh90
Apr 27 min read


Building an Adaptive Multi-Agent Orchestration Engine with Dynamic Routing and Workflow Management
Purpose In Assignment 1, you built the individual building blocks of a multi-agent system. In this assignment, you move beyond isolated concepts and design a complete, production-oriented orchestration engine that can dynamically configure agent pipelines, select routing strategies based on system state, handle errors gracefully, and adapt to different workflow requirements at runtime. This assignment is closer to how multi-agent systems are actually designed in production e
ganesh90
Mar 268 min read


Designing and Implementing a Multi-Agent Collaboration Framework
ASSIGNMENT REQUIREMENT DOCUMENT Course: Agent-to-Agent (A2A) — Multi-Agent Systems in Python Student Level: Undergraduate Year 3 / Postgraduate Submission Platform: Moodle (Learning Management System) Individual / Group: Individual Assignments Total Assignments: 2 This document contains the full specifications for Assignment 1 . Read every section carefully before you begin. You will be assessed on the quality of your implementation, the depth of your analysis, and the c
ganesh90
Mar 2610 min read


Designing an Adaptive Chunking Engine for Real-World RAG Systems
Purpose In this assignment, you move beyond isolated chunking techniques to design a complete, adaptive chunking system that intelligently detects document types and selects or combines chunking strategies accordingly. This simulates how chunking is actually deployed in production RAG systems — not as a fixed function, but as a design decision that adapts to input characteristics. Connection to Course Learning Outcomes (CLOs) CLO Description Relevance CLO 1 Identify structu
ganesh90
Mar 2510 min read


Designing a Production-Ready Chunking Pipeline for Retrieval-Augmented Generation
ASSIGNMENT REQUIREMENT DOCUMENT Course Name: Hybrid Search and Re-ranking — From Retrieval to Reliable Answers Institution: [Institution Name] Semester: [Semester / Term — e.g., Spring 2026] Instructor: [Instructor Name] Student Level: Postgraduate / Senior Undergraduate (Year 3–4) Submission Platform: Moodle LMS Total Assignments: 2 Note to Students: This assignment contains the complete requirements for one of the course assignments . Read the entire document caref
ganesh90
Mar 259 min read
bottom of page