AI-powered competitive intelligence in seconds. Enter a brand name and receive a streamed, multi-section competitive analysis — powered by an AI agent that autonomously researches, analyzes, and reports in real time.
Live demo: Deployed on Vercel
CompIntel uses Claude (via the Vercel AI SDK) as an autonomous agent with tool use. When you enter a brand name, the agent:
- Discovers competitors via web search (Tavily)
- Gathers financial data (Alpha Vantage) and company profiles (Tavily)
- Analyzes recent news and sentiment (NewsAPI)
- Generates a structured intelligence report, streamed in real time
The report includes a competitive landscape overview, competitor profile cards, a market share chart, SWOT analysis grid, news feed with sentiment badges, and strategic recommendations.
| Layer | Technology |
|---|---|
| Framework | Next.js (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS + shadcn/ui |
| AI | Vercel AI SDK + Claude Sonnet |
| Charts | Recharts |
| Data: Web search | Tavily API |
| Data: Financials | Alpha Vantage API |
| Data: News | NewsAPI.org |
| Hosting | Vercel |
- Clone the repository:
git clone https://github.com/dell-zhang/comp-intel.git
cd comp-intel- Install dependencies:
pnpm install- Create a
.env.localfile with your API keys:
ANTHROPIC_API_KEY=sk-ant-...
TAVILY_API_KEY=tvly-...
ALPHA_VANTAGE_API_KEY=...
NEWS_API_KEY=...
- Start the development server:
pnpm devThe app will be running at localhost:3000.
Built by Dell Zhang with the help of Claude Code. Bootstrapped from the Vercel AI Chatbot template.