<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Divyanshi Gupta</title>
    <description>The latest articles on DEV Community by Divyanshi Gupta (@divyanshigupta491).</description>
    <link>https://dev.to/divyanshigupta491</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Divyanshi Gupta</title>
      <link>https://dev.to/divyanshigupta491</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/divyanshigupta491"/>
    <language>en</language>
    <item>
      <title>AcadFlow — I Built an AI Academic Operating System for My Friend Who Drowns in Deadlines Every Semester</title>
      <dc:creator>Divyanshi Gupta</dc:creator>
      <pubDate>Sun, 04 Oct 2026 14:58:54 +0000</pubDate>
      <link>https://dev.to/divyanshigupta491/acadflow-i-built-an-ai-academic-operating-system-for-my-friend-who-drowns-in-deadlines-every-7h6</link>
      <guid>https://dev.to/divyanshigupta491/acadflow-i-built-an-ai-academic-operating-system-for-my-friend-who-drowns-in-deadlines-every-7h6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;My closest friend, Priya, is a third-year Computer Science student. Every semester, she drowns in the same chaos — missed assignment notifications buried in WhatsApp groups, half-remembered quiz dates, and study plans that collapse the moment a professor reschedules a lab.&lt;/p&gt;

&lt;p&gt;She does not lack information. She has &lt;em&gt;too much&lt;/em&gt;, scattered across five apps, three portals, and a camera roll full of screenshots.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;AcadFlow&lt;/strong&gt; — an AI Academic Operating System that solves exactly this problem. Instead of another generic planner or a ChatGPT wrapper that confidently invents fake deadlines, AcadFlow is a &lt;strong&gt;deterministic planning engine with open-source AI assistance&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it does:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Academic Inbox&lt;/strong&gt;: Paste raw WhatsApp announcements, upload syllabus PDFs, or voice-dictate assignment requirements. Open-source LLMs extract structured tasks, courses, and deadlines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Hallucination Priority Engine&lt;/strong&gt;: Every task gets a mathematically computed priority score (RED / ORANGE / YELLOW / GREEN). If a deadline is not explicitly stated, it stays &lt;code&gt;null&lt;/code&gt; — the system never invents one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daily Planner&lt;/strong&gt;: Generates focus blocks within a customizable study-hour budget, with cognitive breaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive Replanning&lt;/strong&gt; &lt;em&gt;(Signature Feature)&lt;/em&gt;: When Priya reports "I only finished 45 minutes of DBMS instead of 90", AcadFlow recalculates the entire schedule — safely shifting low-priority tasks to tomorrow while preserving imminent exam revision. It explains its trade-offs in plain language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Base (RAG)&lt;/strong&gt;: Upload lecture notes and study guides. Ask questions grounded in actual indexed documents with source citations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workload Analytics&lt;/strong&gt;: Tracks completion rates and learns that Priya consistently takes 30% longer on programming assignments, automatically adjusting future estimates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Goals &amp;amp; Projects&lt;/strong&gt;: Long-term milestone tracking and collaborative project management with AI blocker warnings.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live Frontend (Vercel)&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://acadflow-devchallenge1.vercel.app" rel="noopener noreferrer"&gt;https://acadflow-devchallenge1.vercel.app&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;GitHub Pages (Landing Showcase)&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://divyanshigupta786.github.io/Acadflow-devchallenge1/" rel="noopener noreferrer"&gt;https://divyanshigupta786.github.io/Acadflow-devchallenge1/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Try the Pre-loaded Demo Student Account:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Email&lt;/strong&gt;: &lt;code&gt;demo@acadflow.dev&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password&lt;/strong&gt;: &lt;code&gt;demo123&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pre-loaded with 5 real CS courses, 12 realistic tasks, an active daily schedule, indexed study documents, and a collaborative AI project — ready to explore immediately.&lt;/p&gt;




