[go: up one dir, main page]

Skip to content

Draft: Agentic Button

This MR introduces a prototype for a generic Agentic Button component that enables external buttons to trigger Agentic Duo Chat with custom prompts. This is the first step towards creating feature parity between classic Duo Chat and Agentic Duo Chat for external slash commands and button integrations.

Problem

Currently, external buttons (like root cause analysis, AI genie, etc.) use custom slash commands sent to classic Duo Chat via sendDuoChat. This approach requires backend processing to add context since classic Duo Chat has limited context awareness.

Solution

This prototype creates a reusable button component that:

  • Takes a prompt as a parameter
  • Sends the prompt directly to Agentic Duo Chat via the new sendAgenticDuoChatCommand utility
  • Leverages Agentic Chat's superior context awareness, eliminating the need for manual context injection

meant to solve: https://gitlab.com/groups/gitlab-org/-/epics/18683

How to reproduce:

Demo

Demo
2025-08-07_15-07-25
Edited by Jannik Lehmann

Merge request reports

Loading