Skip to main content
VeADK can deploy a local agent as an AgentKit Runtime. Shared AgentKit application infrastructure provides conversation endpoints, health checks, agent topology, the built-in Web UI, short-term session defaults, and an optional Feishu lifecycle.

Prerequisites

  • Install veadk-python==1.0.8.
  • Sign in or configure Volcengine access credentials.
  • Export an importable root_agent from the project.
  • Do not commit .env, API keys, or access credentials to source control.

Create the application

Studio-generated projects call create_agentkit_app. Manually created projects can use the same entry point:
app.py
The application exposes AgentKit conversation APIs and these public endpoints:

Session-scoped capability overlays

Starting with VeADK 1.0.9, applications built with create_agentkit_app mount session-scoped capability-overlay endpoints under the /harness prefix. A caller can temporarily mount a built-in tool or a remote skill for a session, then run the agent with the overlay applied through /harness/run_sse. Overlays apply only to the specified session: they do not modify the root agent definition and are not written to other sessions. Capabilities fall into two categories:
  • Built-in tools: from the VeADK built-in tool catalog, referenced by tool name.
  • Remote skills: from the public Skill Hub or an AgentKit Skill Space, referenced by skill name and skill-source identifier.
Tools and skills already mounted on the root agent are returned as base capabilities (custom is false) and cannot be removed; capabilities mounted through the overlay API are session capabilities (custom is true) and can be removed individually.

When to use

  • When you need to enable an additional tool or skill for a single session without redeploying the Runtime.
  • When you need to isolate different capability sets by session so they do not affect each other.

Dependencies

  • The agent must expose a tools attribute; mounting fails when the overlay is non-empty but the root agent has no tools.
  • Listing and mounting remote skills requires Volcengine credentials. Provide them locally with VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY; on VeFaaS, use the bound IAM Role.

Endpoints

Examples

Mount a built-in tool for a session:
Example response:
Mount a remote skill from an AgentKit Skill Space:
Run the agent with the overlay applied:
/harness/run_sse returns the same event format as the standard /run_sse endpoint; each event is sent as a data: -prefixed JSON line.

Parameters

POST /capabilities request body: GET /harness/skills/spaces and GET /harness/skills/spaces/{space_id}/skills accept a region query parameter: spaces defaults to all (combining Beijing and Shanghai), and the skill list defaults to cn-beijing. GET /harness/skills/findskill accepts these query parameters:

Limitations

  • Base capabilities cannot be removed; a capability_id starting with base: returns 409.
  • A tool or skill with a duplicate name cannot be mounted; a name that collides with a root-agent capability returns 409.
  • An expected_revision that does not match the current revision returns 409; the caller should re-query and retry.
  • Session capabilities take effect only for runs of the session they were mounted to; they are not persisted to the root agent after the run.
  • The public Skill Hub search URL defaults to https://skills.volces.com/v1/skills and can be overridden with the FINDSKILL_SEARCH_URL environment variable.

Initialize and deploy

Run these commands in the project directory:
After deployment, inspect the Runtime and invoke it:
veadk agentkit uses the same project configuration and workflows as AgentKit CLI. See the AgentKit CLI documentation for complete commands, flags, and destructive-operation guidance.
Destroying a Runtime removes its cloud execution resources. Before running veadk agentkit destroy, verify the project, region, and Runtime identifier and retain any logs or data you need.
Last modified on September 19, 2026