commit | eaee98bbb8536be8a4674eaffce2694e23094724 | [log] [tgz] |
---|---|---|
author | Letao Jiang <letaoj@users.noreply.github.com> | Tue Sep 30 18:27:37 2025 -0700 |
committer | GitHub <noreply@github.com> | Wed Oct 01 09:27:37 2025 +0800 |
tree | 3287a3ff84c294a5bb1a4410b88c8a55a3c6dd6d | |
parent | ed9cad17b24ab7f5e1ca96811a0005286ad926e5 [diff] |
[example][java] Add multiple agent integration example (#239)
Apache Flink Agents is an Agentic AI framework based on Apache Flink.
Prerequisites for building Flink Agents:
To clone from git, enter:
git clone https://github.com/apache/flink-agents.git
To build Flink Agents Java part, run:
cd flink-agents mvn clean install -DskipTests
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
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
This will also package flink-agents jars in wheel, which is necessary when run agent as pyflink job.
# Build java and python bash -x tools/build.sh # Skip building java (must be built already) bash -x tools/build.sh -p
See the Apache Flink website for how to join the slack workspace. We use #flink-agents-dev for developement related discussions.
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.