The Best Open Source AI VC Analyst built with Next.js, Vercel AI SDK, and Valyu Deep Search API.
Specialized in financial analysis, academic research, and funding insights.
Explore the code »
RaiseAI is a production-ready AI chatbot designed for professionals who need more than just generic AI responses. It integrates Deep Search capabilities to provide real-time, authoritative data from financial markets, regulatory filings (SEC), academic papers (ArXiv, PubMed), and healthcare databases (FDA).
- Multi-Model Support: Seamlessly switch between top-tier models like Claude 3.5 Sonnet, GPT-4o, Gemini 2.0 Flash, and Grok 2.
- Artifacts UI: Generate and render code, spreadsheets, and documents side-by-side with your conversation.
- Valyu Deep Search Integration: Access real-time, structured data that standard LLMs cannot provide.
- Persistent History: Save and organize your chats with secure authentication via NextAuth.
- Modern UI: A beautiful, responsive interface built with Tailwind CSS and Framer Motion.
This is the core of RaiseAI. Unlike standard web search, Valyu Deep Search connects directly to specialized, high-integrity data sources across the web and proprietary data source.
What you can do with it:
- 💰 Financial Analysis: "Compare Tesla vs GM stock performance over the last year, including P/E ratios and market cap."
- 📜 Regulatory Research: "Find mentions of 'AI safety' in Microsoft's latest 10-K SEC filing."
- 🔬 Academic Research: "Search ArXiv for the latest papers on 'Transformer architecture optimization' from 2024."
- 💊 Healthcare Insights: "Search FDA drug labels for interactions between Metformin and Lisinopril."
How it works:
When you ask a complex question, RaiseAI automatically (or manually via toggle) engages the Valyu tool. It queries specific indexes (e.g., valyu-stocks-US, valyu-pubmed), retrieves the raw data, and synthesizes a comprehensive answer with citations, charts, and data tables.
- Framework: Next.js 15 (App Router)
- AI SDK: Vercel AI SDK for unified model access.
- Database: Postgres (via Drizzle ORM) for chat history.
- Authentication: NextAuth.js (v5).
- Styling: Tailwind CSS & shadcn/ui.
- Search Provider: Valyu for deep search across Valyu’s comprehensive knowledge base including web content, academic journals, financial data, and proprietary datasets. The DeepSearch API returns AI ready search results that are perfect for RAG pipelines, AI agents, and applications
- Node.js 18+
- pnpm (recommended)
- A generic Postgres database (e.g., Vercel Postgres, Neon, Supabase)
- API Keys for:
- OpenAI (or your preferred model provider)
- Valyu (for Deep Search)
- Auth Secret (for NextAuth)
git clone https://github.com/unicodeveloper/raise-ai.git
cd raise-aipnpm installCopy the example environment file:
cp .env.example .env.localFill in the required values in .env.local:
# Database (Postgres)
POSTGRES_URL="postgres://..."
# Authentication (Generate a random string: openssl rand -base64 32)
AUTH_SECRET="your-secret-key"
# AI Model Provider (Vercel AI Gateway or Direct)
OPENAI_API_KEY="sk-..."
# Valyu Deep Search (Required for search features)
VALYU_API_KEY="valyu-..."Run the database migrations to set up your schema:
pnpm db:migratepnpm devOpen http://localhost:3000 in your browser.
The easiest way to deploy is via Vercel.
- Click the Deploy button at the top of this README.
- Connect your GitHub repository.
- Add your environment variables (
POSTGRES_URL,AUTH_SECRET,VALYU_API_KEY, etc.) during the setup flow. - Vercel will automatically build and deploy your application.
For database hosting, Vercel Postgres is the easiest integration, but any Postgres provider will work.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/this-nice-feature) - Commit your changes (
git commit -m 'Add some nice feature') - Push to the branch (
git push origin feature/nice-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.