gcx is Grafana's CLI for you and your AI coding agent, giving structured access to dashboards, alerts, SLOs, metrics, logs, traces and Grafana Cloud products from the terminal.
It works with any agentic coding tool and ships Agent Skills so coding agents can query production and act on real telemetry.
- 01
Structured JSON/YAML output designed for agents and scripts
- 02
Works with any agentic coding tool, with an integrate-with-gcx skill for setup
- 03
Bundled Agent Skills for alert investigation, dashboard GitOps, SLO management and observability rollout
- 04
GitOps pull and push of Grafana resources with round-trip fidelity
- 05
Commands for Synthetic Monitoring, k6, IRM, Fleet Management and Grafana Assistant on Grafana Cloud
Free
gcx is free and open source under the Apache 2.0 license; it works with Grafana OSS/Enterprise 12+ and Grafana Cloud, with some product commands and Grafana Assistant features requiring a Grafana Cloud stack.
Best for
Developers and SREs who want their coding agents to read production telemetry and manage Grafana resources as code from the terminal.
Not ideal for
Teams on Grafana versions older than 12 or without a Grafana deployment, since gcx does not support them.
An official, agent-first Grafana CLI that gives coding agents real production context with minimal setup.
gcx v1.4.0 shipped on October 2, 2026 with metric and label search commands and TraceQL-filtered trace retrieval, following general availability in July 2026.
As of
Is gcx free?+
Yes - gcx is Free. gcx is free and open source under the Apache 2.0 license; it works with Grafana OSS/Enterprise 12+ and Grafana Cloud, with some product commands and Grafana Assistant features requiring a Grafana Cloud stack.
Is gcx open source?+
Yes - gcx is open source. gcx is free and open source under the Apache 2.0 license; it works with Grafana OSS/Enterprise 12+ and Grafana Cloud, with some product commands and Grafana Assistant features requiring a Grafana Cloud stack.
Who is gcx best for?+
Developers and SREs who want their coding agents to read production telemetry and manage Grafana resources as code from the terminal.
Who is gcx not ideal for?+
Teams on Grafana versions older than 12 or without a Grafana deployment, since gcx does not support them.
What are the best gcx alternatives?+
The closest gcx alternatives on ai.dosa.dev are Pieces for Developers, agenttrace, Vibe Kanban - all listed under Developer Productivity & Workflow.
Who makes gcx?+
gcx is developed by Grafana Labs. It is listed in the Developer Productivity & Workflow category on ai.dosa.dev.
Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.