Clarifai

AI Research Paper Analysis and Video Generation

Clarifai is a full-stack web application designed to deconstruct complex research papers into digestible concepts and automatically generate video explanations in the style of 3blue1brown. It leverages a sophisticated, self-correcting AI agent to create educational content directly from academic literature.

Key Features

  • • PDF Upload & Analysis: Upload research papers in PDF format for comprehensive AI-powered analysis
  • • Key Concept Extraction: Automatically identifies and extracts core concepts using Google's Gemini Flash
  • • Agentic Video Generation: A LangChain agent uses Manim to generate high-quality, 3blue1brown-style animations
  • • Self-Correcting Code Generation: The agent makes up to three attempts to generate and render Manim code
  • • Intelligent Scene Splitting: AI intelligently splits complex concepts into multiple thematic scenes
  • • Multi-Clip Video Stitching: Successfully rendered video clips are automatically stitched together using ffmpeg
  • • Real-time Logging: WebSocket connection provides streaming of the agent's entire process
  • • AI-Powered Code Implementation: Generate functional Python code examples for any extracted concept

Tech Stack

  • • Frontend: Next.js, React, TypeScript, Tailwind CSS
  • • Backend: FastAPI, Python, Uvicorn
  • • AI/ML: Google Gemini Flash, LangChain
  • • Video Generation: Manim Community v0.18.1
  • • Video Processing: ffmpeg