feat: add Data Engineering Agent A2A client example#14283
Conversation
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
There was a problem hiding this comment.
Code Review
This pull request introduces a Python-based Agent-to-Agent (A2A) client example for the Google Cloud Data Engineering Agent (DEA), complete with documentation, unit tests, and dependency specifications. While the implementation is solid, several key issues should be addressed: a trailing internal path in the test file causes a syntax error, invalid instruction paths are silently ignored rather than raising an error, a timeout mismatch between the HTTP client and the call context could lead to premature failures, and a potential bug in token extraction could inadvertently break session persistence by overwriting the conversation token with null.
c5fab08 to
a96dd03
Compare
xtan999
left a comment
There was a problem hiding this comment.
Updated based on review comments
a96dd03 to
d4f8f3c
Compare
Adds a sample Python client implementation using the Agent-to-Agent (A2A) protocol to interact with the Google Cloud Data Engineering Agent. Key features: - A2A SDK integration for discovery and client creation. - ADC authentication support. - Multi-turn conversation state persistence via local tokens. - Handling of DEADLINE_EXCEEDED with automated resumption. - Support for custom agent instructions. Fixes: GoogleCloudPlatform#14252
d4f8f3c to
27fea27
Compare
Description
Adds a sample Python client implementation using the Agent-to-Agent (A2A) protocol to interact with the Google Cloud Data Engineering Agent.
Key features:
Fixes: #14252
Checklist
Testing
Compliance & Style
Post-Approval Actions