Skip to content

datagravity-ai/anomalo-gemini-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It's the Anomalo Gemini CLI extension

This extension integrates Anomalo with the Gemini CLI, allowing developers to query their data warehouse's table metadata and data quality status. Developers can use both explicit commands and natural language prompts to interact with it.

Example commands

# Learn more about the data in my revenue table
/anomalo:describe-table my_warehouse.default.revenue

# Get the data quality check status of my revenue table
/anomalo:table-status my_warehouse.default.revenue

# Get the data quality check status of all tables with the `a_label` label
/anomalo:table-status a_label

# Change to the `sales analytics` organization in Anomalo
/anomalo:org sales analytics

Example prompts

# Summarize a table's content
Tell me about the marketing.analytics.geo_attribution table.

# Summarize latest completed quality check status
What is the data quality status of tables labeled Tableau in the Internal Analytics org?

# Run checks on a table
Run the quality checks on my_warehouse.default.revenue

Installing the Anomalo extension

From your Anomalo deployment, you need your instance base url (e.g. https://my-anomalo-instance.anomalo.com) and an API key.

Environment variables

Set the ANOMALO_INSTANCE_HOST and ANOMALO_API_SECRET_TOKEN environment variables so Gemini CLI has access to your Anomalo instance.

For example:

# Add Anomalo env settings to your gemini .env file
$ cat << EOF >> ~/.gemini/.env
ANOMALO_INSTANCE_HOST=https://my-anomalo-instance.anomalo.com/
ANOMALO_API_SECRET_TOKEN=<anomalo api key>
EOF

Install the Anomalo extension

gemini extensions install https://github.com/datagravity-ai/anomalo-gemini-extension --auto-update

Test it out

# Run Gemini CLI, now with Anomalo
$ gemini

# Confirm Anomalo extension is listed in the mcp server status
gemini > /mcp

# Confirm Anomalo access by checking what Anomalo organization you are connected to
gemini > /anomalo:org

License

Open Source

This project is provided under the Apache 2.0 License, which means you can run it as-is, modify to suit your needs, and use it as an example of how to use the Anomalo APIs.

Support & Community

Anomalo Labs projects are offered with best-effort support. If you have questions or feedback, please contact your account team.

By installing the extension, you acknowledge that it is provided under these terms.

About

The Anomalo extension for Google Gemini CLI

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors