惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
腾讯CDC
S
Securelist
Know Your Adversary
Know Your Adversary
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 【当耐特】
V2EX - 技术
V2EX - 技术
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
Cisco Talos Blog
Cisco Talos Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
W
WeLiveSecurity
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
博客园 - Franky
S
Security Affairs
博客园 - 司徒正美
V
V2EX
K
Kaspersky official blog
T
Threatpost
NISL@THU
NISL@THU
博客园 - 叶小钗
Help Net Security
Help Net Security
PCI Perspectives
PCI Perspectives
IT之家
IT之家
小众软件
小众软件
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Last Week in AI
Last Week in AI
Jina AI
Jina AI
爱范儿
爱范儿
罗磊的独立博客
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
L
LINUX DO - 热门话题
Google Online Security Blog
Google Online Security Blog
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
We Gave IPL Captains an AI War-Room — Built in 6 Hours with Gemini 2.5 + ADK
Aryan Pawar · 2026-05-17 · via DEV Community

What if every IPL captain had a full war-room of specialist AI analysts — each with a different role, each debating the optimal call — before every single over?
That question became TactiXI-AI: a multi-agent swarm we built in 36 hours at the National Developer Hackathon 2025. Five specialist AI agents. Real-time run-rate mathematics. Strategic DNA profiles of India's greatest captains. This is the full story of how we built it.

The Problem: Cricket Has a Data Problem Hiding in Plain Sight
Walk into any IPL dugout during a tense Super Over and you'll find something surprising. Amid analysts with laptops, coaches with earpieces, and physios tracking biometrics — the most important decisions are still made on instinct.
Cricket is no longer just a game of physical prowess. It's a game of high-dimensional numbers, millisecond decision-making, and structural field placement tactics. A single delivery can swing a team's win probability by 30%. A misread of dew on the outfield at over 14 can cost a team the match. And yet the tools available to a captain at the point of decision are shockingly primitive.
We saw a gap wide enough to bowl a Malinga yorker through.

Why a Single AI Model Wasn't Enough
Our first instinct — like most teams at a hackathon — was to build a single AI assistant. Feed it the scoreboard, ask it what to do. Simple. Elegant. Completely wrong.
The problem with a single model is the same problem with asking one analyst for everything: they optimise for the loudest signal and miss the quieter vulnerabilities. An AI asked "what field should I set?" will give you a confident answer. But it won't tell you that the same field leaves a 43-metre gap at mid-wicket that a left-hander will exploit in the 17th over. It won't stress-test its own recommendation.
Elite decision-making in sport is adversarial by nature. The best coaching teams include someone whose entire job is to poke holes in the primary plan. We needed to build that structure into the AI itself.

Core design principle: The swarm must contain a voice that actively tries to defeat its own recommendations. Without adversarial pressure, confidence becomes overconfidence — and overconfidence loses T20 matches in the death overs.

This drove the entire architecture: a sequential debate pipeline where each agent has a different mandate, a different prompt persona, and a different objective. The final call is a reconciliation of genuine conflict — not a consensus echo chamber.

