Skip to content

FEATURE REQUEST: Technical Support Handler with HIL capability #118

@smokeyScraper

Description

@smokeyScraper

Is your feature request related to a problem?

  • Yes, it is related to a problem

Describe the feature you'd like

🌟 Feature Description

Implement an Interactive Technical Support Workflow using LangGraph's Human-in-the-Loop (HIL) capabilities. This feature will transform the existing troubleshooting process into a collaborative, real-time debugging session between the Devr.AI agent and the user who reported the issue.

🔍 Problem Statement

Currently, the agent's technical support workflow operates in a linear, non-interactive manner. It attempts to solve a problem by querying its knowledge sources (FalkorDB, Web Search) and providing a final answer. This approach has a significant drawback: if the agent's initial assumptions are wrong, it can waste resources pursuing an incorrect path and ultimately provide an irrelevant or unhelpful solution. It lacks a mechanism to validate its understanding and proposed actions with the person who has the most context—the user.

🎯 Expected Outcome

The successful implementation of this feature will result in a conversational and iterative troubleshooting experience.

  1. Collaborative Problem-Solving: The agent will work with the user, not just for them. It will pause at critical steps to ask for clarification, confirmation, and guidance.
  2. Increased Accuracy: By validating its approach with the user, the agent's actions will be far more targeted and relevant, leading to a higher probability of resolving the issue correctly.
  3. Better User Experience: Users will feel more engaged and in control of the support process, turning potential frustration into a productive partnership.
  4. Efficient Resource Use: The agent will avoid pursuing incorrect solution paths by getting immediate feedback, saving computational resources and time.

📷 Screenshots and Design Ideas

The core design is a conversational UI where the agent uses LangGraph's interrupt feature to pause and wait for the user's input.

Conceptual Flow:

  1. User asks a question: "I'm getting a ConnectionRefusedError in my dev environment."

  2. Agent Clarifies (HIL Interrupt 1): Instead of immediately searching, the agent asks for context.

    Agent: "I can help with that. To start, are you working in a specific repository, like AOSSIE-Project-X?"
    [Workflow Paused: Awaiting User Input]

  3. User Responds: "Yes, in Project-X."

  4. Agent Proposes Action (HIL Interrupt 2): The agent decides to use FalkorDB and seeks approval.

    Agent: "Great. I plan to query the database_connector.py file within that repository to check its configuration. Does that sound like the right first step?"
    [Workflow Paused: Awaiting User Input]

  5. User Approves: "Yes, go ahead."

  6. Agent Presents Options (HIL Interrupt 3): After analysis, the agent finds multiple possibilities and asks the user to help narrow them down.

    Agent: "My analysis suggests the error could be due to one of two things: an incorrect database host in your .env file or the Docker container for the DB not being active. Which one should we investigate first?"
    [Workflow Paused: Awaiting User Input]

This interactive back-and-forth continues until the user confirms the issue is resolved.

📋 Additional Context

This feature is a direct evolution of our goal to create a truly intelligent and helpful AI-powered DevRel assistant. It moves the agent from a simple "answer machine" to an active, collaborative partner in the developer workflow. This aligns with the core vision of Devr.AI to foster better engagement and provide meaningful support to the open-source community.

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on implementing this feature

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions