GrantLens — Research Funding Discovery
Research Discovery AI
An evidence-grounded research assistant for hybrid grant discovery, applicant-fit checks, literature reviews, cited document Q&A and deadline tracking.
Repository overview
Hybrid semantic search over research funding, plus an academic research assistant. Watch the 8-minute demo : every feature, the stack and models, and the measured results, including what didn't work.
Project features
- Search: Keyword (BM25) and meaning (embedding) search fused into one ranking, with filters for status, agency, close date and amount
- Fit check: Compares your profile with a grant's own text. Every met or not-met verdict must quote the grant, or it is downgraded to unclear
- Find grants for my work: Paste a summary or give an ORCID; get open grants ranked against your work, with your closest paper shown for each
- Paper search: Scholarly papers through OpenAlex
- Literature reviews: Themes, per-paper annotations and theme summaries, each backed by a quote from the abstract. Built as a background job
- Documents: Upload a PDF and ask questions; answers carry a verified citation, and unanswerable questions say so
- Watchlist, saved searches, deadlines: Track grants, email alerts and reminders (verified addresses only), a deadline calendar
Documented architecture and workflow
- Backend: Flask, Postgres 16 with pgvector (HNSW), Redis, a separate worker process for slow jobs - Frontend: Next.js 16 and TypeScript - Run and ship: Docker Compose, Caddy (automatic HTTPS), GitHub Actions (tests, images to GHCR, deploy script with rollback) - Models: BAAI/bge-small-en-v1.5 embeddings run locally; OpenAI gpt-4o-mini writes answers, summaries and checks. Llama 3.1 8B through Hugging Face is an optional backend ( LLM BACKEND=hf )
Technology
Next.js 16 · Flask · pgvector · Hybrid search
Repository snapshot
Python · 0 stars · 0 forks · updated 2026-11-03T13:04:45Z
Demos and evidence
- Searching grants in GrantLens — documentation
- Watch the 8-minute demo — documentation
- Project demo — portfolio
- Project preview — portfolio
- Source and implementation — repository