InquireAI uses a sophisticated 3-step process for every query:
- 🔍 Query Analysis: The AI analyzes your question to determine the best search strategies
- 🌐 Multi-Search Execution: Performs multiple targeted web searches based on the analysis
- 📝 Intelligent Response: Combines search results with AI knowledge to provide comprehensive, source-cited answers
- Always Current: Every response includes the latest web information
- Source Citations: All information is properly cited with clickable source links
- Search Transparency: See exactly what queries were used to find information
- Multi-Perspective: Gathers information from multiple sources for balanced answers
- Real-time Data: Access to current news, prices, weather, and more
- Node.js 18+
- pnpm (recommended) or npm
- Google Gemini API Key
- Google Custom Search API Key
Create a .env.local file in the root directory:
# Clone the repository
git clone <your-repo-url>
cd inquire
# Install dependencies
pnpm install
# Run the development server
pnpm devOpen http://localhost:3000 to start chatting!
# Development server
pnpm dev
# Build for production
pnpm build
# Start production server
pnpm start
# Lint code
pnpm lintThe AI automatically determines what information needs to be searched based on your question, considering:
- Time-sensitive information (news, weather, prices)
- Technical how-to questions
- Factual queries requiring current data
- Multi-perspective topics
- Clickable Sources: All search results are displayed as clickable cards
- Citation Numbers: Sources are referenced with [1], [2], etc. in responses
- Search Transparency: See exactly what queries were used
- Multiple Perspectives: Gathers information from various sources
- Progressive Loading: Shows analysis → searching → generating phases
- Typing Animation: Realistic AI response typing
- Auto-scroll: Automatically scrolls to new messages
- Error Handling: Graceful error messages and recovery