iAgents built with Reflex and DeepSeek R1/Gemini/LLMs etc. enables users to upload videos and ask questions about them. By combining advanced video analysis with web research capabilities, it provides comprehensive, context-aware responses.
- Video Upload: Supports multiple formats, including MP4, MOV, and AVI.
- Real-Time Video Analysis: Utilizes Google's Gemini Flash 2.0 model.
- Web Research Integration: Powered by DuckDuckGo for enhanced context.
- Interactive Q&A System: Allows dynamic interaction for tailored responses.
- Responsive UI: Clean and user-friendly interface for seamless usage.
-
Clone the repository:
git clone https://github.com/bsbrother/iAgents.git cd iAgents
-
Set up a virtual environment (optional but recommended):
# Must install uv first: pip install -U uv # uv init: uv init --no-workspace . uv sync # Create .venv and install dependencies
-
Install dependencies:
uv pip install -r requirements.txt
-
Obtain the Google Gemini API Key:
- Sign up for a Google AI Studio account and generate an API key here.
- Set up your API key as an environment variable:
export GOOGLE_API_KEY=your_api_key_here
-
Run the Reflex application:
reflex db init reflex db migrate reflex init reflex run
- Upload a Video: Use the drag-and-drop interface to upload your video.
- Ask a Question: Enter your query about the video in the provided text area.
- Analyze & Research: Click the "Analyze & Research" button to process the video and generate AI-driven insights.
- View Results: Access detailed responses combining video analysis and web research.