Global flags
These flags are available for all commands:| Flag | Alias | Description |
|---|---|---|
--verbose | -v | Enable verbose logging |
--help | -h | Show help information |
Commands
adk init
Initialize a new ADK agent project.
Usage:
| Argument | Description |
|---|---|
project-name | Name of the project directory to create |
| Flag | Description | Default |
|---|---|---|
--template | Template to use: blank or hello-world | blank |
--package-manager | Package manager: npm, pnpm, yarn, or bun | bun |
adk dev
Start the development server with hot reloading.
Usage:
| Flag | Description | Default |
|---|---|---|
--port | Port for the development server | 3000 |
--source-map | Generate source maps for debugging | true |
dev command:
- Generates TypeScript types for your integrations
- Builds your agent
- Starts a local development server
- Watches for file changes and automatically rebuilds
adk build
Build your agent for production.
Usage:
| Flag | Description | Default |
|---|---|---|
--source-map | Generate source maps | true |
.botpress/dist directory. The build includes:
- Compiled TypeScript code
- Bundled dependencies
- Generated type definitions
- Source maps (if enabled)
adk deploy
Deploy your agent to Botpress Cloud.
Usage:
| Flag | Description | Default |
|---|---|---|
--bot-id | Bot ID to deploy to (creates new bot if not provided) | |
--no-build | Skip the build step | false |
--bot-id is provided, a new bot will be created. The command will:
- Build your agent (unless
--no-buildis specified) - Upload the built agent to Botpress Cloud
- Make your agent available for use
adk add
Add an integration to your agent project.
Usage:
| Argument | Description |
|---|---|
integration | Integration name with optional version (e.g., webchat@latest or slack@1.2.0) |
dependencies.json file and generates TypeScript types for it. The integration is automatically enabled by default.
Examples:
adk add webchat- Add latest webchat integrationadk add slack@0.5.0- Add specific version of Slack integrationadk add my-workspace/custom@latest- Add integration from a specific workspace
adk chat
Chat with your deployed bot directly from the CLI.
Usage:
| Argument | Description |
|---|---|
bot-id | Bot ID to chat with |
Project scripts
The ADK also provides npm scripts that you can use in yourpackage.json: