Gemini reasons over retrieved data — computes strength scores, aggregates seasons, interprets dismissals — not just retrieval
Applied to cricket: Adar is not a search engine
✗
Search engine: "Jiban Adhikary runs" → shows a TeamStats page
✓
Adar: fetches all seasons, aggregates, ranks, explains — then adds bowling context and dismissal breakdown
✗
Rule lookup: returns entire women's league rulebook for a men's question
✓
Adar: detects "men's league" intent, filters to correct rulebook, cites the exact section
Intro · 02 — Multi-Agent Architecture
Five agents, one orchestrator
Instead of one large model trying to do everything, Adar uses five specialised agents — each an expert in one domain. The orchestrator routes every question to the right expert.
User question
"How was Jiban dismissed in Spring 2026?"
"What is the wide rule for men's league?"
"Show batting stats as a graph"
🧭
Orchestrator
Routes to best agent gemini-2.5-flash
↕
🏏
Team Agent
Players · Scorecards · Dismissals · Strength
👤
Player Agent
Career stats · Season breakdown · Rankings
📖
Rules Agent
Men's · Women's · Umpiring guidelines
📡
Live Agent
Standings · Schedule · Recent results
⚖️
Judge Agent
Scores every response — accuracy, format, relevance
Intro · 03 — How Agents Communicate
Tool calling — agents reaching into the world
Agents do not just generate text. They call tools — functions that fetch real data. Each tool call is a deliberate action: fetch this page, search this collection, aggregate these seasons.
Example: "How was Jiban dismissed in Spring 2026?"
Adar uses both short-term conversational memory and long-term structured memory — each stored differently, each serving a different purpose.
💬
Short-term memory
Session context · Cloud SQL (Postgres)
Stores the current conversation thread — every message in the session. Adar remembers what was said earlier in the chat, so follow-up questions work naturally.
Example conversation:
You: Show Agomoni Tigers batting stats
Adar: [returns full table]
You: Now show the bowling
Adar: Knows "Agomoni Tigers" from context — no need to repeat
Storage: Cloud SQL sessions DB · Expires: 30 min auto-logout · Scope: per user per session
🧠
Long-term memory
Knowledge base · Firestore vector search
Stores indexed knowledge that persists across all sessions — ARCL rules, player career overviews, team standings. Searched semantically using vector embeddings (768 dimensions, Gemini embedding model).
arcl_rulesRules + FAQ chunks · vector indexed
arcl_playersCareer overview · vector indexed
arcl_teamsStandings · W/L/pts cached
arcl_evalsQuality scores · audit trail
Third type — live ephemeral data: TeamStats.aspx, Matchscorecard.aspx, LeagueSchedule.aspx are never cached. They are fetched fresh on every query — because arcl.org updates match results in real time and player stats change after every game.
01 / 08 · Getting started
Simple team login
Teams self-register and are approved by the ARCL admin. One login gives access to the full Adar assistant — no separate apps needed.
আদর
Adar ARCL
Sign in to your team account
No account? Register your team
Powered by Adar · American Recreational Cricket League
How teams get access
1
Picks ARCL team from dropdown
Live list from arcl.org — no typos possible
2
Stripe checkout — 14-day free trial
Card entered once · auto-renews monthly
3
Auto-activated + welcome email sent
Zero admin approval · ready to chat immediately
✉
Forgot password?
Reset link emailed · 1-hour expiry · no admin needed
Admin can also create accounts directly — Complimentary · Basic · Standard · Unlimited · or Pending payment for self-pay
02 / 08 · Core experience
Ask anything, get instant answers
Natural language chat powered by Gemini AI. Adar understands cricket context — no dashboards, no SQL, no exports needed.
আদর
Adar ARCL
Agomoni Tigers
💳 Billing
আদর
Hi! I'm Adar, the ARCL cricket assistant. I can help you with league rules, player statistics, team history, and schedules.
What would you like to know?
Try asking:
What is the wide rule in ARCL?
Show Agomoni Tigers players in Spring 2026
Can a player play for two teams?
Who scored the most runs in Div H?
How does the points table work?
03 / 08 · Rules engine
Rules — tagged by league automatically
Three separate rulebooks indexed: Men's League, Mens League Rules, Women's League. Adar always returns the right one — tagged at ingestion time.
আদর
Adar ARCL
Agomoni Tigers
You
What is the wide rule in ARCL?
আদর
Men's League Wide Ball Rule (Section: Umpiring — General)
Here are the wide ball rules for both Men's and Women's leagues in ARCL, as per the Umpiring section:
• A white line or a marker (35 inches from the middle stump) on the offside will be drawn to help the umpires in giving wides
• It's a wide ball if the ball is on or away from the wide line
• It's a wide ball if the ball passes above the striker's head standing upright at the popping crease
• If the ball on the leg side outside the leg stump is a wide; if it's on the leg stump then it's not a wide
• A ball is a wide ball if it bounces above the head of the batsman
• If a wide is also dead, it will be declared a dead ball
• Maximum 4 extras allowed per over · Maximum 10 balls per over including wides and no-balls
Spring 2026: specific overrides apply for Women's League...
Adar calculates a strength score from batting depth, bowling variety and win rate. Bar charts render automatically — batting and bowling toggle with one click.
Teams subscribe once — Stripe handles auto-renewal, invoices, and failed payment recovery. PCI DSS compliant. No card data touches Adar's servers.
Billing & Subscription
Current plan
None · No subscription
Today's usage0
Payments processed securely by Stripe · PCI DSS compliant
Choose a plan
Basic
50 messages/day · Stats · Rules
$10/mo
POPULAR
Standard
200 messages/day · Full stats · Polls · Scorecards
$12/mo
Unlimited
1000 messages/day · Everything
$30/mo
14-day free trial on all plans · Stripe auto-renewal · Invoices emailed automatically
08 / 08 · Quality assurance
Every answer is graded automatically
A second Gemini model scores every response. Scores appear as badges in the chat. Admin dashboard tracks quality trends and flags low-scoring answers for review.
Scoring dimensions
Accuracy (35%)
5/5
Completeness (25%)
4/5
Relevance (25%)
5/5
Format (15%)
4/5
Overall
4.65
Average across all responses: 4.65 / 5
🔍 Filter: Max score ≤ 2 · May 05–06 · 2 flagged responses found