π GCP Billing Agent Documentation
π GCP Billing Agent Documentation
| Current Version | Status | Auto-Updated |
|---|---|---|
| v1.5.0 | Production Ready | β |
Welcome to the comprehensive documentation for the GCP Billing Agent Application - a Gen AI solution for analyzing GCP billing data using Googleβs Agent Development Kit (ADK) and Vertex AI Agent Engine.
π Quick Access
- π Documentation Index - Complete documentation directory with all guides and references
- ποΈ Architecture Guide - Technical architecture and design decisions with Mermaid diagrams
- π Deployment Guide - Step-by-step deployment instructions
- π Authentication Setup - Firestore authentication configuration
- π Agent Documentation - Complete agent implementation details
- π Metrics Dashboard - Code metrics, AI effectiveness and repository analytics
- π§ Troubleshooting - Common issues and solutions
π― Key Features
Agent Engine Integration
- Auto-Discovery: Automatically discovers deployed reasoning engines from Vertex AI Agent Engine
- Multi-Agent Support: Support for multiple BigQuery agents with easy switching
- Fallback Mechanism: Environment variable fallback if auto-discovery fails
Web Interface
- Real-time Streaming: Watch responses appear in real-time
- Query History: View and manage your query history
- Firestore Authentication: Secure user authentication with domain restrictions
- Modern UI: Clean, modern chat interface built with React
Agent Capabilities
- BigQuery Analysis: Query and analyze GCP billing data
- Natural Language: Ask questions in natural language
- Cost Analysis: Get insights into GCP costs and usage patterns
π οΈ Technology Stack
- Frontend: React 18, Vite, Tailwind CSS
- Backend: FastAPI, Python 3.11+
- Agents: Google ADK, Google GenAI, Vertex AI Agent Engine
- Infrastructure: Cloud Run, Firestore, Vertex AI
- Authentication: Custom Firestore-based JWT authentication
π Quick Start
# Deploy agents
make deploy-all-agents PROJECT_ID=your-project-id
# Deploy web interface
make deploy-web-simple PROJECT_ID=your-project-id
π Documentation Sections
Getting Started
- Start Here - Quick start guide for the web interface
- Getting Started - Detailed setup instructions
- Architecture - Complete system architecture with diagrams
Deployment
- Automated Deployment - One-command Cloud Build + Cloud Run deployment
- Deployment Guide - Cloud Run, Agent Engine, manual steps, and FAQ
Authentication & Security
- Authentication Setup - Firestore authentication configuration
- Security - Security best practices and architecture
Agents
- Agent Overview - Overview of available agents
- bq_agent_mick - Alternative BigQuery agent implementation
- bq_agent - Production-ready BigQuery agent
- bq_agent_mick Deployment - Deployment guide
- bq_agent_mick Usage - Usage guide
- Deployment Automation - Agent deployment automation
- Deployment Management - Managing deployments
- Session Management - Agent session management
Solution Documentation
- Gen AI Solution - Complete Gen AI solution overview
Testing
- Testing History - Testing history and results
- Test Documentation - Test documentation and guides
**π Note**: This documentation is automatically updated with every push to the main branch. All guides are consolidated and comprehensive, covering architecture, deployment, security, and troubleshooting.
**π Last Updated**: 2025-11-07 | **Version**: v1.5.0