Skip to content

Repository files navigation

RAG Analysis Engine

An AI-powered research tool that analyzes AI search citations, evaluates source coverage, and identifies topics where stronger authoritative information may be needed.

View the live application


About the Project

The RAG Analysis Engine was built to explore how AI search systems retrieve information, select supporting sources, and construct answers.

Users enter a topic or niche idea, and the engine:

  1. Searches for relevant sources
  2. Reviews the citations returned
  3. Evaluates source coverage
  4. Identifies potential information gaps
  5. Generates practical content recommendations
  6. Provides links to the supporting sources

The project began as an experiment in finding “information deserts”: subjects where AI systems may have limited, fragmented, or insufficiently authoritative material available.


Live Demo

RAG Analysis Engine

https://rag-analysis-engine.vercel.app/

The repository also includes GEO Pulse, a separate experimental engine available at:

https://rag-analysis-engine.vercel.app/geopulse

GEO Pulse analyzes a business website in relation to a target-market keyword.


Features

  • AI-powered search analysis
  • Live citation and source discovery
  • Information-gap detection
  • Opportunity summaries
  • Actionable content recommendations
  • Clickable supporting sources
  • Expandable technical JSON output
  • Error handling and input validation
  • Responsive user interface

Example Use Cases

The engine can help users explore:

  • underserved content topics
  • niche business ideas
  • emerging product categories
  • local-market information gaps
  • weakly documented industry questions
  • opportunities for authoritative educational content

Technology Stack

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Firecrawl API
  • OpenAI API
  • Vercel

Application Structure

app/
├── api/
│   └── void-check/
│       └── route.ts
├── geopulse/
│   └── page.tsx
├── test/
│   └── page.tsx
└── page.tsx

The application separates the user interface, API routes, source retrieval, and analysis logic so the engine can be expanded into additional research and recommendation tools.


Running Locally

Clone the repository:

git clone https://github.com/peachsites/rag-analysis-engine.git

Open the project:

cd rag-analysis-engine

Install the dependencies:

npm install

Create a local environment file:

cp .env.example .env.local

Add the required environment variables:

FIRECRAWL_API_KEY=
OPENAI_API_KEY=

Start the development server:

npm run dev

Open:

http://localhost:3000

Current Limitations

The engine identifies potential opportunities based on the sources returned during each analysis. Results should be treated as research guidance rather than a guarantee of search rankings, traffic, citations, or commercial success.

Source availability and model responses may change over time.


Roadmap

Future improvements may include:

  • saved searches
  • historical opportunity tracking
  • competitor comparisons
  • downloadable reports
  • multi-keyword research
  • business visibility monitoring
  • user accounts
  • subscription features

Author

Built by Randa


License

© 2026 Randa. All rights reserved. This repository is provided for demonstration and portfolio purposes.

About

AI-powered research tool for analyzing AI search citations and identifying underserved content opportunities.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages