Senior Software Engineer, Intercontinental Exchange (ICE).
* Corresponding Author
ORCID Details
Mohit Mittal: https://orcid.org/0009-0005-4617-0341
World Journal of Advanced Engineering Technology and Sciences, 2026, 20(03), 269–280
Article DOI: 10.30574/wjaets.2026.20.3.0427
Received on 28 July 2026; revised on 22 September 2026; accepted on 28 September 2026
Agents based on large language models (LLMs) are moving on from just answering questions to actually carrying out actions such as approving orders, changing limits, rerouting work, and opening incidents. When these agents take an action, the data pipeline that underpins the action is itself involved in the decision-making process; if the data view is outdated, the action will be wrong and, if an event is replayed the action will be duplicated. This paper looks at how real-time data pipelines should be designed for use by such agents and how the different design choices should be evaluated. We first organize the design space along four dimensions: the method by which events are brought into the agent's context (either in batches, micro-batches, or in a streaming manner), how the agent is invoked (either by a pull request or by a push when an event occurs), how freshness is guaranteed at the time of making a decision, and how the agent's side effects are delivered. We then introduce STREAM-A, a reference architecture that includes an event log, stream processing, context stores annotated with freshness information, event-triggered agents, a freshness guard, and an idempotent action bus. Finally, we evaluate the design choices using a discrete-event simulation based on data from a limit-management agent that involves 2.16 million state-change events and 432,000 decision requests, with the simulation run five times. Changing from hourly batch processing to streaming reduced the rate of incorrect decisions from 18.5% to 8.5%. Streaming alone was not enough because hot entities changed more quickly than the approximately 2-second pipeline delay. A uniform 5-second freshness service level agreement (SLA) eliminated only one-sixth of the remaining errors. A rate-aware guard, which assigns a budget for the expected number of unseen changes per entity, achieved the same error rates as the uniform SLAs but with 25% to 34% fewer fallback reads to the system of record, and when the fallback cost was the same, it reduced errors by as much as six times. For proactive monitoring, event-triggered agents detected every limit breach with a median delay of 3.4 seconds. Stream polling every 30 seconds missed 60% of the transient breaches, and batch-based designs missed 79% to 90%. Filtering the trigger events using complex event processing reduced the number of agent invocations by a factor of 68 when compared to invoking the agent for each event. With at-least-once delivery and under the condition of consumer crashes, about 16 out of every 10,000 actions were duplicated, and idempotency keys eliminated these duplicates. We make the simulation design available so that others can reproduce it and compare it with production telemetry.
Agentic AI; Event Streaming; Apache Kafka; Apache Flink; Stream Processing; Data Freshness; Age Of Information; Event-Driven Architecture; Exactly-Once; Model Context Protocol; Discrete-Event Simulation
Get Your e Certificate of Publication using below link
Preview Article PDF
Mohit Mittal. FROM EVENT STREAMS TO AUTONOMOUS AGENTS: DESIGNING AND EVALUATING REAL-TIME DATA PIPELINES FOR AGENTIC AI SYSTEMS. World Journal of Advanced Engineering Technology and Sciences, 2026, 20(03), 269–280. Article DOI: https://doi.org/10.30574/wjaets.2026.20.3.0427