r/PROJECT_AI • u/Icy_Bluebird8826 • 19d ago
I built an AI support agent that remembers previous troubleshooting steps instead of starting from zero
Hi everyone! I recently built a context-aware AI customer support agent, and I wanted to share the idea behind it and get some feedback.
One problem I noticed with many AI support systems is that conversations can effectively restart from zero.
For example, imagine a customer says:
“My webhook is still timing out.”
In a previous conversation, they had already explained that they use Node.js on AWS, reset their API keys, and checked their firewall configuration.
Without persistent memory, the AI might ask:
“What technology stack are you using?”
That repetition was the problem I wanted to solve.
My approach
I built the system using:
🧠 Hindsight — persistent memory
⚡ FastAPI — backend orchestration
🤖 Groq + Qwen — generating AI responses
💻 HTML, CSS and JavaScript — frontend
The workflow is:
Recall → Think → Generate → Remember
The system receives the customer's message.
Relevant previous information is retrieved from memory.
That context is provided along with the current message to the AI.
The AI generates a response using both the current issue and previous context.
The latest interaction is stored for future conversations.
So instead of repeatedly asking the customer to explain everything again, the agent can continue troubleshooting from where the previous conversation ended.
Example
Without memory:
Customer:
“The webhook is still timing out.”
AI:
“Can you explain your application setup?”
With persistent memory:
The agent can recognize the previous environment and troubleshooting history and move directly to the next relevant step.
I'm still improving the project, especially the memory retrieval quality and context management.
I'd genuinely appreciate feedback from developers:
What would you improve in this architecture?
🔗 GitHub/Project: https://github.com/dineshav05/hindsight-support-agent.gitI’d genuinely appreciate feedback on the architecture. What would you improve about the memory retrieval or context-management approach?
