Skip to content

dnspavankumar/DeepBusinessResearchAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Business Intelligence Research Agent A sophisticated Next.js platform that provides AI-powered market research and competitive analysis for startups and entrepreneurs. Features interactive charts, modern UI, and comprehensive business insights. ## Features - 📊 **Market Analysis**: AI-powered market size, growth rate, and trend analysis - 🏢 **Competitor Intelligence**: Comprehensive competitive landscape mapping - 💡 **Opportunity Assessment**: Business opportunity scoring and strategic insights - 📈 **Interactive Charts**: Beautiful visualizations using Chart.js (Doughnut, Bar, Radar) - 🎯 **Strategic Recommendations**: AI-generated business strategy and market entry advice - ✨ **Premium UI**: Sleek, professional design with glassmorphism effects - 🌐 **Real-time Research**: Live web scraping for current market data - 📱 **Responsive Design**: Optimized for desktop, tablet, and mobile devices - ⚡ **Fast Analysis**: Quick turnaround on comprehensive business intelligence ## Setup 1. **Install dependencies**: ```bash npm install ``` 2. **Configure environment variables**: Copy `.env.local` and add your API keys: ``` FIRECRAWL_API_KEY=your_firecrawl_api_key GROQ_API_KEY=your_groq_api_key ``` 3. **Run the application**: **Web UI**: ```bash npm run dev ``` Then open http://localhost:3000 **CLI**: ```bash npm run cli ``` ## Usage ### Web Interface 1. Open the web application 2. Enter your developer tools query (e.g., "database hosting platforms", "CI/CD tools") 3. Click "Research" to get comprehensive results ### CLI Interface 1. Run `npm run cli` 2. Enter your queries when prompted 3. Type "quit" or "exit" to stop ## Example Business Ideas - "AI-powered fitness app" - "Sustainable food delivery service" - "Remote work productivity platform" - "Mental health support app" - "Fintech solution for small businesses" - "EdTech platform for coding bootcamps" ## Architecture - **Next.js 14**: App router with TypeScript - **Firecrawl**: Web scraping and search - **Groq**: Llama 3.1 70B for analysis and recommendations - **Zod**: Type-safe schema validation - **Tailwind CSS**: Styling for web UI ## API Endpoints - `POST /api/research`: Main research endpoint that accepts a query and returns structured results ## Project Structure ``` ├── app/ │ ├── api/research/route.ts # API endpoint │ ├── page.tsx # Main web interface │ └── layout.tsx # App layout ├── lib/ │ ├── workflow.ts # Main workflow logic │ ├── firecrawl.ts # Firecrawl service │ ├── prompts.ts # AI prompts │ └── types.ts # TypeScript types ├── cli.js # Command-line interface └── README.md ``` ## Comparison with Python Version This Next.js implementation provides the same core functionality as the Python version: - ✅ Tool extraction from web articles - ✅ Company/tool research and analysis - ✅ AI-powered recommendations - ✅ CLI interface - ✅ Structured output with pricing, tech stack, etc. - ➕ Web UI for easier interaction - ➕ TypeScript for better type safety - ➕ Modern React-based interface ## License MIT# DeepBusinessResearchAssistant