Devr.AI icon indicating copy to clipboard operation
Devr.AI copied to clipboard

FEATURE REQUEST: Technical Support Handler with HIL capability

Open smokeyScraper opened this issue 1 year ago β€’ 10 comments

Is your feature request related to a problem?

  • [x] 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

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

smokeyScraper avatar Aug 03 '25 20:08 smokeyScraper

Hi πŸ‘‹ @smokeyScraper ,

This is a great feature idea, and I’d love to contribute to implementing it!

I have experience working with conversational AI, human-in-the-loop systems, and tools like LangGraph, GenAI APIs (e.g., Gemini), and React-based UIs. I'm confident I can help build an interactive technical support workflow as described.

Please let me know if I can proceed with this or if there are any additional guidelines I should follow before getting started.

Looking forward to contributing! πŸš€

Muneerali199 avatar Aug 04 '25 22:08 Muneerali199

Hey @Muneerali199, assigning to you. Please do lmk if you face any difficulties.

Please do refer -> Notion HIL overview Add HIL Example for HIL implementations

smokeyScraper avatar Aug 05 '25 19:08 smokeyScraper

Hi, I'm Aryan can I get this assigned?

Code-Builder-io avatar Aug 22 '25 09:08 Code-Builder-io

Hey @smokeyScraper I'm done with the basic structural code for the bot and understanding the workflow of the responses .It is responding to "I need tech support" on my private server.I just need to fix the bot's flow on handling queries.

Code-Builder-io avatar Aug 22 '25 15:08 Code-Builder-io

https://github.com/user-attachments/assets/f5b1fc02-90e6-4881-9b7a-c691484f6325 A test run is shown in this video

Code-Builder-io avatar Aug 23 '25 13:08 Code-Builder-io

any update @Code-Builder-io ? Are you still working on the issue?

smokeyScraper avatar Oct 11 '25 08:10 smokeyScraper

I was @smokeyScraper but my monitor isn't working from the last week and it's being repaired.

Code-Builder-io avatar Oct 11 '25 08:10 Code-Builder-io

Hi @smokeyScraper I would like to work on this issue

DhruvK278 avatar Oct 29 '25 20:10 DhruvK278

Hey @smokeyScraper can you assign this issue to me?

Aaditya8C avatar Oct 30 '25 13:10 Aaditya8C

hey @smokeyScraper i would like to create a pr for this issue will you please assign it to me i will not disappoint you

Abhinandankaushik avatar Feb 08 '26 13:02 Abhinandankaushik