An offline-first SaaS workspace that parses study documents, extracts structured notes, generates customized practice quizzes (MCQ, True/False, Short & Long Answer), and grades your answers dynamically using a local Llama agent pipeline.
- 📑 Multi-Format Parsing: Upload PDFs,
.docxfiles, and plain text files. - 🦙 Local AI Processing: Powered entirely offline by Ollama (
llama3.2text generation andnomic-embed-textembeddings). - 🗂️ Vector Indexing: Document chunks embedded and indexed in ChromaDB for search and retrieval.
- 📝 Interactive Quizzes: Immediate scoring and evaluation critiques. Short/long answers are reviewed qualitatively (0-100 score, missing points, and advice on how to improve).
- ⚡ Real-Time Status Tracker: Watch the agent execute in real-time with step-by-step descriptions (AI Node 1/4 -> AI Node 2/4 -> AI Node 3/4 -> AI Node 4/4).
- 🎨 Human-Crafted Minimalist UI: Sleek Stripe/Linear style interface with curated monochrome accents, high-quality outline SVG icons, and a responsive layout.
graph TD
A[File Uploaded] --> B[Text Extraction]
B --> C[Vector Embedding with nomic-embed-text]
C --> D[(ChromaDB)]
E[AI Agent Launch] --> F[AI Node 1: Analyze Topics]
F --> G[AI Node 2: Generate Study Notes]
G --> H[AI Node 3: Write Practice Questions]
H --> I[AI Node 4: Quality Review]
I --> J[(SQLite DB Storage)]
K[Practice Quiz] --> L[Submit Answer]
L --> M{Is Short/Long?}
M -- Yes --> N[Ollama Grading Engine]
M -- No --> O[Exact String Match]
N --> P[Render feedback, score & suggestions]
O --> P
- Ollama: Download & Install Ollama
- Python: Version
3.10or higher - Node.js: Version
18or higher
Make sure Ollama is running and pull the required text generation and embedding models:
ollama pull llama3.2
ollama pull nomic-embed-text- Navigate into the backend directory:
cd backend - Create and activate a Python virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Copy the environment template:
cp .env.example .env
- Start the FastAPI development server:
uvicorn app.main:app --reload
The backend API documentation will be available at http://localhost:8000/docs.
- Navigate into the frontend directory:
cd frontend - Install dependencies:
npm install
- Start the Next.js development server:
npm run dev
Open http://localhost:3000 in your browser to start studying!
- Frontend: Next.js (App Router), React, Vanilla CSS, custom SVG icons.
- Backend: FastAPI, SQLAlchemy (SQLite), LangChain / LangGraph, PyPDF, python-docx.
- Vector Database: ChromaDB (integrated locally).
- Inference: Ollama (running locally on localhost).