Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Agento11y open source safety and observability for local coding agents by grafan
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

agento11y: open source safety and observability for local coding agents, by Grafana Labs

Source: Grafana Labs•December 2, 2026 at 05:24 PM

agento11y: open source safety and observability for local coding agents, by Grafana Labs

agento11y is an open source CLI tool from Grafana Labs that shows you what your AI coding agents are actually doing. It runs on your machine and gives you that complete picture by plugging into the coding agents you already use, including Claude Code, Cursor, and Codex.

If there was an incident at your company where an agent leaked credentials or took down production, could you immediately confirm the agent wasn’t yours?

Could you verify which projects your agent touched, which commands they ran, which tools, skills, or MCP servers they reached for, and what it all cost? Neither could we.

The fact is, the least observable software on many developers' laptops these days is the software writing their code. And you don't have to look far to find examples of agents conspiring, escaping, and doing unexpected things with unexpected consequences. Claude Code, Codex, Cursor, Copilot, Pi: they read files, run shell commands, and push to remotes. But each stores its history in a different format and directory. None gives you a complete picture of what the others did, and each has its own configuration for what it is allowed to do.

So we built agento11y, an open source CLI tool from Grafana Labs that shows you what your AI coding agents are actually doing. It runs on your machine and gives you that complete picture by plugging into the coding agents you already use, including Claude Code, Cursor, and Codex. Sessions are recorded locally, and a local app lets you explore usage, cost, tokens, skills, MCPs, tools and session outcomes. Guardrails catch risky actions before they happen, and nothing leaves your machine unless you want it to.

The need for local coding agent oversight

We built agento11y for our own needs, but we feel there's a broader need in the community—and the data backs it up.

Coding agents are already part of everyday work, and no single tool dominates. JetBrains surveyed more than 10,000 professional developers in January and found that 90% regularly use at least one AI tool at work. Usage is spread across tools: Copilot was used by 29% of respondents, Claude Code by 18%, and Cursor by 18%.

What has not kept up is oversight. In EY’s Technology Pulse Poll of 500 senior leaders at large technology companies, 78% said AI adoption was moving faster than their ability to manage the risks. More than half of the AI work happening inside departments had no formal approval or oversight. And when something goes wrong, it rarely looks like an attack.

In September 2026, coding agents pushed more than 13,000 internal company images to public GitHub repositories across more than 300 organizations. GitGuardian measured a 3.2% secret-leak rate in public commits assisted by Claude Code, compared with a 1.5% baseline across public GitHub commits generally. It also found 24,008 unique secrets in public MCP configuration files, 2,117 of which were still valid.

This is just the beginning. As agents are given more and more autonomous responsibility, it is paramount that developers safeguard their environments by monitoring their agents. That is why we are open sourcing it. Monitoring agents is a problem every developer running them shares, so the tooling to solve it should be open for everyone to use, inspect, and improve. Open source has always been at the heart of how we build at Grafana, and we would rather solve this together with the community than alone.

Note: Despite the similar names, agento11y should not be confused with Agent Observability in Grafana Cloud, which lets you monitor agents you've built as well as the coding agents your team uses, providing insights across all your developers' coding agents. The agento11y CLI focuses on your individual usage. Later in this post, we'll show you how to use agento11y alongside Grafana Cloud.

Note: Despite the similar names, agento11y should not be confused with Agent Observability in Grafana Cloud, which lets you monitor agents you've built as well as the coding agents your team uses, providing insights across all your developers' coding agents. The agento11y CLI focuses on your individual usage. Later in this post, we'll show you how to use agento11y alongside Grafana Cloud.

Run your agent with agento11y

Install the agento11y binary once, then start your coding agent through it instead of launching the agent directly:

agento11y records the session in a local store and opens the app. A built-in importer can also backfill the previous 90 days, so you do not start with an empty dashboard.

You get two things from it:

  • Guards that check potentially risky actions before they run

Guards that check potentially risky actions before they run

  • A record of what your agents actually did

A record of what your agents actually did

Enable redaction and blocking with guard packs

Open the local app with the agento11y local open command. Under the Security tab, you choose which guard packs to enable. You don't need to write rules yourself, and the packs apply to every agent connected to agento11y. They provide two kinds of protection: redaction and blocking.

Redaction: remove the secret, keep the context

An agent debugging a failed request may encounter an API key in a configuration snippet, an authorization header in a log, or a token in an error message. The surrounding information is useful. The credential itself is not.

