<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ritesh Kshatriya</title>
    <description>The latest articles on DEV Community by Ritesh Kshatriya (@ritesh_kshatriya_7b27b438).</description>
    <link>https://dev.to/ritesh_kshatriya_7b27b438</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3936307%2F1e0bb921-0758-4164-be67-d2a0c2de0466.jpg</url>
      <title>DEV Community: Ritesh Kshatriya</title>
      <link>https://dev.to/ritesh_kshatriya_7b27b438</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ritesh_kshatriya_7b27b438"/>
    <language>en</language>
    <item>
      <title>Build with AI - APL GDG Pune</title>
      <dc:creator>Ritesh Kshatriya</dc:creator>
      <pubDate>Sun, 17 May 2026 13:09:19 +0000</pubDate>
      <link>https://dev.to/ritesh_kshatriya_7b27b438/build-with-ai-apl-gdg-pune-23ap</link>
      <guid>https://dev.to/ritesh_kshatriya_7b27b438/build-with-ai-apl-gdg-pune-23ap</guid>
      <description>&lt;p&gt;🏏 Shipping "Captain Cool": How I Built a Multi-Agent IPL Strategist in 3 Hours&lt;br&gt;
📋 The Mission&lt;br&gt;
I recently attended the GDG Cloud Pune: Agentic Premier League 2026. The challenge was wild: "Vibe-code" a live solution during an IPL match that acts as an autonomous virtual captain.&lt;/p&gt;

&lt;p&gt;The goal? Build "Captain Cool"—an agentic AI system that doesn't just predict scores, but makes tactical decisions (bowling changes, field setups, Impact Player subs) using a team of specialized AI agents.&lt;/p&gt;

&lt;p&gt;🛠️ The "Google House" Tech Stack&lt;br&gt;
To stay eligible for the APL, I went 100% Google Cloud. Here’s the engine under the hood:&lt;/p&gt;

&lt;p&gt;Google Antigravity: My primary IDE. Using the .antigravity/ folder and agent traces allowed me to iterate faster than standard coding.&lt;/p&gt;

&lt;p&gt;Gemini 2.5 Pro &amp;amp; Flash: The "brain" of each agent, utilizing Context Caching to keep the match history (every ball and wicket) persistent and cheap.&lt;/p&gt;

&lt;p&gt;Agent Development Kit (ADK): Used to orchestrate the multi-agent debate and "SkillToolsets."&lt;/p&gt;

&lt;p&gt;Function Calling: Real-time tool use to fetch live weather and pitch data.&lt;/p&gt;

&lt;p&gt;🏗️ Architecture: The Brains Behind the Boundary&lt;br&gt;
"Captain Cool" isn't just one prompt. It's a boardroom of four distinct Gemini-powered agents:&lt;/p&gt;

&lt;p&gt;The Stats Analyst (Gemini 2.5 Flash): Uses a tool call to a Cricket API to pull historical "Match-ups" (e.g., How does the current batsman fare against left-arm spin?).&lt;/p&gt;

&lt;p&gt;The Strategist (Gemini 2.5 Pro): Proposes the primary move based on game state and pitch conditions.&lt;/p&gt;

&lt;p&gt;The Devil’s Advocate (Gemini 2.5 Pro): Challenges the Strategist. If the Strategist says "Bowl the pacer," the Advocate argues "The dew factor makes the ball slippery; stick to the off-spinner."&lt;/p&gt;

&lt;p&gt;The Match Commentator: Translates the technical jargon into "cricket talk" for the fans.&lt;/p&gt;

&lt;p&gt;The Multi-Turn Loop: I implemented a 3-turn reasoning chain. The Strategist proposes → The Advocate challenges → The Strategist confirms or pivots. This back-and-forth is what makes the final call feel human.&lt;/p&gt;

&lt;p&gt;🕹️ Sample Scenario: The Death Overs&lt;br&gt;
Match State: 18th Over | 28 runs needed | 4 wickets down | Dew falling heavily.&lt;/p&gt;

&lt;p&gt;Internal Debate Traces:&lt;/p&gt;

&lt;p&gt;Strategist: "Bring in the strike bowler for the 19th over to seal it."&lt;/p&gt;

&lt;p&gt;Devil’s Advocate: "Wait. The pitch is two-paced and the batsman is a known power-hitter against pace. If we burn our strike bowler now and he goes for 15, we have no cushion for the 20th."&lt;/p&gt;

&lt;p&gt;Final Call: "Give the 19th to the mystery spinner. Cramp them for room. Save the pacer for the final 6 balls."&lt;/p&gt;

&lt;p&gt;🚀 Student Perspective &amp;amp; Learnings&lt;br&gt;
As a first-year student, building in Google Antigravity felt like having a senior dev sitting next to me. Instead of wrestling with boilerplate, I spent my 3 hours focusing on the Agentic Design—making sure the agents actually disagreed with each other to find the best strategy.&lt;/p&gt;

&lt;p&gt;Key Takeaway:&lt;br&gt;
Agentic AI isn't about the LLM being "smart"; it's about the system architecture being robust enough to handle conflicting information.&lt;/p&gt;

&lt;p&gt;🔗 Resources&lt;br&gt;
GitHub Repo: &lt;a href="//Check%20the%20.antigravity%20folder%20for%20the%20agent%20traces!"&gt;Link to your Public Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AI Studio Prompt: [Link to your shared Prompt]&lt;/p&gt;

&lt;p&gt;Live Demo: [Link to hosted App]&lt;/p&gt;

&lt;h1&gt;
  
  
  GDGCloudPune #AgenticPremierLeague #BuildWithAI #GoogleCloud #GeminiAI #VibeCoding #StudentDeveloper
&lt;/h1&gt;

&lt;p&gt;Final Check for Submission:&lt;br&gt;
[ ] Repository is Public?&lt;/p&gt;

&lt;p&gt;[ ] .antigravity/ folder is committed?&lt;/p&gt;

&lt;p&gt;[ ] No OpenAI/Claude references in code?&lt;/p&gt;

&lt;p&gt;[ ] Logic for the "Devil's Advocate" is visible in the UI?&lt;/p&gt;

&lt;p&gt;Building the future of sports tech, one over at a time! 🏏🔥&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>webdev</category>
      <category>ai</category>
      <category>gdg</category>
    </item>
  </channel>
</rss>
