feat(agents): add unified AgentKit remote sandbox agent - #1066
Draft
zakahan wants to merge 3 commits into
Draft
Conversation
zakahan
marked this pull request as draft
September 7, 2026 02:03
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
Add
AgentkitRemoteSandboxAgentso a coordinator can transfer tasks to an AgentKit sandbox throughsub_agents. The remote agent yields native ADK events, exposing its tool calls, tool results and incremental output directly to the Runner and Web UI without requiring another coordinator model call to summarize the result.tool_typetakes precedence. Otherwise, lazy GetTool discovery accepts onlySkillorCodeEnv; other types fail with an actionable error. Import and construction do not create remote sessions.Agentso transfer cleanup keeps tracing context correctly scoped.Validation
Validated at commit
203d9ec8with Google ADK 2.2.0:/run_sseroute before remote completion.Live cloud Tools, production models and browser DOM rendering were not part of this validation. CodeEnv requires a compatible Sidecar image; a remote Skill service must emit tool metadata for it to be displayed. Input currently supports text tasks, and physical session rotation does not migrate files or remote context. See
veadk/agents/REMOTE_SANDBOX.mdfor usage and lifecycle boundaries.