# Apache Flink Agents 0.4.0 Release Announcement

DevFeed: [Apache Flink Agents 0.4.0 Release Announcement](<https://devfeed.tech/articles/apache-flink-agents-0-4-0-release-announcement-107667.md>)

Original publisher: [Read original article](<https://flink.apache.org/2026/10/30/apache-flink-agents-0.4.0-release-announcement/>)

Published: 2026-10-30T00:00:00Z

Content type: release

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [supervisor agent pattern](<https://devfeed.tech/topics/supervisor-agent-pattern.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [announce](<https://devfeed.tech/tags/announce.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [community](<https://devfeed.tech/tags/community.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [events](<https://devfeed.tech/tags/events.md>), [execution](<https://devfeed.tech/tags/execution.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [flink](<https://devfeed.tech/tags/flink.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [processing](<https://devfeed.tech/tags/processing.md>), [production](<https://devfeed.tech/tags/production.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [release](<https://devfeed.tech/tags/release.md>)

## AI overview

Apache Flink Agents 0.4.0 adds sub-agent delegation, a unified Decision Model API for TypeSafe, OpenAI, and Alibaba Cloud Model Studio, model routing through the Java API, multimodal messages, and broader structured output support. New `ctx.chat` actions combine model calls with business logic; conditional event triggers, tool parameter injection, and Java asynchronous execution on JDK 11 and 17 extend application control. Trace Log records execution steps and call lineage, while new metrics cover processing, queues, latency, and component calls. This remains a preview, and APIs and configuration may change. Upgrading from 0.3 requires broad migration work: Action State Store data is incompatible; retries now default to zero; message, event, tool, and logging formats have changed; and stricter validation applies to settings and inputs. Pending Action snapshot restoration may fail, so validate representative state before upgrading.

## Source excerpt

The Apache Flink community is excited to announce the release of Apache Flink Agents 0.4.0. Apache Flink Agents brings AI agents into Flink streaming pipelines. Applications can continuously respond to real-time events, combine AI processing with business logic, and use Flink for distributed execution and fault recovery. Shaped by feedback from early production adopters and advances in the agent ecosystem, Flink Agents 0.4 marks the final planned step toward a production-ready 1.