Add AI agent example (LangGraph + Vertex AI Gemini) - #393
Open
thibauult wants to merge 5 commits into
Open
Conversation
…ony bot Mirrors the Java BDK's bdk-ai-agent-example: any message addressed to the bot is forwarded to a LangGraph ReAct agent backed by Gemini, with BDK-backed tools for user lookup, room member listing, and sending messages.
Harden workflows against supply-chain tag mutation by pinning actions to SHAs, bump cryptography to >=48.0.1 for a CVE fix, allow BSD-3-Clause license, and add a documented safety-policy exception for CVE 96886 (fix requires urllib3 2.7.0 which drops Python 3.9 support).
Semgrep flagged mutable actions/upload-artifact@v4 tag; safety flagged aiohttp 3.13.5 CVEs because cve-scanning-python.yml was missing the -i ignore flags already present in security.yml for py3.9-only findings.
symphony-enrico
approved these changes
Aug 18, 2026
…ample # Conflicts: # poetry.lock # pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/ai_agent/wiring a LangGraph ReAct agent (Vertex AI Gemini) into a Symphony bot, mirroring the Java BDK'sbdk-ai-agent-exampleTest plan
GCP_PROJECT_ID/GCP_LOCATION=global/GEMINI_MODEL_NAME=gemini-2.5-flash-lite@BotMentionmessages, confirmed datafeed dispatch and tool invocation (user lookup, room members)list_current_room_members(MembershipListwraps members in.value, not directly iterable)