xintongsong commented on code in PR #888: URL: https://github.com/apache/flink-web/pull/888#discussion_r4387784378
########## docs/content/posts/2026-10-30-release-flink-agents-0.4.0.md: ########## @@ -0,0 +1,152 @@ +--- +title: "Apache Flink Agents 0.4.0 Release Announcement" +date: "2026-10-30T00:00:00.000Z" +authors: +- wenjin: + name: "Wenjin Xie" +aliases: +- /news/2026/10/30/release-flink-agents-0.4.0.html +--- + +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 reasoning with business logic, and use Flink for distributed execution and fault recovery. Review Comment: I think Flink Agents can do more than just reasoning. ```suggestion 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. ``` ########## docs/content/posts/2026-10-30-release-flink-agents-0.4.0.md: ########## @@ -0,0 +1,152 @@ +--- +title: "Apache Flink Agents 0.4.0 Release Announcement" +date: "2026-10-30T00:00:00.000Z" +authors: +- wenjin: + name: "Wenjin Xie" +aliases: +- /news/2026/10/30/release-flink-agents-0.4.0.html +--- + +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 reasoning 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.0 release for streaming agent applications. It expands agent capabilities with sub-agents and Decision Models, refines APIs to simplify application development, and strengthens observability to make agent behavior easier to understand and diagnose. + +Flink Agents 0.4 remains a preview release, with APIs and configuration options still evolving. If you are upgrading from 0.3, please review the Breaking Changes below. + +## What's New in 0.4? + +### New Agent Primitives and Capabilities + +#### Sub-agents: Delegate Tasks to Specialized Agents + +**Sub-agents** let an agent delegate tasks to other agents in the same Flink job or to integrated external agent services, then continue processing with their results. Applications can delegate explicitly in code or let the model choose a sub-agent. Calls support durable execution, allowing recorded results to be reused during recovery. + +#### Decision Models: Evaluate and Score Against Business Criteria + +**Decision models**, such as TypeSafe's Jev, evaluate application context against defined criteria and return typed decisions as probabilities, choices, or scores. Flink Agents 0.4 introduces a unified **Decision Model API** supporting TypeSafe, OpenAI, and Alibaba Cloud Bailian, bringing these capabilities to streaming workflows for tasks such as content classification, satisfaction scoring, and risk assessment. + +#### Model Routing: Choose the Right Model for Each Request + +**Model Routing** dynamically selects a model for each request from a set of candidates, using rule-based matching, an LLM judge, or custom routing logic. For example, an application can use a smaller model for routine requests and a more capable model for complex tasks. Model Routing is currently available through the Java programmatic API. Review Comment: ```suggestion **Model Routing** dynamically selects a model for each request from a set of candidates, using rule-based matching, an LLM judge, or custom routing logic. For example, an application can use a lightweight model for routine requests and a more capable model for complex tasks. Model Routing is currently available through the Java programmatic API. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
