Skip to content

AI agents built with Reflex and Deekseek R1/Gemini etc.

License

Notifications You must be signed in to change notification settings

bsbrother/iAgents

Repository files navigation

iAgents

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.

Features

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/bsbrother/iAgents.git
    cd iAgents
  2. 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
  3. Install dependencies:

    uv pip install -r requirements.txt
  4. 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
  5. Run the Reflex application:

    reflex db init
    reflex db migrate
    reflex init
    reflex run

Usage

  1. Upload a Video: Use the drag-and-drop interface to upload your video.
  2. Ask a Question: Enter your query about the video in the provided text area.
  3. Analyze & Research: Click the "Analyze & Research" button to process the video and generate AI-driven insights.
  4. View Results: Access detailed responses combining video analysis and web research.

About

AI agents built with Reflex and Deekseek R1/Gemini etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published