Inspiration

Traditional educational textbooks and learning materials take months to produce, are expensive to publish, and remain statically rigid once printed. Students often struggle with dense academic jargon, while educators lack modern digital tools to rapidly iterate, audit, and personalize educational content. We created PANNA.AI ("Panna" meaning page in Hindi) to turn a new page in digital education. Our goal was to empower educators to effortlessly write, audit, and publish interactive learning materials while providing students with an adaptive, AI-assisted reading experience that makes complex knowledge accessible to everyone.

What it does

PANNA.AI is an end-to-end AI-powered educational authoring, editing, publishing, and interactive reading platform designed for both educators and students:

  • For Educators & Authors (AI Writing Studio):
    • Smart Chapter Drafting: Accelerates content generation and chapter structuring.
    • Automated Pedagogical Audits: Calculates real-time chapter readability scores, flags unverified factual/statistical claims, and recommends visual content (e.g., flowcharts, callout boxes) to improve student engagement.
    • Automated Style Guides: Enforces tone consistency, terminology rules, and citation standards across entire manuscripts.
    • Accept/Reject AI Suggestions: Seamlessly diffs and applies polished text changes directly to manuscript sections.

How we built it

We engineered PANNA.AI with a robust full-stack architecture:

  • Backend (FastAPI & Python): High-performance asynchronous REST API server managing user authentication (JWT), book hierarchies (Books $\rightarrow$ Chapters $\rightarrow$ Sections), and manuscript analytics with SQLAlchemy ORM and SQLite.
  • AI Engine (AIBookEditorEngine): Built a dedicated analysis service that calculates dynamic readability scores using average word length heuristics: $$Readability = \max\left(60, \min\left(95, 100 - (\bar{L}_{word} \times 5)\right)\right)$$ It also runs heuristic checks for factual verification flags, visual content layout suggestions, and handles prompt-driven text simplification.
  • Frontend (React + Vite & Tailwind CSS): A responsive, high-speed single-page application featuring an intuitive Writing Studio, dynamic Reader Mode, and an interactive Admin & Analytics Dashboard.

Challenges we ran into

Preserving Authorial Voice while Improving Prose: Fine-tuning AI prompts so that the editor enhances readability and fixes passive voice without stripping away the author's unique voice and intent.

  1. Context-Aware Paragraph Diffing: Designing an efficient mechanism to pinpoint exact section passages and apply accepted AI suggestions in real-time without corrupting original text state.
  2. Dual-Persona UI/UX Design: Crafting a seamless user interface that caters to two distinct user personas—educators creating content in studio view and students consuming content in reader view.

Accomplishments that we're proud of

  • Built a fully functional end-to-end prototype connecting content creation, AI auditing, student reading, and multi-format publishing in a single hackathon sprint.
  • Designed a custom AI chapter auditor that provides instant readability metrics and pedagogical layout recommendations.
  • Created a fast, modern Tailwind CSS UI with responsive sidebars, interactive slide-out drawers, and clean reader controls.

What we learned

  • How to design non-intrusive human-in-the-loop AI workflows where users maintain full agency to preview, accept, or reject automated suggestions.
  • Strategies for optimizing full-stack React + FastAPI state synchronization during live multi-section document editing.
  • How to leverage AI to break down complex academic text into digestible, accessible learning modules.

What's next for PANNA.AI

  • Multimodal Visual Generation: Integrating AI image and diagram generators to automatically convert text descriptions into custom educational illustrations and mind maps.
  • Collaborative Educator Co-Authoring: Implementing real-time WebSockets for multi-teacher co-writing and peer review.
  • AI Quiz & Flashcard Generator: Automatically parsing completed book chapters to generate interactive revision flashcards and practice quizzes for students.

Built With

Share this project:

Updates

posted an update —

Excited to share PANNA.AI!

We just launched our working prototype of PANNA.AI for the August AI Challenge.

PANNA.AI is an AI-powered educational authoring and interactive learning platform. It empowers teachers to write smart textbooks with real-time AI readability audits while allowing students to interactively simplify complex concepts in Reader Mode.

Check out our project page and demo video to see it in action!

Log in or sign up for Devpost to join the conversation.

Submission history