<?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: Sahil Kumar Singh</title>
    <description>The latest articles on DEV Community by Sahil Kumar Singh (@sahil9).</description>
    <link>https://dev.to/sahil9</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%2F3936058%2F4ec75fc3-39d0-4324-9d06-da4f5e1b3639.png</url>
      <title>DEV Community: Sahil Kumar Singh</title>
      <link>https://dev.to/sahil9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sahil9"/>
    <language>en</language>
    <item>
      <title># 🏏 Captain Cool — The Multi-Agent IPL Match Strategist (Built on Google Gemini)</title>
      <dc:creator>Sahil Kumar Singh</dc:creator>
      <pubDate>Sun, 17 May 2026 12:44:47 +0000</pubDate>
      <link>https://dev.to/sahil9/-captain-cool-the-multi-agent-ipl-match-strategist-built-on-google-gemini-254j</link>
      <guid>https://dev.to/sahil9/-captain-cool-the-multi-agent-ipl-match-strategist-built-on-google-gemini-254j</guid>
      <description>&lt;p&gt;🚀 Project Overview&lt;br&gt;
Cricket is a game of fine margins managed in high-pressure dugouts. "Captain Cool" is an advanced agentic AI system engineered on the official Google Gemini stack. It acts as an autonomous virtual IPL captain that processes real-time match context parameters and executes an internal multi-turn reasoning loop between analytical modules to output structural tactical maneuvers explained in authentic cricket slang.&lt;br&gt;
🏗️ Multi-Agent Architecture&lt;br&gt;
The system utilizes three distinct, named Gemini-powered agents, avoiding a single prompt wearing multiple hats:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;📊 Performance Analyst (&lt;code&gt;gemini-2.5-flash&lt;/code&gt;): Clinical and entirely data-driven. It triggers a native Gemini tool (&lt;code&gt;calculate_match_metrics&lt;/code&gt;) via function calling to evaluate Live Run Rates and Win Probabilities before proposing a base tactical strategy.&lt;/li&gt;
&lt;li&gt;🤬 Devil's Advocate (&lt;code&gt;gemini-2.5-flash&lt;/code&gt;): The cynical dugout assistant coach. Its system instruction forces it to pick apart the Analyst's data-backed layout by introducing real ground parameters like boundary dimensions and dew factors.&lt;/li&gt;
&lt;li&gt;🏆 Captain Cool (&lt;code&gt;gemini-2.5-pro&lt;/code&gt;): The ultimate Dhoni-Rohit synthesis module. It analyzes the conflicting arguments in the dugout and delivers a definitive, vernacular command.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🛠️ The Power Tech Stack
&lt;/h2&gt;

&lt;p&gt;Gemini API: Invoked natively using the new unified &lt;code&gt;google-genai&lt;/code&gt; engine infrastructure.&lt;br&gt;
Google AI Studio: Used for foundational system prompt layout, alignment tuning, and playground verification.&lt;br&gt;
Google Antigravity: The complete codebase environment structure was initialized, written, and engineered within Google's agentic IDE ecosystem.&lt;br&gt;
Gemini Tool Use: Direct orchestration of native Function Calling to automate algorithmic calculations.&lt;/p&gt;

&lt;p&gt;🔗 Google AI Studio Prototype Link&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🌐 **&lt;a href="https://ai.studio/apps/936a3ff2-1df8-4eb7-bf9a-2a2b80d05bd8" rel="noopener noreferrer"&gt;CLICK HERE TO VIEW MY GOOGLE AI STUDIO WORKSPACE&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;🏟️ Live Evaluation Match Scenario Trace&lt;/p&gt;

&lt;h1&gt;
  
  
  Match Config Input: Innings: 2 (Chasing) | Venue: M. Chinnaswamy Stadium, Bengaluru
&lt;/h1&gt;

&lt;p&gt;Score: 142/4 in 14.2 overs | Target: 185 | Pitch:Turning &amp;amp; Spin-friendly | Dew:Yes&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Turn Output Sequence:
&lt;/h3&gt;

&lt;p&gt;Data Analyst:"Tool outputs confirm Chasing Win Prob at 68.2%. The track has clear turn. I recommend bringing on the leg-spinner to throttle the run flow immediately."&lt;br&gt;
Devil's Advocate:"Absolutely disastrous call! It's Chinnaswamy and the dew is heavy. The ball is too wet to spin or grip, and any loose delivery will fly over the tiny boundaries. Spin is suicide here."&lt;br&gt;
Captain Cool:"Dugout chatter stop karo. Numbers apni jagah hain par heavy dew me ball wrap nahi hogi. Spin ko hold karenge. Bring back the premium seamer, hit the deck with heavy lengths, and take the pace off. Settle down boys, let's execute!"&lt;br&gt;
massive thanks to @GDGCloudPune &lt;/p&gt;

&lt;h2&gt;
  
  
  📁 Open Source Code Matrix
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/dev-sahilkr28/Captain-Cool-IPL-Strategist-" rel="noopener noreferrer"&gt;Link to Public GitHub Repository&lt;/a&gt;             &lt;/p&gt;

&lt;p&gt;thankyou #GDGCloudPune&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>gemini</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
