Skip to content
Keboola Docs

kbagent commands

Reference for the kbagent command groups — project, config, job, storage, flow, sync, search, branch, workspace, agent, and more — with what each does and how to get the full list.

kbagent groups its commands by area. Run kbagent --help for the live list, kbagent <group> --help for a group’s subcommands, and kbagent context for the full machine-readable reference (built for AI agents — see For AI agents).

Every command accepts global flags: --json / -j (machine-readable output), --verbose / -v, --no-color, and the safety firewalls --deny-writes / --deny-destructive (see Workflows → Permissions).

CommandWhat it does
initInitialize a local .kbagent/ workspace in the current directory.
doctorHealth checks on configuration and project connectivity.
version / update / changelogShow version, update kbagent + the MCP server, view recent changes.
contextPrint usage instructions and the full command reference for AI agents.
replInteractive REPL.
serveLaunch the kbagent HTTP API server (and optional Web UI).
permissionsManage the operation firewall (persisted policy).
CommandWhat it does
searchFind tables, buckets, configs, and flows by name or content — across projects.
componentDiscover and inspect Keboola components.
configBrowse and inspect configurations (list, detail, search, update, row CRUD, variables).
data-appData app lifecycle (create, deploy, manage).
jobBrowse job history and run jobs (list, detail, run, terminate).
storageBuckets, tables, and files — browse and manage.
streamData Streams (OTLP) source management.
sharingCross-project bucket sharing and linking.
lineageColumn-level data lineage across projects.
kai(Beta) Ask Kai questions about your project from the terminal.
CommandWhat it does
projectManage connected projects — add, list, remove, edit, status, use, info, invite, member-list, member-set-role, and more.
orgOrganization management (bulk onboarding with org setup).
featureFeature-flag management (requires a super-admin Manage API token).
tokenStorage API token management — scoped mint / revoke / rotate.
CommandWhat it does
flowManage conditional flows (keboola.flow).
scheduleDiscover and audit cron schedules across projects.
CommandWhat it does
branchManage development branches.
workspaceWorkspace lifecycle for SQL debugging.
toolCall Keboola MCP tools directly.
syncSync project configurations with the local filesystem (GitOps).
encryptEncrypt secret values via the Keboola Encryption API (one-way).
semantic-layerManage semantic-layer models — datasets, metrics, relationships, glossary.
agentScheduled agent tasks (cron / manual / chained).
dev-portalKeboola Developer Portal — multi-identity, production-safe writes.
Terminal window
# Run a job and wait for it
kbagent job run --project prod \
--component-id keboola.ex-db-snowflake --config-id 456 --wait
# Create a workspace from a transformation to debug its SQL
kbagent workspace from-transformation --project prod \
--component-id keboola.snowflake-transformation --config-id 789

search finds configs, tables, buckets, and flows across every connected project. It uses Keboola’s Global Search by default; where that feature isn’t enabled, add --search-type config-based to scan configurations directly:

Terminal window
$ kbagent search "shopify" --search-type config-based
Search results for "shopify" (config-based) — 19 result(s) across 1 project(s)
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Project ┃ Type ┃ ID ┃ Name ┃ Component ID ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ docs-demo │ configuration │ 01kmdr1ea699sd24yxx2h │ Shopify Product & │ kds-team.wr-shopify│
│ docs-demo │ configuration │ 01kkce6n00mn5dmxdzw8c │ Shopify Store Monitor│ keboola.data-apps │
│ docs-demo │ configuration │ 01kktvz3epf2hfcw1zr5p │ Top Selling Products │ keboola.data-apps │
└───────────┴───────────────┴───────────────────────┴──────────────────────┴────────────────────┘

Add --json to any command for structured output an agent can parse:

Terminal window
$ kbagent --json project list
{ "status": "ok", "data": [ { "alias": "docs-demo", "project_name": "L0 - Shopify",
"project_id": 264, "stack_url": "https://connection.europe-west3.gcp.keboola.com",
"is_default": true, "active_branch_id": null, "org_id": 56 } ] }

The exhaustive, always-current reference lives in the CLI itself:

Terminal window
kbagent <group> --help # subcommands + flags for a group
kbagent context # full reference (machine-readable, for agents)
Ask Kai

Ask anything about Keboola — I'll search the docs and cite the pages I use.