ca-adk-streaming
Looker CA API with Google ADK Streaming
This skill provides guidance for integrating the Looker Conversational Analytics (CA) API with the Google Agent Development Kit (ADK) to build sophisticated, streaming data agents.
Overview
By combining the CA API's natural language-to-query capabilities with ADK's orchestration and streaming features, you can create applications that:
- Stream Real-time Responses: Provide immediate feedback as the CA API processes and generates data.
- Orchestrate Multi-step Workflows: Chain data fetching with analysis, visualization, or external tool calls.
- Implement Conditional Logic: Use
run_whenpredicates to execute sub-agents only when specific data conditions are met. - Normalize Session State: Share data between agents using ADK's
session.state.
1. Prerequisites
- Looker Instance: Configured with the CA API enabled and appropriate IAM roles.
- Google ADK: Installed (
pip install google-adk). - GCP Project: Vertex AI and Gemini Data Analytics APIs enabled.
- Environment Variables:
LOOKERSDK_BASE_URL,LOOKERSDK_CLIENT_ID,LOOKERSDK_CLIENT_SECRET,GCP_PROJECT_ID,GCP_LOCATION.
2. Implementation Pattern: CA Query Agent
The ConversationalAnalyticsQueryAgent bridges the CA API with ADK's streaming interface.
More from lkrdev/looker-embed-skills
cors-api
Architectural pattern for direct browser-to-Looker API calls via CORS using OAuth2 with PKCE for secure client-side authentication.
2sso-embed
This skill allows agents to assist users in setting up, implementing, and troubleshooting Looker SSO (signed) and Cookieless embedding using the Looker Embed SDK.
2embed-themes
This skill enables agents to assist users in programmatically creating, updating, and managing Looker themes using the Looker API. Use this when you need to automate visual styling, implement brand-specific themes, or manage instance-wide default themes.
2cors-api-proxy
Architectural pattern for performing direct browser-to-Looker API calls via CORS by using an application backend to delegate scoped authentication tokens.
2visualization-components
This skill enables agents to assist users in building custom, high-performance data experiences using Looker's React-based visualization components.
2embed-javascript-events-api
This skill enables agents to assist users in implementing and troubleshooting interactive communication between a host application and an embedded Looker iframe using JavaScript events.
2