&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/divyanshigupta786" rel="noopener noreferrer"&gt;
        divyanshigupta786
      &lt;/a&gt; / &lt;a href="https://github.com/divyanshigupta786/Acadflow-devchallenge1" rel="noopener noreferrer"&gt;
        Acadflow-devchallenge1
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;AcadFlow — AI-Powered Academic Operating System&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From academic chaos to clarity.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;AcadFlow is a production-quality, open-source AI academic productivity and planning platform. Designed for college and university students managing multiple courses, assignments, exams, projects, and extracurriculars, AcadFlow transforms fragmented academic information into an adaptive, personalized action plan.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Product Philosophy: Not Another Chatbot&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Students do not have a lack of academic information; they have an &lt;strong&gt;academic information overload problem&lt;/strong&gt;. Academic information is scattered across:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WhatsApp messages&lt;/li&gt;
&lt;li&gt;Google Classroom&lt;/li&gt;
&lt;li&gt;College ERP &amp;amp; Portals&lt;/li&gt;
&lt;li&gt;Emails &amp;amp; PDFs&lt;/li&gt;
&lt;li&gt;Screenshots &amp;amp; handwritten notes&lt;/li&gt;
&lt;li&gt;Project chat threads&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;AcadFlow replaces manual planning with an academic decision and planning engine powered by open-source AI.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Core Loop&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;INPUT ──► UNDERSTAND ──► PRIORITIZE ──► PLAN ──► EXECUTE ──► MONITOR ──► REPLAN
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;2. Signature Feature: Adaptive Replanning&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;When a student reports:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"I only completed 45 minutes of DBMS."&lt;/em&gt; or &lt;em&gt;"I lost 2 hours today."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;AcadFlow does &lt;strong&gt;not&lt;/strong&gt; simply…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/divyanshigupta786/Acadflow-devchallenge1" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Project Structure
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Acadflow-devchallenge1/
├── frontend/                 # Next.js 14 (App Router) + TypeScript + Tailwind
│   └── src/
│       ├── app/              # 17 pages: dashboard, tasks, inbox, courses, analytics...
│       ├── components/       # Sidebar, Navbar, ThemeToggle, Footer...
│       └── lib/              # api.ts, types.ts, utils.ts
├── backend/                  # Python 3.11 + FastAPI + SQLAlchemy
│   └── app/
│       ├── main.py           # Application entry point
│       ├── config.py         # Pydantic Settings + Supabase config
│       └── routers/          # Auth, tasks, courses, inbox, planner, AI endpoints
│           └── ai.py         # Ollama LLM + deterministic fallback + RAG
├── backend/tests/            # 13 test cases (pytest)
├── index.html                # Standalone self-contained landing page showcase
├── docker-compose.yml        # One-command stack: FastAPI + Next.js + PostgreSQL + Ollama
└── .github/workflows/        # CI + GitHub Pages automated deployment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Open-Source AI Architecture
&lt;/h3&gt;

&lt;p&gt;AcadFlow is built around a &lt;strong&gt;dual-intelligence&lt;/strong&gt; architecture that decouples AI assistance from deterministic business logic:&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Local LLM Inference via Ollama
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# backend/app/routers/ai.py
&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;settings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OLLAMA_BASE_URL&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;/api/generate&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;settings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OLLAMA_MODEL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;# qwen2.5:7b, llama3.2, mistral, gemma2
&lt;/span&gt;        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;prompt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;extraction_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;stream&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Supported models: &lt;strong&gt;Qwen 2.5:7b&lt;/strong&gt;, &lt;strong&gt;Llama 3.2&lt;/strong&gt;, &lt;strong&gt;Mistral 7B&lt;/strong&gt;, &lt;strong&gt;Gemma 2&lt;/strong&gt;, plus any OpenAI-compatible local endpoint.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Anti-Hallucination Rules (Hardcoded)
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# The LLM is explicitly instructed:
# "If you are not 100% certain of the deadline from the text, set deadline to null."
# "Never invent, estimate, or assume deadlines."
# Inferred estimates are tagged ai_estimate=True and shown visually in the UI.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Deterministic Priority Engine (Zero LLM Involvement)
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Priority Score = (Urgency + Importance + Workload + Dependency Risk + Exam Proximity)
                 ─────────────────────────────────────────────────────────────────────
                                   Completion Progress Factor

