Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Confluent CLI

$ confluent Official High Risk
Confluent · Workspace & SaaS · Confluent Community License · macos / linux / windows

Confluent CLI (confluent) manages Confluent Cloud environments, Kafka clusters, topics, connectors, Schema Registry, and Flink SQL workspaces. Global --output json formatting and explicit environment/cluster context flags make it well suited for agent-driven observability and provisioning.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install confluentinc/tap/cli
CLI vs MCP Decision CLI Preferred vs MCP

Confluent CLI provides comprehensive control over Kafka clusters, topics, Schema Registry, and Flink compute pools with native -o json output.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Consistent --output json / -o json across commands, plus --environment and --cluster flags for deterministic scripting.

  • -o json and -o yaml supported broadly across resource commands
  • Service account and CONFLUENT_CLOUD_API_KEY env support
Trust & Safety 20 / 25

Supports Confluent RBAC service accounts and explicit context flags, though cluster/topic deletion is destructive and incurs billing.

  • Service-account RBAC isolation
  • Context can be pinned per command via --environment and --cluster
Setup & Portability 13 / 15

Cross-platform native binary via Homebrew tap (confluentinc/tap/cli), tarballs, and FIPS variants.

  • Official Homebrew tap and standalone archives
Utility & Efficiency 14 / 15

Unifies Kafka topics, Connect, Schema Registry, Flink, and RBAC into a single CLI.

  • Broad coverage across Confluent Cloud services
Maintenance & Lineage 9 / 10

Official Confluent repository (confluentinc/cli) regularly updated by Confluent.

  • Official Confluent GitHub organization
Docs & Verifiability 8 / 10

Extensive official command reference docs and --help output.

  • Official docs at docs.confluent.io/confluent-cli

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Service Account Config File
Credential Storage

Stores session tokens and active context under ~/.confluent/, or reads CONFLUENT_CLOUD_API_KEY / CONFLUENT_CLOUD_API_SECRET and service account credentials.

Side Effects
Read-Only Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (Confluent Community License); Confluent Cloud clusters and connectors are billed by usage.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Confluent CLI Agent Rules
- Always pass `--environment` and `--cluster` explicitly rather than relying on mutable ambient context.
- NEVER delete Kafka clusters, environments, or production topics (`delete`) autonomously.
- Use `-o json` on all read commands and restrict service accounts via Confluent RBAC.

Agent-Ready Command Recipes

Safe Read-Only Queries

List Confluent Cloud environments as JSON
confluent environment list -o json

Lists accessible Confluent Cloud environments and IDs in JSON.

List Kafka clusters in an environment
confluent kafka cluster list --environment <ENV_ID> -o json

Inspects Kafka cluster IDs, cloud providers, and regions in structured JSON.

Controlled Writes & Previews

Create a Kafka topic in a staging cluster
confluent kafka topic create staging-events --partitions 3 --cluster <CLUSTER_ID> --environment <ENV_ID>

Provisions a 3-partition topic explicitly scoped to a staging cluster and environment.

Strengths for Agents

  • + Consistent -o json / -o yaml formatting across dozens of Confluent Cloud resources.
  • + Explicit --environment and --cluster flags prevent context drift in automated pipelines.
  • + Supports service-account RBAC and CONFLUENT_CLOUD_API_KEY headless auth.

Caveats & Pitfalls

  • ! Licensed under the Confluent Community License rather than an OSI-permissive license.
  • ! Some commands require interactive --save or --no-browser awareness when setting up initial login.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI