Getting Started with gcx: A CLI for AI Agents and Grafana Telemetry | Demo

May 26, 2026

AI agents are only as useful as the context they can access.

With gcx, your coding agents can connect to Grafana and query real-time production telemetry from your Cloud, Enterprise, or OSS environment.

The best part: it avoids the upfront context bloat that can come with loading tools before you even send a prompt.

gcx uses a CLI approach, so there’s zero token cost until your agent actually needs to run a query.

For teams using agents to investigate production issues, that means more useful context, less noise, and a clearer path from “something’s broken” to “here’s what’s happening.”

Links/resources:
See the gcx documentation: https://grafana.com/docs/grafana/latest/as-code/observability-as-code/grafana-cli/gcx/
GitHub: https://github.com/grafana/gcx
Get started with the Grafana Cloud forever-free tier: https://grafana.com/g/cloud
Have a question? Ask Grot, your AI helper: https://grafana.com/grot/
Reach out in our community forums: https://gra.fan/communityyf

Thanks for watching!

👍 Was this video helpful? Like and subscribe to our channel for more videos.

Connect with Grafana Labs:
X: (https://www.twitter.com/grafana)
LinkedIn: (https://www.linkedin.com/company/grafana-labs/)
Facebook: (https://www.facebook.com/grafana)

#Grafana #Observability #GCX #AI #CLI #ClaudeCode