Session 3 — Build an AI Finance Agent that connects to Zerodha via MCP. Live data. Local models. Zero exposure.
Use Intel AI Superbuilder with a local LLM + Zerodha MCP to get live market data without sending a single byte to the cloud.
A chatbot can only think. An Agent can think AND act.
Brain in a jar. Can answer questions but cannot do anything in the real world.
Brain + hands. Can reason, plan, and take actions via tools (APIs, databases, etc).
LLM + Zerodha MCP. Reasons about finance, then fetches live data to answer you.
Model Context Protocol — the universal adapter that lets AI talk to external services.
// Think of MCP like USB-C // One standard port. Many devices. AI Superbuilder └─ MCP → Zerodha (stocks) └─ MCP → Gmail (emails) └─ MCP → Google Drive (files) └─ MCP → Slack (messages) └─ MCP → Any API...
You ask a question in English. The Agent figures out what API to call, fetches live data, and explains the answer.
The Agent doesn't just answer. It Reasons → Acts → Observes → Repeats until it has the full picture.
// User asks a complex question: "Compare RELIANCE and TCS — which is more volatile this week?" Step 1 — Reason: "I need prices for both stocks" Step 2 — Act: → call get_quote("RELIANCE") → call get_quote("TCS") Step 3 — Observe: "RELIANCE: ₹2,845 (±3.2%)" "TCS: ₹3,872 (±1.1%)" Step 4 — Answer: "RELIANCE is more volatile at ±3.2% vs TCS at ±1.1% this week."
Type natural language queries. The Agent decides which Zerodha API to call, fetches live data, and explains.
// Try these prompts: Level 1 — Single stock: "What is TCS trading at right now?" Level 2 — Comparison: "Compare INFY, TCS, and WIPRO. Which has the highest volume today?" Level 3 — Analysis: "Show me NIFTY 50 and Bank NIFTY. Are we in a bullish or bearish trend?" Level 4 — Portfolio: "Show my portfolio positions and calculate my total unrealized P&L"
You're a fund manager. It's 9:30 AM. You need a quick overview of your portfolio + market sentiment before your first client call at 10 AM.
// Morning Brief Prompt "Good morning. Give me: 1. Current NIFTY 50 and SENSEX levels 2. My top 5 holdings with today's change 3. Which sector is performing best today 4. Any stock in my portfolio that dropped more than 2% — flag it as a risk" // The Agent will: → Fetch indices via MCP → Pull portfolio positions → Analyze sector performance → Flag risks automatically
You built an AI Finance Agent that acts on real-world data — all locally.
LLMs that reason and act via tools
USB-C for AI — one standard, every tool
Zerodha Kite quotes via natural language
Zero portfolio data leaves your device