Demia, your HR virtual assistant

About this project
Demia is an HR virtual assistant for both employees and HR managers.
Employees can use it to get answers about internal HR policies and read their own data in the HR system.
HR managers can use it to get insights about all employees from the internal HR data. It is intended to be a first-level self-service analytics. HR managers can get insights from data in terms of figures, graphs or involve the analytics team fur further investigation or requests.
For this role, Demia is built as a multi-agent system with a central coordinator. A LangGraph workflow provides the orchestration mechanism, executing and managing the decisions made by the coordinator.
Following user input, provided either through chat or voice, the request is passed to the coordinator agent. The coordinator interprets the user's intent and delegates the task to the appropriate specialist agent:
the Chat Agent, which handles HR-related questions using RAG
the SQL Agent, which retrieves and analyses HR data through database query tools
the Visualization Agent, which generates visual representations of analytical results provided by the SQL agent.
The coordinator collects and synthesises the outputs returned by the specialist agents. Based on the results and conversation context, it can proactively suggest relevant follow-up questions or additional analyses to the user (automatic insights). If the user requests modifications or provides additional details, the coordinator incorporates the new information into the existing context, refines the task and delegates it again to the relevant specialist agent(s).
Human support is available throughout the interaction (HITL). At any point, through the wake phrase "Team, ..." the user can request assistance from the People Analytics team. The coordinator forwards the request and relevant conversation context to the team through Slack. The team's response is then relayed back to the application, allowing the user to continue the interaction.