𝗔𝗜 𝗔𝗴𝗲𝗻𝘁𝘀 𝘃𝘀 𝗔𝗴𝗲𝗻𝘁𝗶𝗰 𝗥𝗔𝗚.
Same brain. Different job.
𝗔𝗜 𝗔𝗴𝗲𝗻𝘁
Gets a goal, like "book my trip."
Plans the steps.
Uses tools: APIs, browser, code, email.
Checks the result and repeats until it's done.
Built to 𝗱𝗼 things.
𝗔𝗴𝗲𝗻𝘁𝗶𝗰 𝗥𝗔𝗚
Gets a question.
Decides where to look: vector DB, SQL, or the web.
Rewrites the query if needed.
Checks if the results are relevant, and searches again if not.
Built to 𝗸𝗻𝗼𝘄 things.
Normal RAG searches once.
Agentic RAG keeps searching until the answer is right.
𝗘𝘃𝗲𝗿𝘆 𝗔𝗴𝗲𝗻𝘁𝗶𝗰 𝗥𝗔𝗚 𝘀𝘆𝘀𝘁𝗲𝗺 𝗶𝘀 𝗮𝗻 𝗮𝗴𝗲𝗻𝘁. 𝗡𝗼𝘁 𝗲𝘃𝗲𝗿𝘆 𝗮𝗴𝗲𝗻𝘁 𝗱𝗼𝗲𝘀 𝗥𝗔𝗚.
RAG Interview Question
Interviewer:
An e-commerce chatbot handles 200K requests/day using a hosted LLM API
Input: $3/1M tokens
Output: $15/1M tokens
Input per request: 4,200 tokens
Output per request: 300 tokens
What is the approximate daily API cost?
நினைவில் கொள்ளுங்கள்:
Git-ஐ சிறப்பாகக் கற்றுக்கொள்ள, Commands-ஐ மட்டும் மனப்பாடம் செய்யாமல், Code எவ்வாறு ஒரு நிலையிலிருந்து மற்றொரு நிலைக்குச் செல்கிறது என்பதைப் புரிந்துகொள்ளுங்கள்!
Git என்பது கட்டளைகளை மனப்பாடம் செய்வது மட்டுமல்ல!
கோடுகள் (Code) எவ்வாறு நான்கு முக்கிய நிலைகளைக் கடந்து செல்கின்றன என்பதைப் புரிந்துகொள்வதே Git-ஐ கற்றுக்கொள்வதன் அடிப்படை.
Git-இன் நான்கு முக்கிய நிலைகள்:
❶ Working Directory (பணிபுரியும் பகுதி)
git push – Local Repository-லிருந்து Remote Repository-க்கு அனுப்ப.
git fetch – Remote Repository-ல் உள்ள புதிய மாற்றங்களைப் பதிவிறக்கிப் பார்க்க.
git pull – Remote Repository-ல் உள்ள மாற்றங்களைப் பெற்று Local Repository-ல் ஒருங்கிணைக்க.
𝗠𝗖𝗣 𝘃𝘀 𝗥𝗔𝗚 𝘃𝘀 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁𝘀.
𝗠𝗖𝗣 is about connecting. It gives AI apps one standard way to plug into tools and data like Slack, Jira, Gmail, or your docs. Build the server once and any MCP host can use it, whether that's a chat app, a code editor, or your own agent.
𝗥𝗔𝗚 is about knowing. Before the model answers, a retriever searches your data, pulls the parts that matter, and adds them to the prompt. The model answers from your information instead of guessing from what it saw in training.
𝗔𝗜 𝗔𝗴𝗲𝗻𝘁𝘀 are about doing. An agent gets a goal, breaks it into steps, calls tools, checks what happened, and keeps track of where it is until the job is finished.
So the short version:
MCP gives the model access.
RAG gives the model context.
Agents give the model a job.
They also stack. A real agent often uses RAG to look things up and MCP to reach the tools it needs. You don't pick one. You combine them depending on what you're building.
Where most teams get stuck isn't the model. It's 𝗴𝗲𝘁𝘁𝗶𝗻𝗴 𝘁𝗵𝗲 𝗿𝗶𝗴𝗵𝘁 𝗱𝗮𝘁𝗮 𝗮𝗻𝗱 𝘁𝗵𝗲 𝗿𝗶𝗴𝗵𝘁 𝘁𝗼𝗼𝗹𝘀 𝗶𝗻 𝗳𝗿𝗼𝗻𝘁 𝗼𝗳 𝗶𝘁 𝗮𝘁 𝘁𝗵𝗲 𝗿𝗶𝗴𝗵𝘁 𝘁𝗶𝗺𝗲
𝗔𝗜 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝗶𝗻𝗴 𝗶𝘀 𝗷𝘂𝘀𝘁 𝟭𝟮 𝘁𝗲𝗿𝗺𝘀. 𝗟𝗲𝗮𝗿𝗻 𝘁𝗵𝗲𝗺 𝗶𝗻 𝘁𝗵𝗶𝘀 𝗼𝗿𝗱𝗲𝗿 𝗮𝗻𝗱 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴 𝗰𝗹𝗶𝗰𝗸𝘀.
1: 𝗠𝗼𝗱𝗲𝗹 The brain. It predicts the next piece of text, over and over. Claude, GPT and Llama are all models.
2: 𝗧𝗼𝗸𝗲𝗻 The unit it reads. A word or a piece of one. You pay by the token, and speed and limits are counted in tokens too.
3: 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝘄𝗶𝗻𝗱𝗼𝘄 How much text the model can see at once. Anything outside it does not exist for the model.
4: 𝗣𝗿𝗼𝗺𝗽𝘁 Everything you send in. The question, the rules, the examples. A good prompt is the cheapest way to improve answers.
5: 𝗘𝗺𝗯𝗲𝗱𝗱𝗶𝗻𝗴 Text turned into numbers that capture meaning. Similar ideas land close together, so you can search by meaning.
6:𝗥𝗔𝗚 Search your own documents first, then hand the best parts to the model. It turns a memory test into an open-book exam.
7: 𝗧𝗼𝗼𝗹𝘀 𝗮𝗻𝗱 𝗠𝗖𝗣 Tools let the model do things, like query a database or open a ticket. MCP is the standard plug, so you connect each tool once.
8: 𝗔𝗴𝗲𝗻𝘁 A model that uses tools in a loop until the job is done. Not a chatbot. A chatbot talks, an agent acts.
9: 𝗘𝘃𝗮𝗹𝘀 Tests for AI. Real questions with known good answers, run on every change, so you stop shipping on hope.
10: 𝗚𝘂𝗮𝗿𝗱𝗿𝗮𝗶𝗹𝘀 Checks before and after the model. They block attacks, hide private data and limit what an agent can touch.
11: 𝗢𝗯𝘀𝗲𝗿𝘃𝗮𝗯𝗶𝗹𝗶𝘁𝘆 A record of every step: what was searched, what was sent, what it cost. This is how you debug a wrong answer.
12: 𝗟𝗟𝗠𝗢𝗽𝘀 Running all of this like real software. Version it, test it, watch the bill, have a rollback plan.
#jobalert
Infosys freshers off campus recruitment.
2024, 2025 and 2026 graduates can apply.
Last date : 30-11-2026.
#freshersjobs
https://t.co/Lr9OIJMg2r
𝗠𝗖𝗣 𝘃𝘀 𝗔𝗣𝗜
An 𝗔𝗣𝗜 is a fixed contract between two systems. You call a specific endpoint, send a request in the format it expects, and get a response back. A developer decides ahead of time which calls get made and when.
𝗠𝗖𝗣 flips who makes that decision. An MCP server tells an AI app what tools, data, and prompts it has, and the model picks what to use while it's running. Build one server and every MCP client can use it, so you don't need a separate integration for Claude, Cursor, and the rest.
MCP doesn't kill APIs. Most MCP servers are just a thin layer over an API that already exists.
The API does the work. MCP lets a model know that work is there and how to ask for it.
That changes who can build. You used to need someone who could read API docs and write glue code. Now you connect a server and describe what you want in plain words.
The tradeoff is control. With an API, every call was written by a person and reviewed before it shipped. With MCP, the model decides at runtime, so 𝘆𝗼𝘂𝗿 𝗹𝗼𝗴𝘀, 𝗽𝗲𝗿𝗺𝗶𝘀𝘀𝗶𝗼𝗻𝘀, 𝗮𝗻𝗱 𝗿𝗲𝘃𝗶𝗲𝘄 𝘀𝘁𝗲𝗽𝘀 𝗺𝗮𝘁𝘁𝗲𝗿 𝗺𝗼𝗿𝗲 𝘁𝗵𝗮𝗻 𝗲𝘃𝗲𝗿.
APIs are for developers. MCP is for agents. In most real setups you'll use both.
Which MCP server do you use the most right now?