Secret redaction masks detected sensitive values. For example:

  • An API key becomes OPENAI_API_KEY=[REDACTED]

An API key becomes OPENAI_API_KEY=[REDACTED]

  • An authorization header becomes Authorization: Bearer [REDACTED]

An authorization header becomes Authorization: Bearer [REDACTED]

  • A GitHub token becomes GITHUB_TOKEN=[REDACTED]

A GitHub token becomes GITHUB_TOKEN=[REDACTED]

These examples illustrate the intended result: preserve enough context to understand what happened without exposing the detected credential. Each pack documents which secret patterns it recognizes and what it may miss.

Blocking: stop the tool call before it runs

Some actions should be stopped altogether. For example, an agent might try to read a .env file while investigating a configuration issue. That file could contain production API keys, database passwords, and signing secrets.

With the relevant file-safety rules enabled, a matching tool call is denied before it runs. Instead of receiving the file’s contents, the model receives an explanation of why the action was blocked.

Examples of actions covered by blocking packs include:

  • Reading protected files such as .env

Reading protected files such as .env

  • Running destructive Git commands such as git reset --hard, force pushes, or git clean -f

Running destructive Git commands such as git reset --hard, force pushes, or git clean -f

  • Deleting files with rm -rf and covered variations

Deleting files with rm -rf and covered variations

  • Making unsafe permission changes or running disk-wipe commands

Making unsafe permission changes or running disk-wipe commands

You can test your policy without running a dangerous command:

This tells you whether your saved policy would block the command, but it doesn't execute it. Instead, every guard pack documents what it does not catch. A file-read rule may catch a direct request for .env without catching the same read hidden inside a script. Knowing those limits is part of using guards effectively.

Custom rules live in one file, guards.toml. The local daemon applies it to every agent that sends it checks. This is important because without one shared file, each agent would have to have its own rules, which means, for example, a command blocked in Claude Code might still run in Cursor. Your protection would only be as strong as the weakest set of rules.

Which MCP servers and skills did your agent actually use?

Guards only stop what you've written rules for. So before you write any, it helps to know what your agents are actually reaching for.

Can you name every MCP server and skill your agent used last week? Most of us can't.

That's no surprise. We add an MCP server to try out a new integration, install a skill a teammate recommended, and copy another from a blog post. Then we move on. They stay in the config, and the agent keeps reaching for them long after we've forgotten they're there.

Attackers count on that. In September 2025, a fake Postmark MCP server quietly BCC'd every email it sent to an attacker. In August 2026, Zenity Labs found skills on skills.sh that started out as exact copies of popular skills and were later updated to steal credentials. One set of these skills alone was installed more than 1.7 million times. Every MCP server adds tools you didn't write, and every skill adds instructions your agent follows. You can't guard what you don't know is there.

Open Analytics, go to the Tools tab, and select Only MCP tools. Every MCP tool your agents called is in one list, with calls, failures, and the sessions that used it. The Skills tab does the same for skills.

See a server you forgot you installed, or a skill you didn't know was running? Click it, read what the agent sent and what came back, and then decide: guard it or remove it.

See where your agents' work goes

Knowing which tools your agents reach for is one half of the picture. The other half is where their work goes: which repositories they spend the most time in, what kind of files they change, and how much of it ends up merged. The Overview tab on the Analytics page answers that with estimated cost, token usage, languages, and workspaces across every captured session. Three views have been especially useful for us.

Workspaces

Analytics opens with a workspace breakdown sorted by token usage. It shows each repository’s share of the total, along with its number of sessions, tokens, and estimated cost. The distribution is rarely even, and that concentration is the useful part. It shows where agent work is actually going, which is not always where you expect it to go.

Languages

The language panel breaks down token usage by language. It is worth checking before assuming where the effort is going. Documentation and configuration files can easily outrank the languages your product is written in. That may be exactly what you want the agent doing. Or it may show that an expensive model is spending most of its budget editing YAML. The shares can overlap because one session may touch several languages.

Branches and merge status

Tokens and cost show how much your agents worked, but not whether that work shipped. The "Branches" view lists every branch your agents touched, with its merge status, sessions, tokens, and cost. A second panel groups that work by outcome:

  • Merged

Merged

  • Open

Open

  • Committed directly to a default branch

Committed directly to a default branch

  • Unknown

