Skip to main content

Overview

VeADK provides a set of tools that run tasks remotely in an AgentKit sandbox: Import paths:
  • from veadk.tools.builtin_tools.run_code import run_code
  • from veadk.tools.builtin_tools.execute_skills import execute_skills
  • from veadk.tools.builtin_tools.coding import coding
  • from veadk.tools.builtin_tools.run_sandbox_agent import run_sandbox_agent

Environment & prerequisites

Requirements:
  1. Configure Volcengine AK / SK.
  2. Configure the API key for the agent’s reasoning model.
  3. Configure the AgentKit Tool ID (see below).
Environment variables:
  • MODEL_AGENT_API_KEY: API key for the agent’s reasoning model
  • VOLCENGINE_ACCESS_KEY / VOLCENGINE_SECRET_KEY: Volcengine AK / SK
  • AGENTKIT_TOOL_ID: default AgentKit sandbox ID, used as the fallback for all sandbox tools
  • AGENTKIT_TOOL_ID_SCRIPT: sandbox ID dedicated to run_code; falls back to AGENTKIT_TOOL_ID
  • AGENTKIT_TOOL_ID_SKILLS: sandbox ID dedicated to execute_skills; falls back to AGENTKIT_TOOL_ID
  • AGENTKIT_TOOL_ID_OPENCODE: sandbox ID dedicated to coding; falls back to AGENTKIT_TOOL_ID
  • AGENTKIT_TOOL_HOST: endpoint for calling AgentKit Tools
  • AGENTKIT_TOOL_SERVICE_CODE: service code for calling AgentKit Tools
config.yaml keys:
config.yaml
Creating a sandbox:
1

Create a sandbox tool

Create a sandbox tool in the console: give it a name (e.g. AIO_Sandbox_xxxx) and choose the “all-in-one tool set” type, which includes Browser, Terminal, and Code runtimes.
2

Obtain the sandbox ID

After creation, obtain the sandbox ID from the console (looks like t-ye8dj82xxxxx) and fill it into the environment variables or config.yaml above.

Usage

examples/tools/run_code/agent.py
Last modified on September 19, 2026