Grafana agento11y: Guards and Observability for Coding Agents

Grafana agento11y: Guards and Observability for Coding Agents

Enterprise Developer Platforms

Public commits assisted by Claude Code leaked secrets at a 3.2% rate against a 1.5% baseline, GitGuardian found, one of the figures Grafana Labs cites in launching agento11y, an open source CLI that records and polices local coding agents. For platform teams, the pitch is blunt: in Grafana’s words, “the least observable software on many developers’ laptops these days is the software writing their code.”

What Happened

agento11y wraps the agent rather than replacing it. Developers install it with Homebrew (brew install grafana/grafana/agento11y) and start the agent through it, for example agento11y claude --local, instead of launching the agent directly. Grafana says it plugs into Claude Code, Cursor and Codex. Sessions are recorded locally, with a backfill of the previous 90 days, and a local app (agento11y local open) shows usage, cost, tokens, skills, MCP servers, tools and session outcomes. A Branches view groups work by merge status: merged, open, committed directly to a default branch, or unknown.

Guards are the safety half. Redaction masks secrets while keeping context, turning a key into OPENAI_API_KEY=[REDACTED] or a token into GITHUB_TOKEN=[REDACTED]. Blocking denies a tool call before it runs, with examples including reading .env, git reset --hard, force pushes, git clean -f, rm -rf, unsafe permission changes and disk-wipe commands. Developers choose packs in a Security tab rather than writing rules, can add custom rules in guards.toml, and can test one with agento11y guards test. The code and guard pack documentation are on GitHub.

Why It Matters

Grafana’s case rests on third-party incident data. Aviatrix reported in September 2026 that coding agents pushed more than 13,000 internal company images to public GitHub repos across more than 300 organizations. GitGuardian counted 24,008 unique secrets in public MCP configuration files, 2,117 of them still valid. An EY poll of 500 senior leaders found 78% said AI adoption was moving faster than their ability to manage the risks. Each agent also stores its history in its own format, which makes a cross-agent audit hard without a common recorder.

What This Means for Platform Teams

Grafana is candid about the limits. “Guards don’t read scripts, expand variables, or follow aliases,” the post says, so a guard sees the command it receives, not necessarily what eventually runs, and a blocked file read can slip through inside a script. Each pack documents what it misses. Grafana presents guards as one of four layers; scoped credentials and a sandbox are the other two it names, and agento11y doesn’t provide them.

For teams, sessions can optionally be forwarded to Grafana Cloud. By default only metadata goes, such as model, token usage, tool names, timing and estimated cost, while prompts, responses and tool output stay local. Cloud rules can add an LLM judge or a prompt-injection classifier, and local rules run first. The post names no license, only “open source”. Our coverage of Claude Code settings files leaking secrets shows the kind of leak redaction is meant to catch.

The So What

If your developers run Claude Code, Cursor or Codex on laptops with production credentials, pilot agento11y with the redaction and destructive-command packs on a few machines, read each pack’s documented misses before relying on it, and pair it with scoped credentials and a sandbox, because Grafana itself says guards can be bypassed through scripts and aliases.

Source: Grafana Labs Blog

Content created with AI assistance and reviewed for accuracy.

💬

Join the conversation

Stack Insiders is our free community for readers who want to go deeper — share resources, ask questions, and connect with others across every vertical we cover.

Join Stack Insiders →

Newsletter coming soon.

Curated digests across AI, biohacking, photography, travel, and more. Be the first to know when we launch.