RED    &amp;gt;= 75  →  Imminent deadline (&amp;lt;24h), exam, or overdue
ORANGE 50-74  →  Due within 48h or blocking teammates
YELLOW 25-49  →  Standard runway assignments
GREEN  &amp;lt; 25   →  Extended deadlines or completed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4. Adaptive Replanning Engine
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;replan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;student_report&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;active_tasks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;today_budget_minutes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# 1. Parse what was completed vs planned
&lt;/span&gt;    &lt;span class="c1"&gt;# 2. Recalculate remaining workload per task
&lt;/span&gt;    &lt;span class="c1"&gt;# 3. Identify tasks safely shiftable (low priority, distant deadline)
&lt;/span&gt;    &lt;span class="c1"&gt;# 4. Preserve imminent exam revision and high-stakes deadlines
&lt;/span&gt;    &lt;span class="c1"&gt;# 5. Return new schedule + plain-language trade-off explanation
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5. Knowledge Base RAG
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Documents are chunked, embedded with &lt;strong&gt;BGE Embeddings&lt;/strong&gt;, stored in &lt;strong&gt;pgvector&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Queries retrieve top-k chunks by cosine similarity.&lt;/li&gt;
&lt;li&gt;Every AI answer includes source citations linking back to the original document.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Frontend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Next.js 14 (App Router), TypeScript, Tailwind CSS, Lucide Icons&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Backend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Python 3.11, FastAPI, Pydantic v2, SQLAlchemy 2.0, Uvicorn&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Database&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQLite (local dev) / PostgreSQL + pgvector / Supabase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AI Inference&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ollama — Qwen 2.5, Llama 3.2, Mistral, Gemma 2 + Deterministic Fallback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Embeddings &amp;amp; RAG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BGE Embeddings + cosine similarity via pgvector&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;UI Design&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cormorant Garamond + Poppins, cream/teal palette, dark/light theme&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Containerization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Docker + Docker Compose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Deployment&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vercel (frontend) + GitHub Pages + GitHub Actions CI/CD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tests&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pytest — 13 test cases&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Student Privacy Cannot Be Negotiated
&lt;/h3&gt;

&lt;p&gt;A proprietary closed API like GPT-4 would mean sending every student's assignment text, course names, exam schedules, and study patterns to a third-party commercial server. With Ollama, &lt;strong&gt;no academic data ever leaves Priya's laptop&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Zero Cost = Universal Access
&lt;/h3&gt;

&lt;p&gt;University students do not have budgets for $20/month API subscriptions. With open-weight models (Llama, Qwen, Gemma — all free, all local), the entire system runs on a consumer laptop with 8–16GB RAM. A closed API would price out the exact students who need it most — those in emerging economies without premium subscription budgets.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Deterministic Reliability Over Probabilistic Drift
&lt;/h3&gt;

&lt;p&gt;The most critical feature — the &lt;strong&gt;Priority Engine and Adaptive Replanning&lt;/strong&gt; — uses &lt;strong&gt;zero AI&lt;/strong&gt;. It runs deterministic math. This architectural decision was only possible because open-source models forced intentionality: &lt;em&gt;use AI only where it adds value, hardcode everything where correctness is non-negotiable.&lt;/em&gt; Proprietary APIs tempt developers to "just ask GPT what priority this task should be" — leading to hallucinated urgency and fabricated deadlines. Open-source models prevented this anti-pattern.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Community Auditability for Academic Tools
&lt;/h3&gt;

&lt;p&gt;Any tool that affects a student's study plan and exam preparation must be transparent. With open-source models and a fully open-source codebase, any student, professor, or researcher can audit exactly how AcadFlow makes its recommendations. Closed APIs are black boxes. Open innovation means accountability.&lt;/p&gt;




&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project was built with &lt;strong&gt;Google Antigravity (AGY)&lt;/strong&gt; AI coding assistant. The session covered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Designing the deterministic priority scoring system and anti-hallucination pipeline&lt;/li&gt;
&lt;li&gt;Building the Adaptive Replanning Engine&lt;/li&gt;
&lt;li&gt;Full Next.js 14 App Router frontend with 17 pages&lt;/li&gt;
&lt;li&gt;Real-time dark/light theme toggle with localStorage persistence&lt;/li&gt;
&lt;li&gt;Supabase + PostgreSQL backend integration&lt;/li&gt;
&lt;li&gt;GitHub Actions CI/CD pipeline&lt;/li&gt;
&lt;li&gt;Live Vercel deployment and debugging (including fixing a &lt;code&gt;@/lib/api&lt;/code&gt; gitignore exclusion bug mid-deployment)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open Source AI&lt;/strong&gt; — Built entirely on open-weight models (Ollama, Qwen, Llama, Gemma, BGE Embeddings). Zero proprietary closed APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of AI&lt;/strong&gt; — Deterministic + AI hybrid architecture solving real academic planning with zero hallucination guarantees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Deployed Project&lt;/strong&gt; — Live on Vercel (Next.js frontend) and GitHub Pages (showcase).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Student Developer&lt;/strong&gt; — Built by a student, for a student.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Acceptance Criteria
&lt;/h2&gt;

