Flink Agents is an Agentic AI framework based on Apache Flink

Clone this repo:

Branches

  1. 25ea18f [integration][python] Anthropic Chat Model APIs Integration (#139) by Alan Z. · 14 hours ago main
  2. 42aea1c [api][runtime] Introduce configuration mechanism (#122) by Eugene · 2 days ago
  3. 59cb755 [hotfix] Fix tongyi chat model test failure. (#142) by Eugene · 2 days ago
  4. ea7cc41 [build] Improve the building process to favor uv and pyproject (#140) by Xuannan · 2 days ago
  5. e623658 [hotfix] Fix ollama chat model test failure. (#141) by Wenjin Xie · 2 days ago

Apache Flink Agents

Apache Flink Agents is an Agentic AI framework based on Apache Flink.

Building

Prerequisites for building Flink Agents:

  • Unix-like environment (we use Linux, Mac OS X, Cygwin, WSL)
  • Git
  • Maven
  • Java 11
  • Python 3 (3.9, 3.10, 3.11 or 3.12)

To clone from git, enter:

git clone https://github.com/apache/flink-agents.git

Java Build

To build Flink Agents Java part, run:

cd flink-agents
mvn clean install -DskipTests

Python Build

Using uv (Recommended) — Build and Install

cd python

# Install uv (fast Python package manager)
pip install uv

# Create env and install build dependencies
uv sync --extra build

# Build sdist and wheel into python/dist/
uv run python -m build

# Install the built wheel into the environment
uv pip install dist/*.whl

Using pip (Alternative) — Build and Install

cd python

# Install project (editable) with 'build' extra/tools
pip install -e .[build]

# Build sdist and wheel into python/dist/
python -m build

# Install the built wheel into the environment
python -m pip install dist/*.whl

How to Contribute

Contribution Guidelines.

Community

Slack

See the Apache Flink website for how to join the slack workspace. We use #flink-agents-dev for developement related discussions.

Community Sync

There is a weekly online sync. Everyone is welcome to join. Please find the schedule, agenda for the next sync, and records of previous syncs in this github discussion page.