feat(python-adk): honor isolateSessions for remote agent tools - #2504
Merged
EItanya merged 1 commit intoAug 20, 2026
Merged
Conversation
Signed-off-by: Whxuan0701 <102815982+Whxuan0701@users.noreply.github.com>
supreme-gg-gg
approved these changes
Aug 20, 2026
supreme-gg-gg
left a comment
Contributor
There was a problem hiding this comment.
lgtm, thanks! Can you also backport this to release/0.10.x branch
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
isolate_sessionsconfiguration in the Python remote A2A tool runtimeThis is a Python runtime follow-up to the accepted Go implementation in #2153. It does not change the CRD, UI, lineage headers, concurrency limits, or HITL resume routing.
Testing
cd python && uv run pytest -q packages/kagent-adk/tests/unittests/test_remote_a2a_tool.py packages/kagent-adk/tests/unittests/test_proxy_integration.py(40 passed)cd python && uv run ruff check packages/kagent-adk/src/kagent/adk/_remote_a2a_tool.py packages/kagent-adk/src/kagent/adk/types.py packages/kagent-adk/tests/unittests/test_remote_a2a_tool.py packages/kagent-adk/tests/unittests/test_proxy_integration.pygit diff --checkRisk / Notes
isolate_sessions=falseremains the default and reuses one context ID for stateful sub-agents.Follow-up to #2153.