Glean Enterprise CLI

Parent: Glean Developer Integration · Published reference · snapshot 2026-09-17 · skill glean-dev

Also known as: glean cli, glean-cli, gleanwork/glean-cli

↓ Facts as markdownall context files

The glean CLI (gleanwork/glean-cli) is the vendor-published, agent-friendly command-line client for Glean enterprise search, chat, agents, and knowledge management, wrapping the Client API in three tiers (raw glean api, typed namespace commands, and ergonomic search/chat). Hands-on verification against a live authenticated tenant (v0.17.1) confirmed the documented capability map but surfaced several undocumented gotchas: --dry-run only previews a request's body (not full request detail, unlike --preview), chat --save defaults to true, the CLI is single-tenant with no profile support, search has no recency-sort flag, and the credential-resolution fallback (env to keyring to config file) does not fully account for one observed case where auth succeeded despite all three sources appearing empty. Sourced from 2 files (1 developer reference, 1 hands-on research dossier) in the integration-clients hub.

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Definitions

Structure and components

How it works

Examples and snippets

Problems, failure modes and limitations

Comparisons and alternatives

Facts and statements

Disagreements

Related concepts

Children

← the whole tree · 3D view· how to read this page