The Architecture: Five Phases, One Captain's Call
We built TactiXI-AI as a five-phase sequential debate pipeline using Google Gemini 2.5 via @google/genai, orchestrated with the Agent Development Kit (ADK).
Phase 1 — Environment Intelligence (Pitch Analyst) · gemini-2.5-flash
Before any tactical recommendation, the system needs to understand the physical battlefield. The Pitch Analyst ingests the selected venue and synthesises boundary dimensions (72m straight at Wankhede vs. the notoriously short 56m square at Chinnaswamy), turf characteristics, and historical first-innings scores. This becomes the immovable environmental brief that every subsequent agent operates within.
Phase 2 — Numerical Telemetry (Data Scout) · TypeScript Math Engine
The Data Scout synthesises live scoreboard parameters through a custom TypeScript match mathematics engine we built from scratch. It calculates Current Run Rate, Required Run Rate, and — most critically — the Wicket-Pressure Index, a proprietary decay function that exponentially penalises win probability as wickets fall in the early overs. These hard numbers are injected directly into the system prompts of every downstream agent. The AI's strategic reasoning is always anchored to real-time arithmetic, not vibes.
Phase 3 — Plan A Proposal (Lead Strategist) · gemini-2.5-pro
Armed with the Phase 1 brief and Phase 2 telemetry, the Lead Strategist formulates primary bowling matchup and field placement recommendations. This is where Gemini 2.5 Pro earns its place: the agent considers striker weakness profiles, stadium-specific boundary exploits, and the current pressure index to produce one concrete, actionable Plan A — stated with conviction.
Phase 4 — Stress-Test Critique (Devil's Advocate) · gemini-2.5-pro
This is the phase that separates TactiXI-AI from every other AI cricket tool. The Devil's Advocate receives Plan A and is explicitly prompted to destroy it. It hunts for dew-risk vulnerabilities the Plan ignores, boundary holes in the proposed field, strike-rotation opportunities the batting side will exploit, and fatigue factors the lead strategist dismissed. It does not propose an alternative — its entire job is to surface the weaknesses.

The quality of Phase 5's final call depends entirely on the quality of this critique.

Phase 5 — The Reconciled Captain's Command · gemini-2.5-pro
The final agent receives the full debate transcript and reconciles it into a single definitive command. But here's where the magic happens: the reconciliation is filtered through the active Captain DNA Profile, meaning the same match state produces a fundamentally different final call depending on whether the persona is MS Dhoni, Rohit Sharma, or Gautam Gambhir.

The Mathematics: Grounding AI in Deterministic Truth
The single biggest risk with LLM-based systems in high-stakes environments is confident hallucination: the model sounds certain, the reasoning sounds coherent, but the underlying arithmetic is wrong. In a match where a team needs 47 off 18 balls, an AI that misunderstands the run-rate dynamic could recommend a containing field when the batting side is already 40% likely to win.
We solved this by building a deterministic Match Mathematics Engine in TypeScript that runs before every Gemini call and injects hard, verified numbers directly into every system prompt. The agents are not asked to calculate. They are told the answer — and their reasoning must be consistent with it.
CRR = Runs ÷ Overs Completed
RRR = (Target − Runs) ÷ Overs Remaining
WPI = 100 × (Wickets ÷ 10) × (1.5 − Overs ÷ 20)
The Wicket-Pressure Index (WPI) is our most innovative contribution. It's not a standard cricket statistic — we derived it from first principles. The function exponentially penalises the batting side's win probability as wickets fall, scaled against overs remaining. A team at 3/40 in over 6 carries a vastly higher Pressure score than 3/130 in over 16. That difference materially changes the recommended field placement.
This hybrid architecture — deterministic mathematics feeding probabilistic AI reasoning — is what makes TactiXI-AI trustworthy enough to actually use in a dugout environment.

Captain DNA Profiles: Same Match State, Three Different Calls
This was the feature that made our demo the most memorable moment of the hackathon. Three captain personas, each encoded as a philosophical filter applied at Phase 5 reconciliation.
CaptainArchetypePhilosophyMS DhoniIce-cold defendSpin choke in middle overs. Hold back strike bowlers for the death. Drag the batting side into a desperate final three balls. Patience as aggression.Rohit SharmaMatchups analyticalPace yorkers mapped to striker blind zones. Release angles engineered to match the batter's weakest technical quadrant. Data-driven on every delivery.Gautam GambhirAttacking chokeAggressive close-in slips from ball one. Choke the singles. Invite the mistake. Force high-risk shots by removing the easy option entirely.
These aren't cosmetic. Dhoni's profile deprioritises the Phase 4 boundary-risk warnings — he knows the batter will panic and mis-hit. Gambhir's profile amplifies the singles-choke analysis. Rohit's profile queries the Phase 2 engine for striker-specific historical matchup data before committing to any call.

Five Lessons from Building a Production AI Swarm in 36 Hours

  1. Adversarial prompting is not optional. The quality of the final call is almost entirely determined by the quality of the Phase 4 critique. A weak devil's advocate produces an overconfident, unchallenged recommendation. Invest in the dissenting voice — it makes every other agent sharper.
  2. Ground your AI in deterministic truth before letting it reason. Every time we tested without the Math Engine, the Gemini agents would subtly misread the run-rate situation. With it, every recommendation was internally consistent with the arithmetic reality of the match.
  3. Model selection per phase matters enormously. Using gemini-2.5-flash for Phases 1 and 2 — where the task is structured data synthesis, not open-ended reasoning — reduced latency dramatically with zero quality loss. Reserve gemini-2.5-pro for the phases that actually need it.
  4. Personas are a serious prompting technique, not a gimmick. The captain DNA profiles produced measurably different outputs — not just in tone, but in the actual field placements and bowling changes recommended. Well-constructed personas shift the model's reasoning priorities in ways that are meaningful and consistent.
  5. The demo is part of the product. A swarm that outputs a wall of text loses. A swarm with a stunning UI, live slider interactions, and a chatbot that responds in three seconds wins. Engineering and design are not separate disciplines at a hackathon — they are one deliverable.

Tech Stack

Google Gemini 2.5 Pro + Flash
Agent Development Kit (ADK)
@google/genai
TypeScript (custom Match Math Engine)
Dark-mode glassmorphism CSS
Real-time swarm orchestration
Context-aware Dugout Chatbot

What's Next
TactiXI-AI is a proof of concept that validates the core architecture. The five-agent debate pipeline works. The mathematics engine keeps the AI honest. The captain DNA profiles produce meaningfully different outputs.
The roadmap from here:

Live ball-by-ball ingestion — real-time ESPNCricinfo scraping to replace manual inputs; every ball triggers the swarm automatically
Biometric fatigue telemetry — GPS + heart-rate data from wearables feeding directly into the Wicket-Pressure computation
Cross-format expansion — T20 World Cup, Big Bash, PSL, each with their own pitch and boundary models
Mobile coaching companion — the captain's call and top three devil's advocate risks, surfaced within three seconds of a wicket falling
Historical validation layer — running the swarm backwards across archived IPL data to benchmark decision quality

TactiXI-AI proves that multi-agent swarms can serve as direct decision-support tools in professional sport — not someday, but today. We built the war-room. Now we want to put it in the dugout.
Built with passion, coffee, and Gemini 2.5 · National Developer Hackathon 2025