Skip to content

exa-labs/research-paper-app

Repository files navigation

📚 Find Answers Based on Research Papers

Powered by Exa - The Web Search API

Screenshot


🎯 What is Find Answers Based on Research Papers?

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.


💻 Tech Stack


✨ Features

  • 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

🚀 Getting Started

What You Need

  • Node.js (v18 or higher)
  • Exa API key
  • Anthropic API key (or other LLM provider key)

How to Set Up

  1. Download the code
git clone https://github.com/exa-labs/research-paper-app.git
cd research-paper-app
  1. Install what you need
npm install
  1. 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
  1. Start the app
npm run dev
  1. Open http://localhost:3000 in your web browser

🔑 API Keys & Setup

API Keys You Need

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.

Environment File

EXA_API_KEY=your_exa_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here

🛠️ How It's Built

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.

Try Exa API



Built with ❤️ by the Exa team

About

Find Answers Based on Research Papers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published