&lt;p&gt;✅ Register, login, and JWT session handling&lt;br&gt;
✅ One-click seeded demo student account (&lt;code&gt;demo@acadflow.dev&lt;/code&gt;)&lt;br&gt;
✅ Academic Inbox (raw text, PDF upload, voice input)&lt;br&gt;
✅ Open-source LLM extraction with zero-hallucination deterministic fallback&lt;br&gt;
✅ Review &amp;amp; edit extracted items before saving&lt;br&gt;
✅ Deterministic Priority Engine (RED / ORANGE / YELLOW / GREEN)&lt;br&gt;
✅ Daily planner with study hour budget selector&lt;br&gt;
✅ &lt;strong&gt;Signature Feature&lt;/strong&gt;: Adaptive Replanning with plain-language trade-off explanation&lt;br&gt;
✅ Workload estimation with personalized programming multipliers&lt;br&gt;
✅ Course pages with strong/weak topic tracking and AI study recommendations&lt;br&gt;
✅ Knowledge Base RAG with grounded source citations&lt;br&gt;
✅ Project Mode with team roles and AI blocker warnings&lt;br&gt;
✅ Long-term Goals with milestone checklists&lt;br&gt;
✅ Workload Analytics with completion rates and insights&lt;br&gt;
✅ Smart contextual notifications&lt;br&gt;
✅ Docker Compose ready (PostgreSQL + pgvector + Ollama)&lt;br&gt;
✅ 13 automated test cases (pytest)&lt;br&gt;
✅ Light/Dark theme toggle with localStorage persistence&lt;br&gt;
✅ Deployed live on Vercel and GitHub Pages&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with love for every student who has ever missed a deadline they were certain they remembered.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>AcadFlow — I Built an AI Academic Operating System for My Friend Who Drowns in Deadlines Every Semester</title>
      <dc:creator>Divyanshi Gupta</dc:creator>
      <pubDate>Sun, 04 Oct 2026 14:45:31 +0000</pubDate>
      <link>https://dev.to/divyanshigupta491/acadflow-i-built-an-ai-academic-operating-system-for-my-friend-who-drowns-in-deadlines-every-2c31</link>
      <guid>https://dev.to/divyanshigupta491/acadflow-i-built-an-ai-academic-operating-system-for-my-friend-who-drowns-in-deadlines-every-2c31</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;My closest friend, Priya, is a third-year Computer Science student. Every semester, she drowns in the same chaos — missed assignment notifications buried in WhatsApp groups, half-remembered quiz dates, and study plans that collapse the moment a professor reschedules a lab.&lt;/p&gt;

&lt;p&gt;She does not lack information. She has &lt;em&gt;too much&lt;/em&gt;, scattered across five apps, three portals, and a camera roll full of screenshots.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;AcadFlow&lt;/strong&gt; — an AI Academic Operating System that solves exactly this problem. Instead of another generic planner or a ChatGPT wrapper that confidently invents fake deadlines, AcadFlow is a &lt;strong&gt;deterministic planning engine with open-source AI assistance&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it does:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Academic Inbox&lt;/strong&gt;: Paste raw WhatsApp announcements, upload syllabus PDFs, or voice-dictate assignment requirements. Open-source LLMs extract structured tasks, courses, and deadlines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Hallucination Priority Engine&lt;/strong&gt;: Every task gets a mathematically computed priority score (RED / ORANGE / YELLOW / GREEN). If a deadline is not explicitly stated, it stays &lt;code&gt;null&lt;/code&gt; — the system never invents one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daily Planner&lt;/strong&gt;: Generates focus blocks within a customizable study-hour budget, with cognitive breaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive Replanning&lt;/strong&gt; &lt;em&gt;(Signature Feature)&lt;/em&gt;: When Priya reports "I only finished 45 minutes of DBMS instead of 90", AcadFlow recalculates the entire schedule — safely shifting low-priority tasks to tomorrow while preserving imminent exam revision. It explains its trade-offs in plain language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Base (RAG)&lt;/strong&gt;: Upload lecture notes and study guides. Ask questions grounded in actual indexed documents with source citations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workload Analytics&lt;/strong&gt;: Tracks completion rates and learns that Priya consistently takes 30% longer on programming assignments, automatically adjusting future estimates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Goals &amp;amp; Projects&lt;/strong&gt;: Long-term milestone tracking and collaborative project management with AI blocker warnings.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live Frontend (Vercel)&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://acadflow-devchallenge1.vercel.app" rel="noopener noreferrer"&gt;https://acadflow-devchallenge1.vercel.app&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;GitHub Pages (Landing Showcase)&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://divyanshigupta786.github.io/Acadflow-devchallenge1/" rel="noopener noreferrer"&gt;https://divyanshigupta786.github.io/Acadflow-devchallenge1/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Try the Pre-loaded Demo Student Account:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Email&lt;/strong&gt;: &lt;code&gt;demo@acadflow.dev&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password&lt;/strong&gt;: &lt;code&gt;demo123&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pre-loaded with 5 real CS courses, 12 realistic tasks, an active daily schedule, indexed study documents, and a collaborative AI project — ready to explore immediately.&lt;/p&gt;




&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/divyanshigupta786" rel="noopener noreferrer"&gt;
        divyanshigupta786
      &lt;/a&gt; / &lt;a href="https://github.com/divyanshigupta786/Acadflow-devchallenge1" rel="noopener noreferrer"&gt;
        Acadflow-devchallenge1
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;AcadFlow — AI-Powered Academic Operating System&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From academic chaos to clarity.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;AcadFlow is a production-quality, open-source AI academic productivity and planning platform. Designed for college and university students managing multiple courses, assignments, exams, projects, and extracurriculars, AcadFlow transforms fragmented academic information into an adaptive, personalized action plan.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Product Philosophy: Not Another Chatbot&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Students do not have a lack of academic information; they have an &lt;strong&gt;academic information overload problem&lt;/strong&gt;. Academic information is scattered across:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WhatsApp messages&lt;/li&gt;
&lt;li&gt;Google Classroom&lt;/li&gt;
&lt;li&gt;College ERP &amp;amp; Portals&lt;/li&gt;
&lt;li&gt;Emails &amp;amp; PDFs&lt;/li&gt;
&lt;li&gt;Screenshots &amp;amp; handwritten notes&lt;/li&gt;
&lt;li&gt;Project chat threads&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;AcadFlow replaces manual planning with an academic decision and planning engine powered by open-source AI.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Core Loop&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;INPUT ──► UNDERSTAND ──► PRIORITIZE ──► PLAN ──► EXECUTE ──► MONITOR ──► REPLAN
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;2. Signature Feature: Adaptive Replanning&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;When a student reports:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"I only completed 45 minutes of DBMS."&lt;/em&gt; or &lt;em&gt;"I lost 2 hours today."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;AcadFlow does &lt;strong&gt;not&lt;/strong&gt; simply…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/divyanshigupta786/Acadflow-devchallenge1" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Project Structure
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Acadflow-devchallenge1/
├── frontend/                 # Next.js 14 (App Router) + TypeScript + Tailwind
│   └── src/
│       ├── app/              # 17 pages: dashboard, tasks, inbox, courses, analytics...
│       ├── components/       # Sidebar, Navbar, ThemeToggle, Footer...
│       └── lib/              # api.ts, types.ts, utils.ts
├── backend/                  # Python 3.11 + FastAPI + SQLAlchemy
│   └── app/
│       ├── main.py           # Application entry point
│       ├── config.py         # Pydantic Settings + Supabase config
│       └── routers/          # Auth, tasks, courses, inbox, planner, AI endpoints
│           └── ai.py         # Ollama LLM + deterministic fallback + RAG
├── backend/tests/            # 13 test cases (pytest)
├── index.html                # Standalone self-contained landing page showcase
├── docker-compose.yml        # One-command stack: FastAPI + Next.js + PostgreSQL + Ollama
└── .github/workflows/        # CI + GitHub Pages automated deployment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Open-Source AI Architecture
&lt;/h3&gt;

&lt;p&gt;AcadFlow is built around a &lt;strong&gt;dual-intelligence&lt;/strong&gt; architecture that decouples AI assistance from deterministic business logic:&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Local LLM Inference via Ollama
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# backend/app/routers/ai.py
&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;settings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OLLAMA_BASE_URL&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;/api/generate&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;settings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OLLAMA_MODEL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;# qwen2.5:7b, llama3.2, mistral, gemma2
&lt;/span&gt;        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;prompt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;extraction_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;stream&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Supported models: &lt;strong&gt;Qwen 2.5:7b&lt;/strong&gt;, &lt;strong&gt;Llama 3.2&lt;/strong&gt;, &lt;strong&gt;Mistral 7B&lt;/strong&gt;, &lt;strong&gt;Gemma 2&lt;/strong&gt;, plus any OpenAI-compatible local endpoint.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Anti-Hallucination Rules (Hardcoded)
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# The LLM is explicitly instructed:
# "If you are not 100% certain of the deadline from the text, set deadline to null."
# "Never invent, estimate, or assume deadlines."
# Inferred estimates are tagged ai_estimate=True and shown visually in the UI.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Deterministic Priority Engine (Zero LLM Involvement)
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Priority Score = (Urgency + Importance + Workload + Dependency Risk + Exam Proximity)
                 ─────────────────────────────────────────────────────────────────────
                                   Completion Progress Factor

RED    &amp;gt;= 75  →  Imminent deadline (&amp;lt;24h), exam, or overdue
ORANGE 50-74  →  Due within 48h or blocking teammates
YELLOW 25-49  →  Standard runway assignments
GREEN  &amp;lt; 25   →  Extended deadlines or completed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4. Adaptive Replanning Engine
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;replan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;student_report&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;active_tasks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;today_budget_minutes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# 1. Parse what was completed vs planned
&lt;/span&gt;    &lt;span class="c1"&gt;# 2. Recalculate remaining workload per task
&lt;/span&gt;    &lt;span class="c1"&gt;# 3. Identify tasks safely shiftable (low priority, distant deadline)
&lt;/span&gt;    &lt;span class="c1"&gt;# 4. Preserve imminent exam revision and high-stakes deadlines
&lt;/span&gt;    &lt;span class="c1"&gt;# 5. Return new schedule + plain-language trade-off explanation
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5. Knowledge Base RAG
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Documents are chunked, embedded with &lt;strong&gt;BGE Embeddings&lt;/strong&gt;, stored in &lt;strong&gt;pgvector&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Queries retrieve top-k chunks by cosine similarity.&lt;/li&gt;
&lt;li&gt;Every AI answer includes source citations linking back to the original document.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Frontend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Next.js 14 (App Router), TypeScript, Tailwind CSS, Lucide Icons&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Backend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Python 3.11, FastAPI, Pydantic v2, SQLAlchemy 2.0, Uvicorn&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Database&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQLite (local dev) / PostgreSQL + pgvector / Supabase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AI Inference&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ollama — Qwen 2.5, Llama 3.2, Mistral, Gemma 2 + Deterministic Fallback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Embeddings &amp;amp; RAG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BGE Embeddings + cosine similarity via pgvector&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;UI Design&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cormorant Garamond + Poppins, cream/teal palette, dark/light theme&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Containerization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Docker + Docker Compose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Deployment&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vercel (frontend) + GitHub Pages + GitHub Actions CI/CD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tests&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pytest — 13 test cases&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Student Privacy Cannot Be Negotiated
&lt;/h3&gt;

&lt;p&gt;A proprietary closed API like GPT-4 would mean sending every student's assignment text, course names, exam schedules, and study patterns to a third-party commercial server. With Ollama, &lt;strong&gt;no academic data ever leaves Priya's laptop&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Zero Cost = Universal Access
&lt;/h3&gt;

&lt;p&gt;University students do not have budgets for $20/month API subscriptions. With open-weight models (Llama, Qwen, Gemma — all free, all local), the entire system runs on a consumer laptop with 8–16GB RAM. A closed API would price out the exact students who need it most — those in emerging economies without premium subscription budgets.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Deterministic Reliability Over Probabilistic Drift
&lt;/h3&gt;

