By Sagar Shankaran, Founder of CallSphere
BigQuery continuous queries + Pub/Sub direct subscriptions + Vertex AI ADK agents form a fully managed pipeline. We show how to triage calls in real time, with autonomous investigation when sentiment crashes.
Key takeaways
TL;DR — Pub/Sub BigQuery subscriptions write events directly to BigQuery (no Dataflow). BigQuery continuous queries run forever, exporting matching rows back to Pub/Sub. Wire an ADK agent on the topic and you have an autonomous incident responder for sentiment drops.
GCP shops want managed, not DIY. The 2026 stack is:
EXPORT DATA + CONTINUOUS keep an SQL filter running forever.Together, they're an event-driven AI pipeline with no servers.
flowchart LR
Voice[Voice agent] -->|JSON| Pub[Pub/Sub topic<br/>call.events]
Pub -->|BigQuery subscription| BQ[(BigQuery<br/>call_events)]
BQ -->|continuous query<br/>WHERE sentiment < -0.6| OutPub[Pub/Sub topic<br/>call.alerts]
OutPub --> ADK[Vertex AI ADK agent]
ADK -->|investigate + page| Slack[Slack / On-call]
The continuous query acts as a perpetual filter; the ADK agent investigates each alert.
CallSphere — 37 agents · 90+ tools · 115+ DB tables · 6 verticals. $149 / $499 / $1499 at /pricing. 14-day trial, 22% affiliate. The Healthcare (/industries/healthcare) sentiment alert pipeline runs on BigQuery continuous queries for customers on GCP. The ADK agent reads the alert topic and runs a 4-step playbook: pull last 10 calls, summarize, post to the founder's Slack, page if 3+ in 5 min. See /demo.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
call.events and a BigQuery subscription writing to call_events table.EXPORT DATA to call.alerts topic.call.alerts via Pub/Sub push.-- BigQuery continuous query
EXPORT DATA OPTIONS (
format = 'CLOUD_PUBSUB',
uri = 'https://pubsub.googleapis.com/projects/cs-prod/topics/call.alerts'
)
AS
SELECT
call_id, vertical, sentiment_score, transcript_summary, ts
FROM `cs-prod.voice.call_events`
WHERE sentiment_score < -0.6
AND _CONTINUOUS = TRUE;
# Vertex AI ADK agent (sketch)
from google.adk.agents import LlmAgent
from google.adk.tools import bigquery_tool, slack_tool, pagerduty_tool
agent = LlmAgent(
model="gemini-2.5-flash",
tools=[bigquery_tool, slack_tool, pagerduty_tool],
instruction="On a sentiment drop event, fetch last 10 calls, summarize, post to Slack. Page if 3+ events in 5 min.",
)
call_events grows; partition by day, expire after 90.Cost vs. ClickHouse? BigQuery is more expensive per TB scanned but managed end-to-end. Often cheaper after staffing.
Latency? Pub/Sub → BigQuery is ~2–5s; continuous query → topic adds ~1–2s.
Can we use Gemini instead of GPT-4o-mini? Yes — AI.GENERATE_TABLE works inside BigQuery without a roundtrip.
HIPAA? GCP signs BAAs for Pub/Sub, BigQuery, and Vertex AI; redact PII first.
ADK vs. raw LLM call? ADK adds tool calling, memory, and observability; worth it for anything multi-step.
BigQuery + Pub/Sub for AI Call Analytics: Continuous Queries and ADK Agents in 2026 sits on top of a regional VPC and a cold-start problem you only see at 3am. If your voice stack lives in us-east-1 but your customer is calling from a Sydney mobile network, the round-trip time alone wrecks turn-taking. Multi-region routing, GPU residency, and warm pools become the difference between "natural" and "robotic" — and it's all infra, not the model.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
The big fork is managed (OpenAI Realtime, ElevenLabs Conversational AI) versus self-hosted on GPUs you operate. Managed wins on cold-start, model freshness, and zero-ops; self-hosted wins on unit economics past a certain conversation volume and on data residency for regulated verticals. CallSphere runs hybrid: Realtime for live calls, self-hosted Whisper + a hosted LLM for async, both routed through a Go gateway that enforces per-tenant rate limits.
Latency budgets are non-negotiable on voice. End-to-end target is sub-800ms ASR-to-first-token and sub-1.4s first-audio-out; anything beyond that and turn-taking feels stilted. GPU residency in the same region as your TURN servers matters more than choosing a slightly bigger model.
Observability is the unglamorous backbone — every conversation produces logs, traces, sentiment scoring, and cost attribution piped to a per-tenant dashboard. HIPAA + SOC 2 aligned isolation keeps healthcare traffic separated from salon traffic at the storage layer, not just the API.
Is this realistic for a small business, or is it enterprise-only? The IT Helpdesk product is built on ChromaDB for RAG over runbooks, Supabase for auth and storage, and 40+ data models covering tickets, assets, MSP clients, and escalation chains. For a topic like "BigQuery + Pub/Sub for AI Call Analytics: Continuous Queries and ADK Agents in 2026", that means you're not starting from scratch — you're configuring an agent template that's already been hardened across thousands of conversations.
Which integrations have to be in place before launch? Day one is integration mapping (scheduler, CRM, messaging) and prompt tuning against your top 20 real call transcripts. Day two through five is shadow-mode running, where the agent transcribes and recommends but a human still answers, so you can compare side-by-side. Go-live is the moment your eval pass-rate clears your internal bar.
How do we measure whether it's actually working? The honest answer: it scales until your tool catalog gets stale. The agent is only as good as the integrations it can actually call, so the operational discipline is keeping schemas, webhooks, and fallback paths green. The platform handles the rest — observability, retries, multi-region routing — without your team owning the GPU layer.
Want to see how this maps to your stack? Book a live walkthrough at calendly.com/sagar-callsphere/new-meeting, or try the vertical-specific demo at sales.callsphere.tech. 14-day trial, no credit card, pilot live in 3–5 business days.
Written by
Sagar Shankaran· Founder, CallSphere
Sagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
A no-fluff recap of the 7 biggest enterprise AI moves from Google Cloud Next 2026 — Gemini Enterprise, Agentspace, A2A, Gemini 3.1 Ultra, and more.
At Cloud Next 2026 Google renamed Vertex AI to Gemini Enterprise Agent Platform and absorbed Agentspace. What actually changed and why a rebrand made sense.
GCP Speech-to-Text Chirp at $0.016 per 15s and Vertex Live multimodal pricing change the math. Where Google Cloud's voice stack beats AWS and OpenAI — and where it does not.
Google launched Gemini 3.1 Flash Live in April 2026 with native audio, 30 HD voices, 24 languages, and a Vertex AI Live API. Here is the production take.
Combine Dialogflow CX's deterministic flows with Gemini Live API's bidirectional streaming for hybrid voice agents. Phone Gateway, generative fallback, real working integration.
Stand up a Gemini-powered voice agent with Vertex AI Agent Builder (now Gemini Enterprise Agent Platform). Phone gateway, ADK code-first agent, Cloud Run runtime — under 200 lines.
© 2026 CallSphere LLC. All rights reserved.