Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/ai-tools/gcx.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/ai-tools/gcx/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
gcx CLI
Overview
gcx is the Grafana CLI that allows you and your AI coding agent to work with Grafana Cloud, Grafana Enterprise, and Grafana OSS.
gcx is designed to be used in common scenarios such as authentication against Grafana, query telemetry, inspect and manage resources, and automate observability workflows as code.
It’s also integrated with Grafana Assistant, combining the previously fragmented user experience into one single tool.
Get started
Note
Refer to the
gcxrepository in GitHub for the complete set ofgcxdocuments, including architecture information, user guides, and other reference material.
gcx CLI.gcx with the quick installer, Homebrew, or a prebuilt binary.gcx with the configuration file or using environment variables.gcx configuration to the version 1 format.gcx reports to Grafana Labs, and what they’re used for.gcx stores credentials.Was this page helpful?
Related resources from Grafana Labs


