Skip to main content
This page is the command reference for @cognite/cli@latest, the Cognite CLI for Flows custom apps in Cognite Data Fusion (CDF). All commands are available with npx @cognite/cli@latest <command>, or with cognite <command> when the CLI is installed globally. This page documents the apps, agents, and keys command groups. For a walkthrough from scaffold to activation, see Quickstart: Deploy Flows custom apps with the Cognite CLI. For a walkthrough from scaffold to activation for Atlas AI agents, see Building Atlas AI agents with the Cognite CLI.

apps

Manage the full lifecycle of Flows custom apps.

apps create

Scaffold a new Flows custom app.
The following examples show typical apps create invocations.

apps deploy

Build and deploy your app to CDF.
For non-interactive deploy, set deployClientId and deploySecretName per deployment in app.json. deploySecretName is the name of the environment variable that holds the client secret. Set that variable before you deploy:
The following examples show typical apps deploy invocations.

apps status

Show the deployment status and signatures of the current app version.
The following examples show typical apps status invocations.

apps metadata

Manage the deployed app’s metadata (display name and description).

apps metadata update

Push displayName and description from app.json to the already-deployed app record in CDF.
The following examples show typical apps metadata update invocations.

apps publish

Transition the current app version from DRAFT to PUBLISHED. For the version state model, see About the Flows custom app lifecycle.
The following examples show typical apps publish invocations.

apps activate

Activate the current app version. The command publishes the version if needed, then sets the ACTIVE alias so users see this version.
The following examples show typical apps activate invocations.

apps deactivate

Deactivate the app by removing the ACTIVE alias so users no longer see this version.
The following examples show typical apps deactivate invocations.

apps delete

Delete the current app version from CDF.
Use apps deactivate first if the version is ACTIVE since apps delete is destructive.
The following examples show typical apps delete invocations.

apps setup-https

Generate trusted local HTTPS certificates using mkcert. Required for local development when your app expects an HTTPS origin. For install and browser-trust steps, see Trusting the local HTTPS certificate for Flows custom apps.
The following examples show typical apps setup-https invocations.

apps submit

Package the app source and open a pre-filled Zendesk form for app certification submission. For the full certification workflow, see Certifying a Flows custom app for production.
This command does the following:
  1. Packages the app source into a zip archive.
  2. Opens your browser to the Cognite certification Zendesk form.
  3. Opens your file manager to the generated package so you can attach it.
The following example shows a typical apps submit invocation.

apps sign

Sign an app bundle for Cognite certification. The default bundle path is .cognite-bundles/<app>-<version>.zip. For the signing workflow, see Signing Flows custom apps from the CLI.

apps skills

Manage AI agent skills for your app. Compatible agents include Claude Code and Cursor. See About builder skills.

apps skills pull

Pull skills into your project.

apps skills list

List the skills installed in your project.
The following examples show typical apps skills invocations.

agents

Manage Atlas AI agents from a local project (<name>.agent.yaml + eval/eval.yaml). Requires @cognite/cli 1.10.0 or later.
Most agents subcommands accept shared auth options: Prefer a persisted session when available: npx @cognite/cli@latest auth login. See also: Agent definition (<name>.agent.yaml), Agent evaluation cases, Building Atlas AI agents with the Cognite CLI.

agents create

Scaffold a new agent project.

agents push

Push a draft agent from the local <name>.agent.yaml to CDF.

agents pull

Pull a deployed agent by externalId into <folderName>.agent.yaml in the target directory (default: current directory). The filename follows the folder, not the externalId.

agents open

Open the agent in the Atlas AI Agent builder. Optional --upsert pushes first.

agents publish

Publish the agent (adds production visibility, for example the published label) and push.

agents unpublish

Remove production visibility and push.

agents list

List agents in the project.

agents status

Show local vs remote agent status.

agents eval

Run eval/eval.yaml against a deployed agent and score responses.
Schema and scorers: Agent evaluation cases.

keys

Manage Ed25519 code signing keys used to sign app bundles.

keys generate

Generate a new Ed25519 keypair for code signing. On macOS, the private key is stored in the system Keychain by default.
The following example shows a typical keys generate invocation.

keys list

List all local signing identities and their storage location (Keychain or file).

Further reading

Last modified on September 3, 2026