Gemini Analyzer - Advanced Project Intelligence Platform
Enterprise-grade project analysis platform with dual-mode AI intelligence and privacy-first architectureAn 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
| Feature | GUI Mode | API Mode | Description |
|---|---|---|---|
| Project Analysis | β | β | Comprehensive codebase scanning and metrics |
| AI Insights | β | β | Google Gemini 2.5 powered analysis |
| Privacy Mode | β | β | Local-only processing for sensitive data |
| Multi-Language | β | β | 20+ programming languages supported |
| Git Integration | β | β | Direct repository analysis |
| File Upload | β | β | ZIP/TAR archive processing |
| REST API | β | β | Programmatic access and integration |
| Containerized | β | β | Docker deployment ready |
π οΈ 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_KEYenvironment variable for cloud-based AI features.
Local Development & Running the GUI
-
Clone the repository:
-
Create a virtual environment and install dependencies:
-
Run the GUI application:
Running the Backend Service with Docker
-
Build the Docker image:
-
Run the container:
The API will be available at
http://localhost:8000. Interactive documentation can be found athttp://localhost:8000/docs.
ποΈ Project Structure
This project follows the standardsrc 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 aREADME.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 itsREADME.mdto 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 itsREADME.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 thecoremodules, including proper data validation and error handling.
License
This project is licensed under the MIT License. See theLICENSE file for details.