Agentic AI on Kafka and Flink: What Agents Really Change in Streaming
How much of this year's agentic streaming hype is old Kafka patterns in new packaging?
Contents
I’d been heads-down for a while, and Current ‘26 was a useful window onto what the rest of the streaming world had been building. For a few months I’d been curious what Redpanda was shipping, and what exactly an agentic data plane is. I also attended a Confluent hackathon, which turned out to be mostly a guided copy-and-paste exercise, and came away knowing what Lightning Tables are.
What everyone seems to be up to is agents: the major streaming vendors all shipped agent infrastructure in 2026. Confluent added a fifth pillar to its platform, called Query, and put agents on top of it.1 Redpanda built an agentic data plane,2 and Apache Flink grew an agents sub-project.3 Read against their own documentation, most of it is a pattern Kafka users have run for years under another name. A few things are new, and they’re mostly missing from the launch slides.
The question for anyone running Kafka and Flink is which of these launches to buy, which to build, and which to ignore. Sorting them takes two piles: familiar patterns under a new name, and use-cases that genuinely didn’t exist before agents.
The pivot has a cause. The log itself stopped being something a vendor could charge a premium for.
- Diskless topics. Apache Kafka accepted KIP-1150 on 2 March 2026, putting object-storage topics on the upstream road map.4
- Forks and rewrites. StreamNative shipped Ursa for Kafka in April 2026, a fork of Kafka 4.2 and later on lakehouse-native storage.5 Aiven, AutoMQ, WarpStream and Bufstream sell their own takes on the same idea.
- Queues in the box. Share groups, Kafka’s native queue, have been production-ready since 4.2.6
- Consolidation. Confluent now describes itself as “an IBM company”.1
When the protocol is common property and storage is moving to object storage, the margin moves up the stack, to serving, processing and governance. My read is that agents are the story that sells those layers. Each product still has to be judged on what it does that the layer beneath it couldn’t.
Mostly familiar patterns
4 November 2026: Lightning Tables and the Real-Time Context Engine. Confluent’s Streamhouse adds Query as a fifth pillar beside Stream, Connect, Process and Govern. At its centre is Lightning Tables: switch it on for a topic and the topic becomes a read-only table, refreshed within about 100 ms, queryable from SQL, HTTP, the CLI, JDBC and MCP. Confluent’s own tests put queries at 10 to 100 ms and above 1,000 per second, on AWS only for now.17 The Real-Time Context Engine is the MCP face of the same tables: an agent lists the topics, reads their schemas and writes its own SQL.8
The SQL is single-table. Key lookups, filters, ORDER BY and LIMIT work; joins, aggregates, GROUP BY and subqueries are rejected.9 Anything worth asking still gets computed upstream in Flink and written to a topic first. ksqlDB’s pull queries already fetched “the current state of a materialized view”,10 and Kafka Streams has served its state stores to applications for years. The docs are admirably plain about the limits. A managed, MCP-addressable materialized view is a convenience, and an agent reading a schema and writing SQL against it is what a catalog and a SQL client have always offered. The “context” here is business state (orders, stock, accounts); conversation memory for agents is a different problem, and the product doesn’t claim to solve it.
19 May 2026: Streaming Agents, generally available. Confluent’s event-driven agents run inside Flink and Kafka pipelines.11 Flink Agents, an Apache Flink sub-project, does the same in the open and keeps agent memory in Flink state.3 Stripped of the name, this is model inference inside a stream operator, keyed state used as memory, and an event-driven service around it. Each piece is old; a language model as the operator raises a problem of its own, which comes back in the second pile.
The rest of the year. The pattern holds:
- Forecasts and anomalies that trigger an agent to restock or escalate:12 complex event processing with an alert that runs a runbook.
- Share groups for agent tasks: a work queue, and a weak one for the jobs agents hand each other (below).6
- AI gateways and agent data planes: an API gateway and an identity provider. Redpanda’s version issues short-lived, agent-bound tokens and logs every agent interaction for replay, which points at a real problem picked up below.2
- Agent action logs: event sourcing.
- Managed MCP servers and agent skills for coding assistants: developer tooling, welcome and unrelated to streaming.
- Diskless storage and the “streamhouse”: storage cost architecture, marketed alongside the agent features.
| The launch | What it was already called |
|---|---|
| Lightning Tables, context engines | Materialized-view serving (ksqlDB pull queries, Kafka Streams state stores) |
| Streaming Agents, Flink Agents | Inference in a stream operator, keyed state, an event-driven service |
| Forecast or anomaly triggers an agent | Complex event processing and a runbook |
| Share groups for agent tasks | A work queue |
| AI gateway, agentic data plane | An API gateway and an identity provider |
| Agent action log | Event sourcing |
| Diskless, streamhouse | Storage cost architecture |
Updated 24 November 2026: share groups and agent-to-agent traffic. Kafka as the transport between agents has been pitched since Confluent’s April 2025 case that Agent2Agent needs it: one event backbone, where agents publish what they know and subscribe to what they need.13 For the jobs agents hand each other, the fit is poor, share groups included.
- Exclusive jobs. Share groups do track each record. A consumer acquires it under a lock, 30 seconds by default, then accepts, releases or rejects it, and the broker counts deliveries.14 An agent task that outlives the lock goes back to the pool and is handed out again unless the consumer keeps renewing it,15 and after five attempts the record is archived, out of the queue, with no dead-letter queue until KIP-1191, accepted but not yet released, ships.16
- Head-of-line blocking. Each partition has a capped window of records in flight. Once it fills, fetches return nothing until acquired records are settled, so a few slow jobs hold up the fast ones behind them.14
- Selective fan-out. Neither consumer groups nor share groups filter. Every member sees the whole topic, so routing work to the agents that can handle it takes a topic per audience or filtering in the client.
- Foreign parties. A Kafka client talks to each partition’s leader directly, so every broker has to be reachable by every client. Exposing that beyond a private network takes a Kafka-aware proxy that routes by SNI, a private endpoint per broker, or an HTTP front end, and each puts a gateway at the edge that speaks some other protocol anyway.
Share groups suit what the Kafka project itself recommends them for, records processed one at a time:17 short, idempotent work fanned out from a topic you already have. Agent-to-agent calls across a boundary belong on A2A over HTTP, with a job queue or a durable workflow engine behind them. Kafka earns its place behind that boundary, as the log every agent’s actions and outputs are recorded to.
Five things agents genuinely change in streaming
The new pile is shorter, and most of it is about the consumer.
Replay no longer reproduces. Streaming’s deepest promise is that a log replayed through deterministic operators gives the same result. Exactly-once covers Flink’s state and Kafka’s offsets, and a model call sits outside both. Replay a pipeline whose operator is an agent and it makes the calls again, gets different answers, and bills you a second time. The fix is to treat model output as data: write every request, response and model version to the log, and have replay read the recorded output instead of asking again. Once that exists, a second capability follows. Fork the log at a point in history and run a new agent version against everything that happened since, which is a backtest for agents. AgileLog, at SOSP this year, proposes a shared log with forking primitives for exactly this.18
The consumer acts for someone. A service account does a fixed job, and its permissions are decided when the service is designed. An agent acts on a user’s delegated authority and chooses its actions at runtime, so the authorization decision moves to the moment of each action, and the audit has to record why it acted (the prompt, the context it retrieved, the tool it chose) as well as what it did. Redpanda’s agent-bound tokens and replayable interaction logs are the most direct answer shipped so far.2
Every message costs money. Backpressure used to be about throughput. When the consumer is a model, it is also about the bill. With \(r\) events a second, a fraction \(f\) of them sent to a model, \(t\) tokens a call and a blended price of \(p\) per token, the daily cost is
\[C_{\text{day}} = r \cdot f \cdot t \cdot p \cdot 86{,}400\]For a modest security or commerce topic at 50,000 events a second, sending 1% to a model at 2,000 tokens a call and an assumed $3 per million tokens (illustrative figures throughout):
\[C_{\text{day}} = 50{,}000 \times 0.01 \times 2{,}000 \times \frac{\$3}{10^6} \times 86{,}400 \approx \$259{,}000\]A topic that spikes tenfold multiplies the bill tenfold. Which events earn a model call (sampling, tiering, caching) becomes an operator’s decision with a price on it, alongside partition counts and retention.
Threat response at machine speed. Kafka in front of the SIEM is an old idea: security data pipelines that route, cut and enrich logs before indexing built a business out of it, with Cribl alone reported past $200 million in annual recurring revenue.19 The adversary is what changed. In the espionage campaign Anthropic disrupted in late 2025, AI performed 80 to 90% of the work, at peak making thousands of requests, often several a second.20 Response measured in hours stops being good enough against that, and detection is moving into the pipeline: SOC Prime’s DetectFlow runs Sigma rules with Flink on live Kafka streams, before the data reaches the SIEM.21 The layers are network flows, DNS, identity and endpoint signals, far more than observability telemetry, and the cost equation above rules out sending all of it to a model. The shape that works is tiered: cheap rules and models on every record, and an agent triaging the small residue that’s left.
That makes Kafka and Flink necessary infrastructure where detection fans out to several detectors, correlates signals across layers, or needs to replay history against a new rule. The usual objection is that a broker is one more hop before detection. That stops holding when the broker runs next to the workload, which is a story for another day.
Updated 24 November 2026: runtime shielding. Response is moving onto the host too. Shirudo, an open-source Linux runtime from Cisco and OpenAI released on 23 November 2026 and still pre-release, lets an agent write a small eBPF program, or a bytecode check inside a running JVM, that blocks a vulnerable code path until the real patch lands. Its launch demonstration blocked a Java4Shell exploit against a running Elasticsearch without a restart.22 Delivery stays with the operator: shields are signed with the operator’s own key, served from its own registry and pulled by every host about once a minute by default, and a shield copied in by hand loads offline.23
It’s fantastic technology, and still speculative. The dependence it adds is on the frontier model that writes the shield, since the runtime “does not judge what a upatch does”:23 an operator approving one vouches for kernel code a model wrote against a disclosure that may be hours old. The failure it invites is on record. On 19 July 2024, a CrowdStrike content update, configuration data delivered from the cloud and interpreted by its kernel driver, hit an estimated 8.5 million Windows machines, and the fixes that followed were staged rollout rings and customer control over each update.24 BGP and DNS taught the same lesson at internet scale: the systems every host trusts automatically have caused some of the largest outages.25 Expect shields to join them unless they move through rings like any other change.
Keeping attackers out still comes first. Where a workload can tolerate it, ring-fence it with an air-gap, and treat shields as a stopgap inside the fence for the code paths an insider or a poisoned update can still reach. Shirudo runs offline, so the two compose.
Continual learning from agent traces. Online learning on Kafka and Flink is established practice. ByteDance’s Monolith logged user actions to Kafka, joined features in Flink and updated model parameters as the data arrived, back in 2022.26 Continual learning for agents mostly changes prompts, retrieval, memory, tools and routing, and only sometimes weights, in a governed loop from production traces.27
Kafka’s part in that loop is specific:
- Trace capture. Every request, tool call, response and model version, which is the same record that makes replay reproducible.
- Late-label joins. Feedback, grader scores and outcomes arrive minutes or days later; Flink joins them to the trace by ID.
- Drift detection. Shifts in inputs, tool-call mix and failure clusters, while they’re happening.
- Fast updates. Memory, retrieval and prompt changes that ship without retraining.
The training and regression sets belong in Iceberg, large trajectories belong in object storage with a pointer in the message, and for agents, weight retraining runs in batch, where Kafka’s milliseconds buy nothing. The loop needs numbers to steer by:
- Freshness: event-to-trainable lag, and time from a fix to its promotion.
- Labels: label delay, coverage, and grader agreement with humans.
- Quality: regression-set pass rate, held-out regressions, calibration.
- Drift: input distribution, tool-call distribution, new failure clusters.
- Safety: rollback rate, and canary deltas against the current version.
- Cost: tokens per resolved task.
The recorded model outputs that make replay honest are the same records this loop learns from.
What each is worth
Ranking both piles by what they’re worth and what they cost changes the reading order. The scores are my own assessment, from 1 to 5, for a team already running Kafka and Flink. Value is the upside if it works: revenue, risk avoided, quality, money saved. Cost is what it takes to adopt and run: new spend, operations, people and tokens.
My assessment, scored 1 to 5, November 2026.
| Opportunity | Pile | Value | Cost | Why |
|---|---|---|---|---|
| Threat response at machine speed | New | 5 | 4.5 | Breach and regulatory cost avoided; flow-level volume and round-the-clock operations |
| Continual learning | New | 4.5 | 3.6 | Agent quality compounds; labelling, graders and evals cost people |
| Delegated principal | New | 4.2 | 3.4 | Often the gate to production; identity plumbing across teams |
| Record and replay of model outputs | New | 4.2 | 2 | Reproducible, testable agents; mostly design discipline and storage |
| Agent action log | Old | 4 | 1.3 | Audit, evals and replay start here, on a topic you already have |
| Diskless storage | Old | 3.7 | 2.8 | A real saving on cross-zone traffic; a migration, and no upstream release yet |
| Budget backpressure | New | 3.6 | 1.8 | Its value is the bill it cuts; mostly a policy layer |
| Share groups for agent tasks | Old | 2 | 1 | Free from Kafka 4.2; lock timeouts, no dead-letter queue and no filters make a poor job queue for agents |
| AI gateway, agent data plane | Old | 3 | 2.5 | Governance is needed anyway; buying beats building |
| Forecast or anomaly triggers an agent | Old | 2.8 | 2 | Cheap complex event processing; the agent adds little over a runbook |
| Context engines | Old | 2 | 3 | New managed spend, Flink still upstream, single-table queries |
| Streaming and Flink Agents | Old | 2 | 4 | Model calls in the hot path, replay cost, operational coupling |
| MCP tooling for coding assistants | Old | 1.5 | 1 | Pleasant and free with the platform |
The cheapest wins are in the new pile, or rest on infrastructure you already own. Recording model outputs in the action log and putting a budget on model calls pay off three times, in audit, in evals and on the bill, and continual learning is built on the same records. At the illustrative $259,000 a day above, sampling out a tenth of the model calls saves about $26,000 a day. The three strategic bets (threat response, continual learning and the delegated principal) carry the most value and the most cost, and none of them is a single product you can buy: each is an integration project. The headline launches, agents inside the pipeline and context engines, score lowest for what they cost, unless the data is born as events and decisions turn over in seconds. Diskless storage is the familiar pattern worth chasing, for savings that have little to do with agents.
Which agentic streaming launch to buy, and when
As of November 2026, the choice follows where the data is born and what the agent does with it:
- The data is born as events and the decision changes within seconds (fraud, stock, dispatch, security): stream-native serving earns its keep. Check whether single-table queries are enough before buying a serving layer that can’t join.
- The agent needs joins and aggregates over live data: a streaming database (Materialize, RisingWave, Feldera) or Flink writing into a database you already run.
- The context lives in systems of record (the CRM record, the contract, the ticket): MCP on the source or a read replica, or change data capture into a store you operate. A stream adds a copy without adding freshness the agent can use.
- The agent needs crash-safety, long waits and retries: a durable execution engine (Temporal, Restate, DBOS) handles model calls as side effects more naturally than an agent inside a stream operator.
- Agent tasks need dispatching: a job queue or a durable execution engine; share groups only for short, idempotent work on Kafka 4.2 or later.
- Agents need an action log: a topic you already have, with model outputs recorded so the log replays.
- Security: Kafka and Flink where detection fans out, correlates or replays; filtering at the sensor everywhere else.
- Continual learning: Kafka carries traces and joins labels, and Iceberg keeps what the models learn from.
These piles would shift if the products changed. A serving layer that joins and searches, a log that records and replays model outputs as a primitive, or budget-aware backpressure in the broker would each move something from the second pile into a product worth buying. None has shipped yet. Until one does, most of what’s being sold as agent infrastructure is infrastructure you already run.
-
Confluent introduces its Streamhouse architecture, IBM Newsroom, 4 November 2026. Performance figures are Confluent’s internal testing. ↩ ↩2 ↩3
-
Redpanda acquires Oxla, launches Agentic Data Plane, Redpanda, 28 October 2025. ↩ ↩2 ↩3
-
Ververica debuts Flink Agents, SiliconANGLE, 15 October 2025. ↩ ↩2
-
Diskless Kafka: what happens when brokers stop owning the data?, SoftwareMill; Data streaming trends Q3 2026, Kai Waehner, 21 September 2026. ↩
-
StreamNative introduces Lakestream architecture and launches native Kafka service, Business Wire, 7 April 2026. ↩
-
Lightning Tables in Confluent Cloud, Confluent documentation, updated 16 November 2026. ↩
-
Query a Lightning Table with MCP, Confluent documentation. ↩
-
Lightning Tables SQL reference, Confluent documentation, updated 16 November 2026. ↩
-
Confluent Cloud Q2 2026 launch, Confluent, 19 May 2026. ↩
-
New in Confluent Intelligence and AI tools, Confluent, Q3 2026. ↩
-
Sean Falconer, Why Google’s Agent2Agent protocol needs Apache Kafka, Confluent, 28 April 2025. ↩
-
KIP-932: Queues for Kafka: acquisition locks, delivery counts, a delivery attempt limit of 5 by default and a cap on in-flight records per share-partition; the lock default is
share.record.lock.duration.ms, 30,000 ms, in the Kafka 4.2 group configs. ↩ ↩2 -
KIP-1222: Acquisition lock timeout renewal in share consumer explicit mode. ↩
-
KIP-1191: Dead-letter queues for share groups, accepted. ↩
-
Apache Kafka 4.2 upgrade notes: “Use share groups in cases where records are processed one at a time, rather than as part of an ordered stream.” ↩
-
Bhat, Hong, Noguera, Ganesan and Alagappan, AgileLog: a forkable shared log for agents on data streams, SOSP 2026. ↩
-
Market guide 2025: the rise of security data pipelines, Software Analyst. ↩
-
Disrupting the first reported AI-orchestrated cyber espionage campaign, Anthropic, 13 November 2025. ↩
-
SOC Prime’s DetectFlow Enterprise moves threat detection to the data ingestion layer, Help Net Security, 12 March 2026. ↩
-
OpenAI, Introducing Shirudo, 23 November 2026; Cisco, Expanding the defender’s window with self-defending infrastructure, 23 November 2026. ↩
-
Shirudo documentation and repository, pre-release (0.0.0-dev), read November 2026; it requires a patched bpf-next kernel and a TPM 2.0. ↩ ↩2
-
CrowdStrike, Channel File 291 Incident: External Technical Root Cause Analysis, 6 August 2024; Microsoft, Helping our customers through the CrowdStrike outage, 20 July 2024. ↩
-
Meta, More details about the October 4 outage, 5 October 2021 (a backbone command, then DNS servers withdrawing their BGP advertisements); AWS, Summary of the Amazon DynamoDB service disruption in US-EAST-1, October 2025 (an empty DNS record from DynamoDB’s DNS automation). ↩
-
Monolith: real time recommendation system with collisionless embedding table, ByteDance, 2022. ↩
-
Continual learning for AI agents and LLM systems, Arize, reviewed 16 August 2026. ↩
Thanks for reading The Write Ahead Log
Subscribe for free to receive new posts.