Logo van Flink Agents

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.

Overzicht

Uitgevergordonmurray
Repositorydata-engineering-skills
Skillnaamflink-agents
Sterren
47
Forks
4
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door gordonmurray op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Flink Agents in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Flink Agents in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Flink Agents automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Flink Agents niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Flink Agents gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Flink Agents bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Flink Agents in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Flink Agents gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Flink Agents gebruiken?

Zoveel als je wilt. Je kunt Flink Agents gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Flink Agents gratis?

Ja. Deze skill is door gordonmurray op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