---
title: "Your agents don't care that you're a batch shop"
description: "Financial services firms that run batch data pipelines often conclude they have no real-time workload, but AI agents change that math. Agents convert a single business question into tens of exploratory queries, run in parallel, and never stop, even when querying yesterday’s data. The key property is not data freshness but query efficiency: an engine that finishes a query in 200 ms instead of 20 seconds frees cores 100 times sooner. On a fixed cluster, that efficiency allows the same hardware to absorb far more agent desks without scaling up or incurring budget overruns. Firms should measure compute-seconds per query on their current platform, count queries per agent task, and compare hold times on a real-time engine to control the agent compute bill."
---

# Your agents don't care that you're a batch shop

[Clickhouse](https://yomu.fyi/company/clickhouse) · Jake Vernon · Nov 24, 2026

**Type:** Problem & solution

## Summary

Financial services firms that run batch data pipelines often conclude they have no real-time workload, but AI agents change that math. Agents convert a single business question into tens of exploratory queries, run in parallel, and never stop, even when querying yesterday’s data. The key property is not data freshness but query efficiency: an engine that finishes a query in 200 ms instead of 20 seconds frees cores 100 times sooner. On a fixed cluster, that efficiency allows the same hardware to absorb far more agent desks without scaling up or incurring budget overruns. Firms should measure compute-seconds per query on their current platform, count queries per agent task, and compare hold times on a real-time engine to control the agent compute bill.

## Context

Financial services firms that run batch data pipelines often conclude they have no real-time workload. AI agents change that: they convert one business question into tens of exploratory queries, run in parallel, and never stop. Even when querying yesterday’s data, the volume and concurrency of agent queries can saturate a fixed cluster, causing queueing and budget overruns. The key property is not data freshness but query efficiency: an engine that finishes a query in 200 ms instead of 20 seconds frees cores 100 times sooner, allowing the same hardware to absorb far more agent desks without scaling up. Real-time, defined as efficient query execution, becomes the cost and capacity element of the entire data estate.

## Approach / What changed

Run analytical queries on a real-time engine (ClickHouse Cloud) and compare response times and compute use. Instrument agent pilots with agent tracing (e.g., Langfuse) and infrastructure telemetry (e.g., ClickHouse Observability via OpenTelemetry) to measure compute-seconds per query. Use the open benchmark CostBench to price the full data path on a market-data workload.

## Takeaways

- Agents convert one business question into tens of queries through exploration, schema reads, sampling, and retries, multiplying query volume by 10x or more.
- On a fixed cluster, throughput is cores divided by core-seconds per query; a 200 ms query frees cores 100 times sooner than a 20-second one, absorbing far more concurrent agents.
- Compute-seconds per query is the only cost term the firm’s architecture controls; the other four terms (agents, tasks, queries, vendor price) rise by design as agents scale.

## FAQ

### How many queries does an agent generate per business question?

An analyst asks one question and runs one query. An agent given the same question explores: it lists tables, reads schemas, samples rows, runs a first cut, checks against a second source, hits an error, and retries. One business question becomes tens of queries.

### Which cost term can a firm control in the agent compute bill?

Compute-seconds per query is the only term the firm's architecture decides. The other four terms (number of agents, tasks per agent, queries per task, and vendor price) rise by design as agents are deployed. Reducing compute-seconds per query is the only lever to control the agent compute bill.

### What are the caveats to using a real-time engine for agents?

A fast engine does not fix a badly behaved agent, so guardrails on what agents can run are still needed. Also, cheaper queries invite more queries, so the saving will appear as headroom before it appears as a smaller bill.

**Tags:** [Agents](https://yomu.fyi/topic/agents), [ClickHouse](https://yomu.fyi/topic/clickhouse), [Cost Optimization](https://yomu.fyi/topic/cost-optimization), [Financial Services](https://yomu.fyi/topic/financial-services), [Real-Time Analytics](https://yomu.fyi/topic/real-time-analytics)

- Source: [Clickhouse](https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop)
- Source URL: https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop
- Ingested by Yomu: 2026-11-24T09:00:12.587Z

[Read original post](https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop)
