# mayooear/ai-pdf-chatbot-langchain

AI PDF chatbot agent built with LangChain & LangGraph

Repository: https://github.com/mayooear/ai-pdf-chatbot-langchain
Canonical: https://ross.abutalabs.com/products/ai-pdf-chatbot-langchain
Homepage: https://www.youtube.com/watch?v=OF6SolDiEwU
Language: TypeScript
License: MIT
License Family: permissive
Topics: langchain, nextjs, openai, pdf, typescript, ai, chatbot, langgraph, agents
Archived: true
Last push: 2026-03-27T16:04:05+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 35, longevity 90
- inputs: {"age_days": 1266, "days_push": 159, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16598, forks 3230 (observed 2026-08-28T04:11:16.802870+00:00)

## What it is
A monorepo template for an AI PDF chatbot agent that ingests PDFs, stores embeddings in Supabase, and answers questions using OpenAI via LangChain and LangGraph orchestration. It includes a Next.js chat frontend with file upload and streaming responses, and accompanies the book 'Learning LangChain' (O'Reilly).

## Use cases
- chat with pdf documents using an llm
- build a rag chatbot over pdf files
- learn langchain and langgraph by example
- ingest pdfs into a vector database and query them
- stream llm answers in a next.js chat ui
- customize a document question-answering agent

## When to choose
- you want a working reference implementation of a PDF RAG chatbot with LangGraph
- you are following the Learning LangChain book and want the companion code
- you need a starting template with Next.js frontend, ingestion graph, and retrieval graph

## When to avoid
- you need actively maintained software with issue/PR support - the repo is kept for reference only
- you want a production-ready document chatbot without customization
- you prefer a different stack than Next.js, Supabase, and OpenAI

## Facets
- artifact type: application
- maturity: maintenance
- function: rag, chatbot, agent-framework, llm-inference, pdf, vector-database, web-framework
- domain: artificial-intelligence, large-language-models, chatbots, pdf, web-development
- platform: self-hosted
- tags: langchain, langgraph, nextjs, openai, supabase, pdf-chatbot, template, tutorial, retrieval-augmented-generation, nodejs, typescript, web-server

## Member repositories
- mayooear/ai-pdf-chatbot-langchain (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:16.802870+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:04:51.239768+00:00, confidence not recorded.
  - readme: https://github.com/mayooear/ai-pdf-chatbot-langchain (fetched 2026-08-28T04:11:16.802870+00:00, sha 066d12db0b69)
  - homepage: https://www.youtube.com/watch?v=OF6SolDiEwU (fetched 2026-08-29T08:02:22.428828+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
