Skip to content

chrissieacodes/lookml_llm_quality_agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LookML Quality Assistant πŸš€

An AI-powered agentic pipeline built with the Google ADK to refine, audit, and improve LookML files. This project uses a deterministic "Project Picker" to lock in context before engaging a Gemini-powered assistant.


πŸ“‚ Project Structure

lookml_llm_quality/
β”œβ”€β”€ agent.py               # The Orchestrator (Pipeline definition)
β”œβ”€β”€ custom_agents/
β”‚   β”œβ”€β”€ __init__.py        # Makes folder a Python package
β”‚   └── picker.py          # Custom Project Selection logic
β”œβ”€β”€ tools.yaml             # MCP configuration (Templates env vars)
β”œβ”€β”€ .env                   # Local secrets (GIT IGNORED)
β”œβ”€β”€ .env.example           # Template for secrets
β”œβ”€β”€ .gitignore             # Git exclusion rules
β”œβ”€β”€ requirements.txt       # Python dependencies
└── toolbox                # MCP binary (Ensure chmod +x)


##πŸ›  Setup & Installation###1. Environment & DependenciesEnsure you are using Python 3.13+.

# Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install requirements
pip install -r requirements.txt

###2. Configure SecretsCopy the example file and fill in your credentials.

cp .env.example .env

Open .env and add your Looker Client ID and Secret.

###3. Prepare the ToolboxThe MCP binary must be executable.

chmod +x toolbox

##πŸš€ Running the AgentLaunch the terminal-based assistant:

python agent.py

###How it works:1. Selection: The script connects to Looker and lists all available projects. 2. Deterministic Input: You select a project by number in the terminal. 3. AI Handoff: The selected project is passed into the Gemini session state. 4. Chat: The AI wakes up already knowing exactly which project you are working on.


##πŸ”’ Security & Git* .env: Never committed. Contains raw credentials.

  • tools.yaml: Committed. Uses ${VAR} syntax to pull secrets from the environment safely.
  • toolbox: Generally ignored (binary), but kept in the .gitignore to prevent bloat.

##πŸ€– Model ConfigurationThis project is optimized for Gemini 3 Pro, which features advanced reasoning for LookML and BigQuery tool orchestration.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages