Prerequisites
- A Volcengine or BytePlus account with access to AgentKit and permission to create runtimes and related build resources in the target region
- An available model name, model API address, and API key for that platform
- Access to the cloud console or your organization’s SSO address when using browser login
Install and check the version
The installer downloads a standalone binary without requiring Node.js. Choose a download tool available on your computer:- curl
- wget
agentkit and its alias ak available. Follow its instructions to reload the configuration or open a new terminal, then check the version and help:
Configure cloud credentials
Choose a method for your target cloud platform. Replace the placeholders and run environment variable commands in the same terminal you will use for deployment:- Volcengine access keys
- BytePlus access keys
- Console login
- Organization SSO
Create and configure a project
1
Create the project directory
Run these commands in the parent directory where you want to store the project. The current directory should contain
--directory sets the output location; the project name alone does not create a subdirectory:my-agent.py, requirements.txt, agentkit.yaml, and .dockerignore. Run the remaining configuration, deployment, and invocation commands from this directory2
Select the cloud platform and model
Choose the platform matching your credentials. Replace the model name and API key with values available to your account:
- Volcengine
- BytePlus
agentkit config updates agentkit.yaml in the project root. This tutorial uses cloud build and deployment. See the config command for more settings3
Pass model settings to the runtime
Deploy and invoke
Build and deploy from the project directory:status shows the state of the current project’s runtime. Receiving an agent response confirms that the deployed application can handle a call. If the build or deployment fails, resolve the reported issue before invoking it. Creating local project files does not mean that cloud deployment succeeded
Installation options
The install script writes managed
agentkit and ak dispatch entries into the zsh, bash, or fish startup configuration so the standalone CLI takes priority over Python commands with the same name from pip, pipx, venv, or Conda after the shell reloads. If the current environment already has a Python agentkit command, the installer preserves it and writes a restorable shim; the uninstall script restores that entry when it is still managed by the installer. Set AGENTKIT_NO_MODIFY_PATH=1 to skip automatic shell configuration changes and print the block to add manually.agentkit upgrade to update an existing installation. This documentation covers the 0.54.0 release