Draft: feat: add run glql query tool
What does this merge request do and why?
Adds a tool that executes a GitLab Query Language (GLQL) query and returns the results.
Important: This tool is dependant on a monolith MR Draft: Create a new GLQL REST API for Duo integ... (gitlab-org/gitlab!209517) planned for 18.7
Related issue: Create a tool in DAP that calls the GLQL API (gitlab-org/gitlab#578243)
Additional context: This change is required to launch the GitLab Analytics Agent MVC for GitLab Analytics Agent (gitlab-org&19500)
Screen recording
How to set up and validate locally
To validate this tool in your GDK:
- Follow this guide and check out this branch on AI gateway
- Enable foundational agents feature flag
duo_foundational_agents_availability - Enable the foundational Analytics Agent feature flag
foundational_analytics_agent - Check out this WIP branch in your
gitlabdirectory Draft: Create a new GLQL REST API for Duo integ... (gitlab-org/gitlab!209517). - Navigate to a project, open Duo agentic chat, select the Analytics Agent and verify the responses to these questions:
- How many MRs in this project?
- How many issues in this group?
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed. -
If this change requires executor implementation: verified that issues/MRs exist for both Go executor and Node executor or confirmed that changes are backward-compatible and don't break existing executor functionality.
Edited by Robert Hunt