<?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: Nitin Kanade</title>
    <description>The latest articles on DEV Community by Nitin Kanade (@nitinkanade).</description>
    <link>https://dev.to/nitinkanade</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%2F1208836%2Fc1669a52-770d-43d8-8730-44c097f888e0.jpg</url>
      <title>DEV Community: Nitin Kanade</title>
      <link>https://dev.to/nitinkanade</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nitinkanade"/>
    <language>en</language>
    <item>
      <title>Captain Cool — A Multi-Agent IPL Strategist Built on Gemini</title>
      <dc:creator>Nitin Kanade</dc:creator>
      <pubDate>Sun, 17 May 2026 13:04:03 +0000</pubDate>
      <link>https://dev.to/nitinkanade/captain-cool-a-multi-agent-ipl-strategist-built-on-gemini-495a</link>
      <guid>https://dev.to/nitinkanade/captain-cool-a-multi-agent-ipl-strategist-built-on-gemini-495a</guid>
      <description>&lt;h1&gt;
  
  
  Captain Cool: A Multi-Agent IPL Strategist Built on Gemini
&lt;/h1&gt;

&lt;p&gt;Cricket is not just about big hits and wickets. It is also about smart decisions. Every over, every bowling change, and every batting order move can change the result of the match. That is the idea behind &lt;strong&gt;Captain Cool&lt;/strong&gt; — an AI-powered IPL strategist built using the Google Gemini stack. &lt;/p&gt;

&lt;h2&gt;
  
  
  What is Captain Cool?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Captain Cool&lt;/strong&gt; is a multi-agent AI system designed for IPL match strategy analysis. Instead of using one chatbot for everything, the project uses three different AI agents that debate with each other before making a final decision. &lt;/p&gt;

&lt;p&gt;The system can analyze live match situations and suggest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which bowler should bowl next&lt;/li&gt;
&lt;li&gt;When to use the Impact Player&lt;/li&gt;
&lt;li&gt;Which batter should come in next&lt;/li&gt;
&lt;li&gt;Tactical changes based on pitch and match conditions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best part is that the AI explains its decisions in cricket language, making it feel like a real team discussion.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Three AI Agents
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Numbers
&lt;/h3&gt;

&lt;p&gt;Numbers is the data expert. It focuses only on statistics and player matchups. It does not make decisions but provides useful insights using historical data. &lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Strike rates&lt;/li&gt;
&lt;li&gt;Bowling economy&lt;/li&gt;
&lt;li&gt;Player performance under pressure&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Captain Cool
&lt;/h3&gt;

&lt;p&gt;This agent is inspired by MS Dhoni and acts like a calm IPL captain. It studies the match situation and makes the tactical decision. It also uses live web search to understand current conditions such as pitch reports and dew factor. &lt;/p&gt;

&lt;h3&gt;
  
  
  3. Ravi
&lt;/h3&gt;

&lt;p&gt;Ravi acts like a commentator and devil’s advocate. Inspired by Ravi Shastri, it questions the captain’s strategy and highlights risks using win probability analysis. &lt;/p&gt;

&lt;p&gt;This debate between agents creates more realistic and balanced decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the Debate Works
&lt;/h2&gt;

&lt;p&gt;The workflow is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Numbers provides statistics&lt;/li&gt;
&lt;li&gt;Captain Cool suggests a strategy&lt;/li&gt;
&lt;li&gt;Ravi challenges the decision&lt;/li&gt;
&lt;li&gt;Captain Cool revises the final plan&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This approach makes the system more intelligent than a normal chatbot because every decision gets reviewed before becoming final. &lt;/p&gt;

&lt;h2&gt;
  
  
  Example Match Scenario
&lt;/h2&gt;

&lt;p&gt;Imagine this IPL situation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSK chasing 192 against MI&lt;/li&gt;
&lt;li&gt;Score: 148/4 after 16 overs&lt;/li&gt;
&lt;li&gt;Dew factor is high&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The agents start debating:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Numbers shares player statistics&lt;/li&gt;
&lt;li&gt;Captain Cool suggests bowling strategy&lt;/li&gt;
&lt;li&gt;Ravi questions the risk&lt;/li&gt;
&lt;li&gt;Final decision gets adjusted&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This creates an experience similar to a real IPL dressing room discussion. &lt;/p&gt;

&lt;h2&gt;
  
  
  Technology Used
&lt;/h2&gt;

&lt;p&gt;The project is built using modern AI and web technologies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gemini 2.5 Pro&lt;/li&gt;
&lt;li&gt;Gemini 2.5 Flash&lt;/li&gt;
&lt;li&gt;Next.js 16&lt;/li&gt;
&lt;li&gt;React 19&lt;/li&gt;
&lt;li&gt;Tailwind CSS&lt;/li&gt;
&lt;li&gt;Web Speech API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project was created during the Agentic Premier League hackathon using the Google Gemini ecosystem. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Project is Interesting
&lt;/h2&gt;

&lt;p&gt;Most AI chatbots use a single model for all tasks. Captain Cool takes a different approach by dividing responsibilities among multiple AI agents. Each agent has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A unique personality&lt;/li&gt;
&lt;li&gt;A dedicated role&lt;/li&gt;
&lt;li&gt;Different tools and responsibilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes the system more realistic, scalable, and engaging.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Captain Cool shows how AI can be used creatively in sports strategy. Instead of just answering questions, the AI agents debate, challenge each other, and collaborate before making decisions.&lt;/p&gt;

&lt;p&gt;For cricket fans and developers, this project is a great example of how multi-agent AI systems can create smarter and more interactive applications. Whether it is IPL strategy, live match analysis, or cricket discussions, projects like Captain Cool show the future of AI-powered sports intelligence. &lt;/p&gt;

</description>
      <category>gemini</category>
      <category>agents</category>
      <category>cricket</category>
      <category>gdgcloudpune</category>
    </item>
  </channel>
</rss>
