In short.
Google Agents CLI Observability is an instruction skill that teaches an AI coding assistant how to set up and troubleshoot monitoring for AI agents built with Google's agents-cli. It documents Terraform-managed prompt-response logging in agents-cli scaffolded Python projects, which stores full prompts and responses by default even when traces omit their content. Its most useful guidance explains separate content controls, Python and Go differences, and that Terraform infrastructure must be provisioned before deployment when Terraform-managed prompt-response logging or BigQuery analytics is wanted. It also covers optional BigQuery event analytics, external monitoring platforms and a Python feedback endpoint. The supplied documents establish configuration guidance; nothing was executed, and runtime compatibility, telemetry delivery, performance and actual costs remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected skills/google-agents-cli-observability directory: SKILL.md and all four reference files, plus the repository-level LICENSE as a related notice outside that directory, at revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb. Linked pages, neighboring skills, CLI implementation and generated application or Terraform files are excluded. Nothing was executed; installation, deployment, telemetry delivery, feedback collection, compatibility, performance and actual costs were not tested.
The overview
identity
This is an instruction skill in Google's agents-cli repository, attributed to Google and declaring version 1.14.0. It guides an assistant through monitoring and troubleshooting AI agents, including agents built with Google's Agent Development Kit (ADK). The original source directory is [https://github.com/google/agents-cli/tree/main/skills/google-agents-cli-observability].
The resource consists of SKILL.md and four accompanying reference files. It provides instructions, configuration explanations and code examples; the monitoring services and agents-cli executable are separate dependencies.
assessment
The strongest fit is an agents-cli project whose developers need to diagnose slow requests, inspect model and tool activity, or analyze conversations in BigQuery. The guidance is particularly useful where teams need to distinguish execution traces from stored conversation content.
Adoption requires attention to existing deployment ownership and data retention. Automatic tracing is described for scaffolded projects, while manually configured applications need additional instrumentation. No runtime results establish reliability or production readiness.
users
The intended users are developers and operators of AI agents who need execution traces, prompt-response records, conversation analytics or monitoring integrations. Beginners receive explanations of these layers; experienced developers receive environment variables, infrastructure paths, permission details and diagnostic commands.
The most detailed paths assume agents-cli scaffolding and Google Cloud. ADK Python and Claude templates receive richer content-logging and analytics guidance than ADK Go. Developers using another framework will need its own instrumentation and provider documentation.
capabilities
The skill describes distributed tracing of agent execution, model calls and tools; full prompt-response exports to Google Cloud Storage (GCS) with BigQuery access; and optional structured agent-event analytics. The analytics reference describes automatic schema additions, multimodal offloading to GCS, trace-context association and tool-provenance categories.
ADK Python uses the BigQuery Agent Analytics plugin. Claude templates write the same agent_events table and views through separate helpers, without ADK-specific state, human-in-the-loop and transfer events. A further reference shows how Python applications can collect ratings and text feedback through structured logs routed to BigQuery.
It also describes integration choices including AgentOps, Phoenix, MLflow, Monocle, Arize AX, Weave and Freeplay. Their implementations and current capabilities were not independently assessed.
Using it
requirements
The skill declares agents-cli as a required executable and gives uv tool install google-agents-cli as its installation command. Google Cloud telemetry requires a project, credentials and appropriate service-account permissions. Terraform-managed prompt logging additionally provisions resources including a GCS bucket, BigQuery dataset, log sinks and a BigQuery connection.
The feedback example uses Python, Pydantic, FastAPI and the Google Cloud Logging client. Verification examples use gsutil, bq and gcloud. Minimum supported CLI, ADK, Python, Go and Terraform versions, operating-system requirements and assistant-specific skill installation steps are not supplied.
mechanism
OpenTelemetry spans describe the execution path and its timing. The documented ADK hierarchy includes invoke_workflow, invoke_agent, call_llm, generate_content and execute_tool. Scaffolded applications initialize exporters at startup; Agent Runtime additionally gates telemetry on GOOGLE_CLOUD_AGENT_ENGINE_ENABLE_TELEMETRY, which deployment sets.
Content handling has two independent layers. Trace and event content is controlled by OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT. Python completion uploads use LOGS_BUCKET_NAME and OTEL_INSTRUMENTATION_GENAI_COMPLETION_HOOK=upload and continue capturing full content regardless of the trace-content setting. Terraform's documented Python default therefore stores full completions while omitting content from traces and events.
Cloud Logging sinks export inference records to BigQuery, while external tables expose GCS completion data; completions_view joins these records. The optional analytics plugin separately writes structured agent events through BigQuery's Storage Write API.
setup
For a new scaffolded project using Terraform-managed observability, the documented order is agents-cli infra single-project --apply --project PROJECT_ID followed by agents-cli deploy. BigQuery agent analytics can be requested with --bq-analytics during scaffolding. For manual Cloud Run or GKE applications, OpenTelemetry exporters must be configured in the application.
Existing imperative Agent Runtime deployments require a different approach. The guide warns against applying Terraform afterward because Terraform owns the engine's deployment specification, service account and environment. It describes either recreating the deployment under Terraform or retaining the existing deployment and updating telemetry variables and permissions manually.
The documents include local environment settings and verification queries. They do not provide evidence that any setup completed successfully.
example
Consider an ADK Python support agent whose replies have become slow. The documented tracing approach is to inspect its invocation, model-call and tool-execution spans in Cloud Console's Trace explorer to locate where time is spent. This illustrates the intended use; no latency measurements are supplied.
If that agent must avoid retaining conversation content, setting OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=NO_CONTENT alone is insufficient. The guide also sets ADK_CAPTURE_MESSAGE_CONTENT_IN_SPANS=false and describes removing the Python completion-upload configuration to stop full-content exports. Its suggested checks include inspecting the GCS completions path and querying BigQuery completions tables and views; none were executed.
Assessment & evidence
limitations
ADK Go supports trace and log export but lacks the described Python GCS completion-upload feature and ADK BigQuery Agent Analytics plugin. Go projects can still receive provisioned BigQuery telemetry infrastructure. The same content variable also differs by language: Python accepts NO_CONTENT, EVENT_ONLY, SPAN_ONLY or SPAN_AND_EVENT; Go captures content only for 1 or true. Python true and false values fall back to NO_CONTENT.
Full completion uploads and free-text feedback can retain sensitive information. The feedback reference advises redaction or omission, opaque identifiers and table expiration. Its endpoint example does not establish authentication, abuse controls or bounded rating validation.
One permission detail needs resolution in the actual deployment: the main guide lists roles/storage.admin for an existing imperative deployment, while upload troubleshooting names bucket-level storage.objectCreator. The minimum effective permissions, compatibility, delivery guarantees, overhead and scale limits were not verified.
reasoning
The practical value lies in separating decisions that can otherwise be confused: tracing execution, retaining conversation content and recording structured analytics events. Keeping these distinct helps developers choose the data they need and understand where it will be stored.
Deployment ownership is equally consequential. The documented Terraform ordering and language-specific settings make this especially relevant to agents-cli users, while also limiting how confidently its instructions can be transferred to another application or framework.
alternatives
Within the guide, Cloud Trace alone addresses execution timing and errors; completion logging adds conversation records; BigQuery Agent Analytics adds structured event analysis. These layers can be combined according to the required data.
The skill describes AgentOps for session replay, Phoenix for self-hosted evaluation, MLflow for trace visualization with a SQL backend, and Monocle for local visualization. It also lists Arize AX, Weave and Freeplay. AgentOps is specifically described as replacing native telemetry. These provider descriptions were not independently verified, and current pricing and feature parity are unknown.
evidence
The supplied source includes the complete skill file and its four references: adk-docs.md, bigquery-agent-analytics.md, cloud-trace-and-logging.md and feedback-mechanism.md. The repository LICENSE accompanies them. A revision-specific entry point is [https://raw.githubusercontent.com/google/agents-cli/6eedbdc2f44c388cbfc5f305eb83b9924cfefebb/skills/google-agents-cli-observability/SKILL.md].
These documents support descriptions of intended configuration and behavior. The linked ADK pages, external platform documentation, CLI implementation and generated infrastructure files were not supplied. Automatic setup, exported data and troubleshooting outcomes are documentation claims without execution results.
Access & freshness
costs
The supplied material contains no cloud-service prices, third-party subscription prices, model/API prices, usage estimates or measured telemetry overhead. Actual operating cost is unknown. The Apache licence's no-charge rights to the material do not establish a zero-cost cloud deployment.
The guide lists turning content capture off, reducing BigQuery retention and disabling unused telemetry layers to control costs. Turning off span/event content reduces trace and log content when it was enabled, but does not affect the separate full-content Python completion uploads. To stop those uploads, the documented Terraform path removes the upload block, including LOGS_BUCKET_NAME, OTEL_INSTRUMENTATION_GENAI_COMPLETION_HOOK and OTEL_INSTRUMENTATION_GENAI_UPLOAD_BASE_PATH, from service.tf and reapplies Terraform.
rights
The skill metadata declares Apache-2.0, and the supplied repository LICENSE contains Apache License 2.0. It permits use, modification and redistribution, including commercial use, subject to its conditions.
Redistribution requires a licence copy, preservation of applicable source notices, prominent notices on changed files, and any applicable NOTICE attributions when present. No separate NOTICE file was supplied. The licence provides no general trademark permission or warranty. Google Cloud and external service terms are outside the supplied material.
freshness
The supplied snapshot is pinned to commit 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb and was captured on 14 November 2026 at 00:18:56.623 UTC. SKILL.md declares version 1.14.0; this is the skill's version, not an established CLI or ADK compatibility requirement.
The capture timestamp does not establish a release date. Subsequent upstream changes, the latest available version and compatibility with currently installed dependencies are unknown.
actions
Before adopting the instructions, identify the framework, language, deployment target and whether Terraform already owns the deployment. Choose the needed telemetry layers and decide explicitly whether prompts, responses and feedback text may be retained.
Check the generated configuration against those decisions, resolve service-account permissions, and set appropriate retention. Then confirm actual traces, bucket objects and BigQuery rows using the documented verification paths. For feedback, establish access controls and supply identifiers that associate submissions with the intended conversation. Successful operation and actual cost remain unknown until verified in the intended environment.
