google-agents-cli-observability
Skill by google
Sets up tracing, logging and monitoring for agents, including ADK agents, on Google Cloud and locally. Aimed at developers who need to debug production conversations and track tokens and cost.
Install google-agents-cli-observability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.claude/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-observability ~/.claude/skills/google-agents-cli-observabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install google-agents-cli-observability in Claude Code
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-observability ~/.gemini/antigravity-cli/skills/google-agents-cli-observabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install google-agents-cli-observability in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
google-agents-cli-observability is a skill from Google's agents-cli suite. It guides an assistant through tracing and monitoring deployed agents, including ADK (Agent Development Kit) agents, and any OpenTelemetry app. It covers Cloud Trace, prompt and response storage with content tiers and retention settings, BigQuery Agent Analytics, alerts and dashboards, and sending traces to third-party tools such as AgentOps, Phoenix, MLflow, Arize, Weave and Langfuse.
The skill checks the project with agents-cli info and its manifest, then reads the framework's own observability guidance. Before the first deploy it asks the user about access, personal data and retention, and it provisions the storage through Terraform only after the user approves the plan. It verifies telemetry by sending a marked request and querying it back. It is for developers and teams who run agents in production and need to debug, track cost or improve quality.
Written from the project's SKILL.md and checked against it.
What it can do
- Trace verificationSends a marked request and checks that the trace and BigQuery row appear.
- Debug one conversationShows the transcript and trace link and names the first wrong span and its fix.
- Token and cost trackingReports tokens per conversation or day, with any cost labeled an estimate.
- Content tier setupHelps choose metadata only, full content in GCS and BigQuery, or content in logs and spans.
- Monitoring and alertsCovers metrics, alert policies, notification channels and dashboards.
- Quality loopTurns confirmed failures into eval cases and sets up online monitors.
- Third-party tracingSends traces to AgentOps, Phoenix, MLflow, Arize, Weave, Langfuse or other OpenTelemetry tools.
- Retention setupSets how long prompt and response transcripts are kept.
What you need
- agents-cli, installed with uv tool install google-agents-cli
- A Google Cloud project for Cloud Trace and BigQuery
- Terraform, for the prompt-response store
Try asking
- Set up tracing for my ADK agent and confirm it shows in Cloud Trace.
- Debug the last production conversation where the agent gave a wrong answer.
- Show me token usage per day for my deployed agent this week.
Good to know
- Local runs write no transcripts; the upload variables come from Terraform.
- ADK Java, Kotlin and TypeScript export no traces yet.
- Exporters fail silently, so each setup must be verified with a marked request.
- The _Default log bucket retention is not lowered without the user's explicit approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/google-agents-cli-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/content-capture.md6 KB -
references/monitoring.md8 KB -
references/quality-loop.md12 KB -
references/setup.md10 KB
Show all 7 files
-
references/third-party.md4 KB -
references/verify-and-debug.md12 KB
Alternatives to google-agents-cli-observability
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
google-agents-cli-observability: common questions
Does this work with ADK agents?
Yes. The skill covers ADK agents and tells the assistant to read the ADK observability reference from the framework's skill.
Can I send traces to tools other than Cloud Trace?
Yes. The skill has a reference for AgentOps, Phoenix, MLflow, Arize, Weave, Langfuse and any OpenTelemetry tool.
Does it store prompts and responses?
It depends on the content tier chosen. The metadata-only tier stores no text, while the ADK Python default stores full content in a GCS logs bucket and BigQuery.
How do I install google-agents-cli-observability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-agents-cli-observability free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is google-agents-cli-observability safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-agents-cli-observability?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