Unknown

How much of your agent's work ends up in merged, reviewed code? A high share is a good sign that it's making it into your product.

Beyond guards and observability

A guard sees the command it receives, not necessarily what eventually runs. Hide rm -rf / inside a script, and the guard may only see bash cleanup.sh. Guards don't read scripts, expand variables, or follow aliases.

That's why we think of agent security in four layers. agento11y gives you the first two:

  • Guards catch ordinary mistakes cheaply, before they run

Guards catch ordinary mistakes cheaply, before they run

  • Observability tells you what actually happened

Observability tells you what actually happened

For the remaining layers, pair it with:

  • Scoped credentials, so what the agent can reach isn't catastrophic

Scoped credentials, so what the agent can reach isn't catastrophic

  • A sandbox, so the agent can't reach most things at all

A sandbox, so the agent can't reach most things at all

Forward usage to your team in Grafana Cloud

agento11y becomes more useful when it is connected to more than one machine.

You can choose to send telemetry to Agent Observability in Grafana Cloud so a team’s sessions appear in one stack. This gives the team a view that no individual developer has: which repositories across the organization the agents are actually working in.

You control how much of each session is sent. By default, only metadata is forwarded: the model, token usage, tool names, timing, and estimated cost. Prompts, responses, and tool output stay in each developer’s local store. That lets a team share the overview without sharing everyone’s transcripts.

Guards work across the team as well. Rules defined in the stack apply to every session that forwards to it. A rule can be limited to particular agents, models, or tags, so one setup can cover the whole team without treating every session identically. Cloud rules can also perform checks that a local pattern cannot, such as using an LLM judge or a prompt-injection classifier.

Local rules still run first, so developers can keep personal safeguards on top of the shared policy.

Try agento11y today

Security incidents are not slowing down anytime soon. Agents are unpredictable when given a task and often try to find workarounds that lead to disaster. When this happens, it's the developer that’s accountable.

The agento11y CLI is a great first step in safeguarding your environment. It's open source, runs locally, and offers peace of mind.

Give it a try today or check out the documentation before you get started:

  • Coding agent observability documentation

Coding agent observability documentation

Again, this project is open source. If something is missing or doesn't work the way you expect, let us know by opening an issue in grafana/agento11y.

← All articles

What this article says

More in Software Development

All →
Shopify Fulfillment in 2027: Your Options, Shopify’s Partner Network, and How ShipBob Fits
Shipbob

Shopify Fulfillment in 2027: Your Options, Shopify’s Partner Network, and How ShipBob Fits

RAG Explained for Full-Stack Developers
Telerik

RAG Explained for Full-Stack Developers

HIPAA-Compliant Software Development: An Architecture Checklist
Artezio

HIPAA-Compliant Software Development: An Architecture Checklist

10 Ecommerce Holiday Shopping Strategies For Mom and Pop Shops
Salesforce

10 Ecommerce Holiday Shopping Strategies For Mom and Pop Shops

Boxing in the LLM: REST Assured to Postman with Claude Code
Postman

Boxing in the LLM: REST Assured to Postman with Claude Code

Pools, spas, and cabanas are now bookable on Airbnb with ResortPass
Airbnb

Pools, spas, and cabanas are now bookable on Airbnb with ResortPass

More from Grafana Labs

Visual playback of the user journey: Introducing Session Replay in Grafana Cloud Frontend Observability
Grafana Labs

Visual playback of the user journey: Introducing Session Replay in Grafana Cloud Frontend Observability

Bring charts, queries, and context into one shareable document: Introducing Grafana Notebooks
Grafana Labs

Bring charts, queries, and context into one shareable document: Introducing Grafana Notebooks

From AI agents to fishing dashboards: The latest stories from Unprompted, the Grafana Labs engineering blog
Grafana Labs

From AI agents to fishing dashboards: The latest stories from Unprompted, the Grafana Labs engineering blog

Bring charts, queries, and context into one shareable document: Introducing Grafana Notebooks
Grafana Labs

Bring charts, queries, and context into one shareable document: Introducing Grafana Notebooks

ObservabilityCON on the Road: New sessions coming to you in 2027
Grafana Labs

ObservabilityCON on the Road: New sessions coming to you in 2027

An early look at the Grafana UI refresh: Building a clearer, more consistent user experience
Grafana Labs

An early look at the Grafana UI refresh: Building a clearer, more consistent user experience