Flink Agents logo

Flink Agents

Community
gordonmurray
flink-agents

Design, integrate, upgrade, and troubleshoot Apache Flink Agents applications in streaming pipelines. Use for Flink Agents Actions, Events, Resources, ReAct agents, Java/Python/YAML definitions, runtime Skills and MCP, durable calls, Kafka or Fluss Action State Stores, agent memory, or 0.3 to 0.4 migrations. Not for ordinary Flink SQL jobs or general coding-agent skill authoring.

Overview

Publishergordonmurray
Repositorydata-engineering-skills
Skill nameflink-agents
Stars
47
Forks
4
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gordonmurray on GitHub. Read the source before you install it.

Installation

Install the Flink Agents AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gordonmurray/data-engineering-skills.git /tmp/data-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-skills/flink-agents .claude/skills/flink-agents
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Flink Agents in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Flink Agents on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Flink Agents is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Apache Flink Agents

Scope

Flink Agents application design, integration, recovery, and deployment. Use the flink skill, if installed, for core cluster and checkpoint operations, and fluss for the storage service itself.

Apache also maintains flink-agents-dev with authoring references and YAML schemas. Consult the version matching the application for scaffolding and detailed syntax. This guide covers operational decisions and does not require that companion skill to be installed. A coding skill installed in Claude Code is separate from Skills loaded by a running job.

Current Facts

Release guidance checked on 2026-11-03. Recheck the linked sources before selecting versions for a new deployment; preserve existing project pins.

  • Current release: 0.4.0, published October 29 and announced October 30, 2026. It remains a preview; 1.0 API compatibility is not yet promised.
  • Java distributions cover Flink 1.20 and 2.0–2.3. Use a supported patch release; the setup guide requires at least Flink 1.20.3. Python components require Python 3.10–3.12; Python 3.12 also requires Flink 2.1 or newer.
  • Java jobs need the matching distribution JAR. PyFlink registers bundled JARs through AgentsExecutionEnvironment; do not blindly copy another copy into the cluster. Mixed-language jobs need both runtime dependency sets.
  • The 0.4 Python standalone from_list()/to_list() execution path is gone. Use a Flink execution environment with DataStream or Table inputs/outputs, including for local development.
  • 0.4 adds sub-agents, Decision Models, conditional Action triggers, and ctx.chat. Model routing is currently Java-programmatic only; do not assume feature parity across Java, Python, and YAML.

Inspect First

  1. Read dependency files and record Flink Agents, Flink, Python, JDK, and connector versions. Identify the job entry point and Agent-definition API; YAML is loaded by a Java or PyFlink job, not submitted as a separate runtime.
  2. Trace input keys, Events, Action triggers, Resources, and outputs. Establish which business entity owns state and whether multiple tenants share keys.
  3. Identify model calls, tools, MCP servers, and runtime Skill sources. Record which calls mutate external systems and how retries are handled.
  4. Inspect checkpoint settings and any Action State Store, including its Kafka topic or Fluss table, retention, and the oldest required restore point.
  5. For upgrades, check pending Actions and saved execution history as well as Flink operator state. For latency, inspect queueing, model/tool latency, retries, concurrency, and provider limits separately.

Decision Rules

  • Use Flink Agents when continuous keyed events, state, and recovery are part of the workload. A one-off model call alone does not justify a Flink cluster.
  • Start with explicit Actions and Event dependencies for fixed business flows; use ReAct when model-selected tool sequences are actually needed. Set bounds on retries, concurrent requests, and tool loops against cost and latency goals.
  • Checkpointing protects job state and compatible outputs; external calls can repeat. Add a Kafka or Fluss Action State Store when saved Action completions and durable call outcomes must be reused. Give each logical Agent operator its own topic or table, and retain records for every required recovery point.
  • Keep durable call identities, arguments, and sequence stable across recovery. Mutate short-term memory and emit Events in the Action body, outside durable functions. Use explicit Events to order Actions sharing mutable memory.
  • Long-term memory uses Mem0 with chat-model, embedding-model, and vector-store resources. Obtain its handles inside each Action; do not cache them globally.
  • Package runtime Skills where every TaskManager can access them. Remote sources are loaded at initialization, not automatically refreshed during a running job. Pin trusted archives when reproducibility matters.

Safety

  • An external write and its saved Action outcome are not one transaction. Use stable idempotency keys or a reconciler to handle failure between them; do not promise exactly-once external effects from checkpointing alone.
  • 0.3 Action State Store records are incompatible with 0.4. Plan a cutover without reusing that history, retain rollback resources, and test restoration with pending Actions. This does not mean every Flink savepoint is incompatible.
  • Runtime Skill command allowlists are not an OS sandbox. Review scripts and interpreter permissions; a permitted interpreter can execute more than one bundled script. Do not treat model-generated tool arguments as authorization.
  • Keep provider keys and sensitive event payloads out of committed definitions and unrestricted traces. Protect Action State Store contents as application data, including saved model/tool results.

Verify

  • Validate YAML against the target release's schema, resolve Resources and Action references, and run imports or compilation in the job's environment.
  • In an isolated job, process representative keyed inputs and check outputs, per-key memory isolation, and a completed checkpoint. Use model/tool stubs first when testing deterministic business behavior.
  • Exercise recovery around an external call and check both output duplication and repeated external effects. A successful checkpoint is not that test.
  • For 0.4 migration, replace rejected Event Log keys with Trace Log settings and verify the resulting traces. Check model-call failures and backlog too.
  • Report schema/build checks, local execution, live-provider checks, and recovery tests separately; identify any that could not run.

Update Checklist

  • Check the release announcement for API, state, and configuration migrations.
  • Recheck setup requirements and feature support per language before emitting code. Use release documentation and schemas rather than main examples.
  • Recheck the upstream development skill before duplicating authoring helpers.

Sources

Frequently asked questions

What does the Flink Agents AI skill do?

Design, integrate, upgrade, and troubleshoot Apache Flink Agents applications in streaming pipelines. Use for Flink Agents Actions, Events, Resources, ReAct agents, Java/Python/YAML definitions, runtime Skills and MCP, durable calls, Kafka or Fluss Action State Stores, agent memory, or 0.3 to 0.4 migrations. Not for ordinary Flink SQL jobs or general coding-agent skill authoring.

Why use Flink Agents on TypingMind?

Because you install it once and use it with any model. Flink Agents is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Flink Agents in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Flink Agents?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Flink Agents?

As many as you like. As long as a model supports skills, you can use Flink Agents with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Flink Agents AI skill free?

Yes. It is published on GitHub by gordonmurray under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