Query resources, deploy solutions, chat with agents, and run autonomous tasks from your terminal. ChatBotKit CLI is a full developer toolkit for AI agent workflows.

ChatBotKit's CLI is more than a resource manager. It is a full developer toolkit that lets you query platform resources, deploy infrastructure-as-code solutions, chat interactively with agents, and run autonomous agent tasks locally with file and shell access.

Key Features

  • Query any platform resource: List, fetch, delete, and manage bots, datasets, skillsets, files, secrets, integrations, and more using cbk api <resource> <action>.
  • Deploy like Terraform: Define solutions as code and sync them to the platform with cbk solution sync.
  • Chat with agents: Start interactive multi-turn conversations from your terminal with cbk chat.
  • Run autonomous agents: Execute goal-driven agents locally with file read/write, shell access, and skill loading via cbk agent.
  • Run scripts with zero setup: Execute JavaScript files with all ChatBotKit packages pre-installed using cbk run.
  • Pipe and automate: All commands support JSON/YAML/JSONL output for integration with jq, grep, CI/CD pipelines, and shell scripts.

Getting Started

Install the CLI globally or run it directly with npx:

Query resources

Deploy solutions

Chat with an agent

Run an autonomous agent

For CI/CD environments, set the CHATBOTKIT_API_TOKEN environment variable. The CLI also loads .env.local, .env, and ~/.cbk/env automatically.