This project is an intelligent assistant that combines multiple AI agents to answer questions more accurately. Depending on the query, the system decides whether to retrieve information from a database or from the web.
When a user asks a question, a supervisor agent analyzes the intent and chooses the best path:
- If the query requires structured data, it is sent to an SQL database.
- If it requires general or up-to-date information, it triggers a web search.
The selected agent processes the request and generates a response. All context is stored in memory to improve future interactions.
- Multi-agent architecture
- Intelligent query routing
- Natural language to SQL translation
- Web search integration
- Session-based conversational memory
- Fast responses powered by Groq
- SQLite database (Chinook Database)
- Context-aware interactions
- Python
- LangGraph
- LangChain
- Groq (Llama 3.3 70B)
- Tavily API
- SQLite
- Chinook Database
- The user sends a question.
- A supervisor agent decides whether to use the database or the web.
- The appropriate agent processes the query.
- A final response is generated.
- The conversation is stored to maintain context.
- Natural language database querying
- Multi-agent AI systems
- Retrieval-Augmented Generation (RAG) applications
- Conversational assistants
- Context-aware question answering systems