Skip to content

Allow the creation of the agent from a group-level view

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

With the newly added agents' group view, we introduced a list of agents related to the group's projects, which looks similar to what we have at the project level. Currently, there's no button to create an agent from the group view, although the functionality to create an agent and share it with the group in the agent config file is technically available.

Problem Statement

Users have no clear way to create or connect a cluster agent from the group view, which creates confusion and inconsistency with the project-level experience.

Implementation Options

Option 1: Documentation Link

Add a "Connect a cluster" button that links to dedicated documentation. This would require creating a new documentation section specific to group-level agent setup.

Screenshot_2025-04-01_at_15.48.18

Pros:

  • Simple to implement
  • Provides educational content for users

Cons:

  • Creates an extra step for users
  • Less intuitive than direct in-product workflow

Option 2: Instructional Modal

Add a "Connect a cluster" button that opens a modal with instructions explaining how to create an agent at the project level and share it with the group.

Screenshot_2025-04-01_at_15.53.55

Pros:

  • Provides context without leaving the page
  • Simpler implementation than Option 3

Cons:

  • Still requires users to navigate to project-level to create the agent

Option 3: Full Registration Modal

Add a "Connect a cluster" button that opens a modal with complete agent registration functionality, similar to the project-level modal but with a project selector.

Screenshot_2025-04-01_at_15.57.40

Pros:

  • Provides the most streamlined user experience
  • Maintains consistency with project-level flow
  • Keeps users in context

Cons:

  • Most complex implementation

Questions to resolve:

  • Can we create a configuration file for this agent to share it with the current group automatically?
  • Should we provide instructions and a code block at the second step for the user to manually configure sharing?

Technical Considerations

  • Frontend changes required to add the button and modal UI
  • Documentation updates needed regardless of chosen option

Related Issues

Related to #527179 (comment 2419208489)

Edited by 🤖 GitLab Bot 🤖