Grafana Debuts gcx CLI: Observability Now Native to the Terminal and AI Coding Agents
Grafana today announced the public preview of gcx, a new command-line interface (CLI) tool that embeds Grafana Cloud and Grafana Assistant directly into the terminal—and into the AI coding environments running there—allowing developers to detect and fix incidents in minutes instead of hours.
“The way we write code is changing,” said Tom Wilkie, CTO of Grafana. “Engineers now spend most of their day in the terminal, using agentic tools like Cursor and Claude Code. But those agents are blind to production realities. gcx closes that visibility gap.”
The tool is designed to eliminate the context switch that occurs when a developer—or an AI agent—has to leave the command line to check dashboards or set up alerts. gcx brings the full observability lifecycle to the CLI: instrumentation, alerting, SLOs, synthetic checks, frontend and backend monitoring, and Kubernetes infrastructure, all manageable as code.
Background
Modern software development increasingly relies on generative AI agents that can write and modify code. However, these agents operate on source files alone; they lack real-time visibility into production systems. A latency spike, a breached SLO, or a failing checkout flow is invisible to them.
“Agents can see your code but not your running system,” Wilkie noted. “They write code based on what could happen, not what is actually happening. That’s a fundamental blind spot we set out to fix.”
Historically, observability platforms required jumping into web dashboards or third-party tools. gcx changes that by moving the interface into the terminal—the same environment where both human developers and AI agents operate.
What This Means
For developers, gcx means a single session can replace what used to be a multi-day ticket. A human or agent can ask the tool to instrument a service, validate that OpenTelemetry data is flowing, create alerts and SLOs, stand up synthetic probes, and manage dashboards—all from the command line.
“From greenfield to full observability in minutes,” Wilkie said. “Most services start without any instrumentation or alerts. gcx treats that as a starting line, not a blocker.”
For AI agents, the impact is even bigger. With gcx, an agent can read the live state of the system—latency, error rates, SLO compliance—and make more informed decisions. Instead of pattern‑matching on source files, the agent bases its code changes on actual production behavior.
The tool also includes as‑code management for dashboards, alerts, and checks. Files can be pulled, edited locally (by human or agent), and pushed back. Deep links into Grafana Cloud are available the moment a human needs to investigate.
Grafana expects gcx to be particularly beneficial for teams adopting agentic coding workflows, as it removes the friction of switching between code generation and observability tasks. The public preview is open now, and the company is gathering feedback to refine the experience ahead of a general release.
— Reporting by [Your Name]
Related Articles
- Amazon Web Services This Week: Claude Opus 4.7, New Interconnect Services, and AI Insights
- Choosing Your Default AI Model in Apple Intelligence: A Guide for iOS 27
- Mathematicians Clash over Ultimate Foundation of Proofs
- How COVID Lockdowns Reshaped Fatherhood: Surprising Long-Term Effects Revealed
- AWS Debuts Claude Opus 4.7 on Bedrock and General Availability of Interconnect Service
- Garlic: Nature's Mosquito Birth Control? Yale Study Reveals Surprising Pest Control Potential
- How to Analyze Apple’s Revenue Guidance for the June Quarter: A Step-by-Step Breakdown for Investors
- How to Supercharge Your CAD Workflow with an AI Agent (Adam)