&lt;p&gt;The most critical feature — the &lt;strong&gt;Priority Engine and Adaptive Replanning&lt;/strong&gt; — uses &lt;strong&gt;zero AI&lt;/strong&gt;. It runs deterministic math. This architectural decision was only possible because open-source models forced intentionality: &lt;em&gt;use AI only where it adds value, hardcode everything where correctness is non-negotiable.&lt;/em&gt; Proprietary APIs tempt developers to "just ask GPT what priority this task should be" — leading to hallucinated urgency and fabricated deadlines. Open-source models prevented this anti-pattern.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Community Auditability for Academic Tools
&lt;/h3&gt;

&lt;p&gt;Any tool that affects a student's study plan and exam preparation must be transparent. With open-source models and a fully open-source codebase, any student, professor, or researcher can audit exactly how AcadFlow makes its recommendations. Closed APIs are black boxes. Open innovation means accountability.&lt;/p&gt;




&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project was built with &lt;strong&gt;Google Antigravity (AGY)&lt;/strong&gt; AI coding assistant. The session covered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Designing the deterministic priority scoring system and anti-hallucination pipeline&lt;/li&gt;
&lt;li&gt;Building the Adaptive Replanning Engine&lt;/li&gt;
&lt;li&gt;Full Next.js 14 App Router frontend with 17 pages&lt;/li&gt;
&lt;li&gt;Real-time dark/light theme toggle with localStorage persistence&lt;/li&gt;
&lt;li&gt;Supabase + PostgreSQL backend integration&lt;/li&gt;
&lt;li&gt;GitHub Actions CI/CD pipeline&lt;/li&gt;
&lt;li&gt;Live Vercel deployment and debugging (including fixing a &lt;code&gt;@/lib/api&lt;/code&gt; gitignore exclusion bug mid-deployment)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open Source AI&lt;/strong&gt; — Built entirely on open-weight models (Ollama, Qwen, Llama, Gemma, BGE Embeddings). Zero proprietary closed APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of AI&lt;/strong&gt; — Deterministic + AI hybrid architecture solving real academic planning with zero hallucination guarantees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Deployed Project&lt;/strong&gt; — Live on Vercel (Next.js frontend) and GitHub Pages (showcase).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Student Developer&lt;/strong&gt; — Built by a student, for a student.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Acceptance Criteria
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[x] Register, login, and JWT session handling&lt;/li&gt;
&lt;li&gt;[x] One-click seeded demo student account (&lt;code&gt;demo@acadflow.dev&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;[x] Academic Inbox (raw text, PDF upload, voice input)&lt;/li&gt;
&lt;li&gt;[x] Open-source LLM extraction with zero-hallucination deterministic fallback&lt;/li&gt;
&lt;li&gt;[x] Review &amp;amp; edit extracted items before saving&lt;/li&gt;
&lt;li&gt;[x] Deterministic Priority Engine (RED / ORANGE / YELLOW / GREEN)&lt;/li&gt;
&lt;li&gt;[x] Daily planner with study hour budget selector&lt;/li&gt;
&lt;li&gt;[x] &lt;strong&gt;Signature Feature&lt;/strong&gt;: Adaptive Replanning with plain-language trade-off explanation&lt;/li&gt;
&lt;li&gt;[x] Workload estimation with personalized programming multipliers&lt;/li&gt;
&lt;li&gt;[x] Course pages with strong/weak topic tracking and AI study recommendations&lt;/li&gt;
&lt;li&gt;[x] Knowledge Base RAG with grounded source citations&lt;/li&gt;
&lt;li&gt;[x] Project Mode with team roles and AI blocker warnings&lt;/li&gt;
&lt;li&gt;[x] Long-term Goals with milestone checklists&lt;/li&gt;
&lt;li&gt;[x] Workload Analytics with completion rates and insights&lt;/li&gt;
&lt;li&gt;[x] Smart contextual notifications&lt;/li&gt;
&lt;li&gt;[x] Docker Compose ready (PostgreSQL + pgvector + Ollama)&lt;/li&gt;
&lt;li&gt;[x] 13 automated test cases (pytest)&lt;/li&gt;
&lt;li&gt;[x] Light/Dark theme toggle with localStorage persistence&lt;/li&gt;
&lt;li&gt;[x] Deployed live on Vercel and GitHub Pages&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Built with love for every student who has ever missed a deadline they were certain they remembered.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
