Логотип Flink Agents

Flink Agents

Спільнота
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.

Огляд

Видавецьgordonmurray
Репозиторійdata-engineering-skills
Назва навичкиflink-agents
Зірки
47
Форки
4
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: gordonmurray. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Flink Agents у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Flink Agents в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Flink Agents, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Flink Agents не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Flink Agents у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Flink Agents — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Flink Agents у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/gordonmurray/data-engineering-skills/tree/main/flink-agents. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Flink Agents?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Flink Agents?

Зі скількома забажаєте. У TypingMind ви можете використовувати Flink Agents із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Flink Agents?

Так. На GitHub цю навичку публікує gordonmurray за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