跳转到主要内容
The high-code path suits cases that need custom logic, tools, or multi-agent orchestration: you scaffold a project from a template, write the agent code directly, and let the CLI build the image in the cloud and deploy it as a runtime. The loop starts at scaffolding and runs through editing, deploying, invoking, and reading logs, then returns to editing to iterate.
Configure AK/SK credentials first, or obtain short-lived STS credentials through SSO login. launch, deploy, and invoke use the same credential precedence to resolve valid credentials. See the Authentication section of the Quickstart. For the full guide to writing agent code, see the VeADK 1.0.9 docs.
1

Scaffold a project

Create a project from a built-in template. Run agentkit init --list-templates to list every template first.
2

Edit the agent

Modify the scaffolded code to adjust the agent’s instruction, tools, and orchestration logic.
The runtime container must listen on 0.0.0.0:8000 to pass its readiness probe. Templates satisfy this by default, so you rarely need to change it.
3

Build and deploy

Run the full lifecycle flow, building the image in the cloud and creating or updating the runtime.
To inspect or hand-edit agentkit.yaml or the Dockerfile between scaffolding and building, run agentkit config --show, then split the flow into agentkit build and agentkit deploy. See Config, Build, and Deploy.
4

Invoke the runtime

Call the runtime by name to verify the deployment.
5

Inspect and iterate

Read the logs when the runtime misbehaves; edit the code and redeploy to publish a new version.
To roll back or adjust resources, use the version and update commands: list history with agentkit runtime versions my-agent, publish a specific version with agentkit runtime release my-agent --rev <n>, and change CPU and memory with agentkit runtime update my-agent --cpu-milli 1000 --memory-mb 2048 --auto-release.
When you no longer need the runtime, delete it to free resources:
When you only need configuration and no code, use Using Harness instead.
最后修改于 2026年9月19日