Skip to main content

Gemini Analyzer - Advanced Project Intelligence Platform

License: MIT Python FastAPI Gemini Code Style: Black
Enterprise-grade project analysis platform with dual-mode AI intelligence and privacy-first architecture
An advanced project intelligence platform that combines comprehensive local analysis with cutting-edge AI capabilities. Built for developers, security teams, and DevOps professionals who need deep project understanding without compromising on privacy or performance.

πŸš€ Overview

Gemini Analyzer is a comprehensive project intelligence platform that revolutionizes how teams understand and analyze codebases. Originally conceived to solve the challenge of rapidly understanding complex projects across different programming languages and frameworks, it has evolved into a full-featured analysis platform.

Key Features

  • πŸ” Comprehensive Analysis: Multi-language code analysis, dependency mapping, and project statistics
  • πŸ€– Dual-Mode AI: Cloud-powered insights with Google Gemini 2.5 or privacy-first local processing
  • 🌐 REST API: Production-ready FastAPI backend with comprehensive documentation
  • πŸ–₯️ GUI Application: Standalone Tkinter interface for desktop users
  • πŸ”’ Privacy-First: Complete local processing option for sensitive codebases
  • πŸ“Š Rich Insights: Code metrics, dependency analysis, and AI-generated summaries
  • 🏒 Enterprise Ready: Multi-tenant architecture, audit trails, and compliance features

Why Gemini Analyzer?

The Problem: Modern software projects are increasingly complex, with multiple languages, frameworks, and dependencies. Understanding a new codebase or analyzing project health traditionally requires hours of manual exploration. Our Solution: Gemini Analyzer provides instant, comprehensive project intelligence through:
  • Automated code analysis across 20+ programming languages
  • AI-powered insights that understand project context and architecture
  • Privacy-first design that keeps sensitive code local
  • Enterprise-grade API for CI/CD integration

Architecture Modes

1. Standalone GUI Application

Perfect for individual developers and security teams who need quick, private analysis:
  • Cross-platform desktop tool
  • Complete local processing
  • Instant analysis results
  • No external dependencies required

2. REST API Service

Designed for enterprise integration and automated workflows:
  • Production-ready FastAPI backend
  • Scalable container deployment
  • CI/CD pipeline integration
  • Multi-tenant support

πŸ› οΈ Key Technologies

This project is built with a modern, robust technology stack:
  • Backend: FastAPI for high-performance, asynchronous API services.
  • AI Integration: Google Generative AI SDK (google-generativeai), the official and current library for the Gemini family of models.
  • Desktop GUI: Tkinter, Python’s standard cross-platform GUI toolkit.
  • Data Validation: Pydantic for robust data validation and settings management in the API.
  • Containerization: Docker for creating portable, production-ready containers for the backend service.

πŸš€ Getting Started

This project is designed for ease of use, both for local development and for deployment.

Prerequisites

  • Python 3.8+
  • Docker (for running the backend service)
  • An optional GOOGLE_API_KEY environment variable for cloud-based AI features.

Local Development & Running the GUI

  1. Clone the repository:
  2. Create a virtual environment and install dependencies:
  3. Run the GUI application:

Running the Backend Service with Docker

  1. Build the Docker image:
  2. Run the container:
    The API will be available at http://localhost:8000. Interactive documentation can be found at http://localhost:8000/docs.

πŸ—οΈ Project Structure

This project follows the standard src layout for clean packaging and separation of concerns.

πŸ€– For AI Agents: How to Contribute

This repository is designed to be developed in parallel by multiple AI agents. Each core module contains a README.md and TODO comments to guide you.
  • If you are the GUI Agent: Your primary focus is the src/gemini_analyzer/gui/ directory. Start by reading its README.md to understand the component structure. Your goal is to build a responsive and intuitive user interface using the components and logic available.
  • If you are the Core Logic Agent: Your domain is src/gemini_analyzer/core/. Read its README.md. You will implement the heavy lifting of project analysis, ensuring the code is efficient, accurate, and can be used by both the GUI and the API.
  • If you are the API Agent: You will work within src/gemini_analyzer/api/. Your task is to create robust FastAPI endpoints that expose the functionality from the core modules, including proper data validation and error handling.

License

This project is licensed under the MIT License. See the LICENSE file for details.