Skip to content

feat(agents): add SkillSandboxAgent - #1202

Merged
Rhosmarie merged 1 commit into
volcengine:mainfrom
Rhosmarie:codex/skill-sandbox-agent
Nov 3, 2026
Merged

Rhosmarie merged 1 commit into
volcengine:mainfrom
Rhosmarie:codex/skill-sandbox-agent

Conversation

@Rhosmarie

Copy link
Copy Markdown
Collaborator

背景

当前 samples 中 Skills Sandbox A2A streaming bridge 已完成验证,但桥接逻辑属于通用 SDK 能力,不应长期沉淀在 samples。为了让业务侧只关注配置和启动逻辑,本 PR 在 veadk-python 中新增 SkillSandboxAgent,统一承载 Skills Sandbox 的 A2A streaming、fallback 和事件转换能力。

变更

  • 新增 veadk.SkillSandboxAgent
    • 固定 tool_type="Skill"
    • 默认读取 AGENTKIT_TOOL_ID_SKILLS
    • 支持 guardrails 注入
    • 支持 timeout 配置
  • 复用 AgentkitRemoteSandboxAgent 的远端 sandbox 会话、A2A streaming、send/poll fallback、上下文复用和取消逻辑
  • 补充 SkillSandboxAgent 单测
  • 从 veadk.__init__ 导出公开 API

验证

  • uv run python -m pytest tests/agents/test_skill_sandbox_agent.py tests/agents/test_remote_sandbox_agent.py::test_skill_against_native_adk_a2a_server -q
  • 本地 Docker 镜像联调 samples + 本地 veadk-python
  • 使用真实 Skills Sandbox ToolId 验证 /run_sse streaming E2E 通过,无 error event

@Rhosmarie
Rhosmarie merged commit f511e04 into volcengine:main Nov 3, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants