Feature Request: Enhance Agent Visibility and Interaction in Chat
Description
When an agent is created and active in a chat session, there is currently a lack of persistent and explicit visual cues to indicate which agent is responding. While agents are assigned a name and a color during creation, these identifiers are not leveraged effectively in the chat interface to confirm the active agent's context.
This ambiguity can lead to user confusion, especially when switching between the default Claude and a custom agent, or between multiple different agents. It diminishes the value of the agent persona, as the user is not consistently reminded of the specialized context in which their prompts are being interpreted.
Proposed solution
To improve clarity and streamline the user workflow, I propose two enhancements:
1. Explicit Agent Identification in Responses:
At the beginning of each response generated by a custom agent, automatically prepend a visual indicator that displays the agent's name and utilizes its assigned color. This immediately clarifies who is "speaking" and reinforces the agent's persona.
Examples:
- A simple text prefix, styled with the agent's color:
> [Product Manager]: Based on the user stories, I recommend we prioritize feature A for the next sprint.
- A colored badge or label at the start of the message:
> Software Engineer Here is the refactored Python code with added error handling:
This small change would provide immense value by making the agent's presence and context unambiguous throughout the conversation.
2. Interactive Agent Selection via /agents Command:
Enhance the existing /agents command to be more interactive. Currently, it lists the available agents. This functionality should be extended to allow users to directly select and activate an agent from this list.
Proposed Workflow:
- User types
/agents. - The system displays the list of available agents, but now with an interactive element (e.g., numbers or buttons).
```
Available Agents:
- Product Manager
- Software Engineer
Select an agent to activate by number, or mention them with #.
```
- User can simply type
1to activate the "Product Manager" agent. - The system confirms the selection:
Agent 'Product Manager' is now active.
This would create a more intuitive and user-friendly way to manage and switch between agents, lowering the barrier to entry for using the feature effectively.
Alternatives
A less intrusive alternative could be a persistent status indicator at the top or bottom of the chat window that always shows the name of the active agent. However, including the identifier directly in the response is more contextually relevant and impossible to miss, especially when reviewing a conversation history.
Additional context
Implementing these features would significantly improve the usability and discoverability of the agent functionality.
- Reduces Cognitive Load: Users no longer have to remember which agent is active.
- Enhances User Confidence: Clarity in the interface builds trust and encourages more sophisticated use of the agent system.
- Streamlines Workflow: An interactive
/agentscommand reduces the friction of switching contexts, making the entire process faster and more intuitive.
By making the agents more visible and easier to manage, you will empower users to fully leverage this powerful feature. Thank you for considering this request.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