Powered by Exa - The Web Search API
Try the tool: https://demo.exa.ai/research-paper-app
Find Answers Based on Research Papers is a free app that uses Exa's search tool with AI to help you find research papers and get quick answers to your questions based on science papers.
This app makes it easy to search through research, get AI summaries, and chat with research papers to learn more about topics.
- Search Tool: Exa API - Web search made for research papers
- Frontend: Next.js with App Router, TailwindCSS, TypeScript
- AI Tools: Vercel Hosting + AI SDK
- Smart Paper Search: Find research papers using Exa's special search
- AI Answers: Get quick answers to your questions based on research papers
- Chat Feature: Chat with one paper or many papers at the same time
- Find Similar Papers: Discover related research papers by entering a paper URL
- Node.js (v18 or higher)
- Exa API key
- Anthropic API key (or other LLM provider key)
- Download the code
git clone https://github.com/exa-labs/research-paper-app.git
cd research-paper-app
- Install what you need
npm install
- Set up your API keys
Create a
.env.local
file and add:
EXA_API_KEY=your_exa_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
- Start the app
npm run dev
- Open http://localhost:3000 in your web browser
- Exa API Key: Get from Exa Dashboard
- Anthropic API Key: Get from Anthropic Console (or use other LLM providers)
Note: This app uses the Vercel AI SDK, so you can easily replace Anthropic with other LLM providers like OpenAI, Google, or others by updating the model configuration.
EXA_API_KEY=your_exa_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
research-paper-app/
├── app/
│ ├── api/
│ │ ├── answer/ # AI answers endpoint
│ │ ├── chat/ # Chat with papers endpoint
│ │ ├── exasearch/ # Paper search endpoint
│ │ └── similarpapers/ # Similar papers endpoint
│ ├── chatpage/ # Chat page
│ ├── layout.tsx # Main layout
│ └── page.tsx # Home page
├── components/
│ ├── ResearchPaperFinder.tsx # Main search part
│ ├── ChatWithPaper.tsx # Chat part
│ ├── CardResearchPaper.tsx # Paper card
│ ├── PaperDialog.tsx # Paper details popup
│ └── ui/ # UI parts
└── lib/ # Helper functions
⭐ About Exa
This app is powered by Exa.ai, a web search tool made for AI apps.
Built with ❤️ by the Exa team