More MLOps.community episodes

Cutting 100 Segments to 5 Before Spending a Single LLM Token thumbnail

Cutting 100 Segments to 5 Before Spending a Single LLM Token

Published 1 Dec 2026

Duration: 00:30:02

AI agents automate analytical work by monitoring data segments for anomalies, enabling lean teams to detect meaningful changes and make decisions through a continuous, recursive loop.

Episode Description

Revenue can look perfectly healthy while one payment method, on one platform, in one city, quietly falls apart. Bhaskar Sunkara has spent his career b...

Overview

The podcast centers on Bicycle, an AI-powered analytics platform co-founded by the speaker, who previously co-founded and served as CTO of AppDynamics. The core thesis is that AI excels at ingesting vast volumes of data and identifying anomalies, but only handles probabilistic reasoning. Deterministic work - such as running the correct mathematical models to detect deviations - must be separated from the probabilistic reasoning layer, and LLMs should not be tasked with doing the math. The speaker frames analytical work through a 20/60/20 paradigm: the first 20 percent is defining the assignment (which KPIs to watch, across which segments), the middle 60 percent is AI continuously monitoring thousands of segments to surface meaningful changes, and the final 20 percent is the human making decisions.

Bicycle extends the monitoring philosophy pioneered at AppDynamics - where business transactions like search, login, and checkout became the unit of observability - from technical outcomes (response time, scaling) to business outcomes (revenue, conversion, inventory, supplier performance). The platform anchors on a small set of North Star KPIs but must observe tens of thousands of underlying segments to catch leading indicators before lagging metrics reveal a problem. The operational loop is called the D-loop: detect, explain, act, and learn. The speaker emphasizes that dashboards are too slow for real-time business decisions and that the work is best suited to AI because it is always on, recursive, and multi-step.

The conversation also addresses why ad-hoc queries to tools like ChatGPT or Claude fall short for sustained analytics: they lack formula consistency, cost control, shared analytical memory, and access governance. Bicycle positions itself as an analytics runtime that provides those four capabilities, whether users adopt its ready-made agents or connect via remote MCP to their own AI tools.

What If

  • What if you replaced your weekly dashboard review with a continuous segment-level anomaly watcher?

    • Move: Define your top three business KPIs (e.g., revenue, conversion, checkout success rate) and break each into every product × region × supplier segment you can enumerate. Wire a deterministic statistical model (not an LLM) to flag deviations against a trailing baseline that accounts for seasonality, then route only flagged segments to an LLM reasoning agent for root-cause exploration.
    • Why Now?: The speaker argues that "you have to do the tens of thousands of segments underneath because you're not gonna be able to find the leading indicator without that", and that dashboards introduce human-latency that defeats early detection. A solo operator cannot manually watch thousands of segments, but a background loop can.
    • Expected Upside: A proposal: catching a supplier degradation or a payment-gateway failure within minutes rather than at a Monday review, potentially preventing hours of lost revenue. The travel-aggregator example shows a webhook-driven redirect firing in real time.
  • What if you treated every recurring analytical question as a reusable agent assignment instead of a one-off chat prompt?

    • Move: Take the three questions you ask your data warehouse most often (e.g., "Why did conversion drop in segment X?", "Which SKUs are trending down this week?", "Are any suppliers degrading?"). Encode each as a recursive, multi-step assignment with a fixed cadence, a defined segment scope, and a deterministic pre-filter that narrows 100 segments to five before any LLM reasoning runs.
    • Why Now?: The speaker warns that one-off queries are "such a one-off, and it's not sustainable" and that without a deterministic pre-filter, probabilistic reasoning is "too costly and too random". Converting ad-hoc prompts into scheduled loops eliminates repeated manual exploration.
    • Expected Upside: A possibility: reducing your weekly analytical time from hours of manual digging to reviewing a shortlist of pre-qualified anomalies, freeing capacity for higher-value product decisions.
  • What if you built a shared analytical memory layer before scaling AI queries across your small team?

    • Move: Before letting teammates query your warehouse through Claude or ChatGPT, codify your KPI formulas (e.g., hits minus bot hits), your standard investigation drivers (release changes, auth-rule updates, inventory levels), and your past root-cause findings in a single versioned store. Require every AI-assisted analysis to read from and write back to that store.
    • Why Now?: The speaker identifies four failure modes of uncoordinated AI querying - formula inconsistency, runaway compute cost, absent shared memory, and missing access control - and notes that without them, "How does your AI analyst, six months into the job, be better than it was when it just started?". A solo operator who later adds a second person will hit these walls immediately.
    • Expected Upside: A proposal: each new investigation inherits prior context, so the system compounds learning over time rather than restarting from zero, and formula disputes like the Canadian-dollars-vs-American-dollars mismatch are caught at the definition layer rather than in a VP meeting.

Takeaway

  • Define your top business KPIs and break each into every product × region × supplier segment; let a deterministic statistical model flag deviations against a seasonality-aware baseline before any LLM reasoning touches the data.
  • Convert your three most-repeated analytical questions into scheduled, recursive agent assignments with a fixed cadence and segment scope, replacing one-off chat prompts that are "such a one-off, and it's not sustainable".
  • Codify KPI formulas, standard investigation drivers, and past root-cause findings in a single versioned store so every AI-assisted analysis reads from and writes back to shared analytical memory.
  • Apply a deterministic pre-filter that narrows the segment space (e.g., 100 segments to five) before invoking probabilistic reasoning, keeping compute cost bounded and answers accurate.
  • Build a real-time webhook or automation hook on your highest-value anomaly (supplier degradation, payment-gateway failure) so the system can act - redirect traffic, refresh a token - without waiting for a human to notice on a weekly review.

Recent Episodes of MLOps.community

3 Dec 2026 Testing and Designing Voice Agents for Production

Voice agent development demands rigorous simulation testing and nuanced conversational design to manage synchronous interactions, prevent user frustration from silence or overload, and ensure reliable production performance through specialized model architectures.

25 Nov 2026 Why More AI Usage Can Mean Lower Margins

Organizations struggle to prove AI value to CFOs despite spend visibility, as activity metrics fail to capture business outcomes, prompting a shift toward rigorous value classification and cost governance.

9 Nov 2026 My AI Agent Bought Me A Car

Hermes agent uses reinforcement learning and trace-to-environment synthesis to enable continual self-improvement, balancing token efficiency with inference-time steering for better agentic performance.

2 Nov 2026 How Stanford Teaches AI Coding Now

AI agent development, verification loops, and go-to-market automation are reshaping software engineering and sales strategies.

More MLOps.community episodes

Cutting 100 Segments to 5 Before Spending | Podcast Summarizer · 3ukd