FLOAT is a powerful codebase chat assistant that runs entirely locally. It consists of a FastAPI backend and a Next.js frontend.
- AST-Based Semantic Chunking: Code-aware parsing for multiple languages.
- Hybrid Search Pipeline: Uses
jinaai/jina-embeddings-v2-base-codevectors in ChromaDB, reranked via aBAAI/bge-reranker-basecross-encoder for precise context retrieval. - Incremental Indexing: Syncs and refreshes repository changes automatically via the GitHub API.
- Codebase & File-Level Chat: Chat with your entire workspace using relevant context retrieval, or focus on a single file.
- Dependency Graph Injection: Maps cross-file dependencies, imports, and call chains to trace entry points and orchestrators.
- Flexible Model Support: Supports OpenAI, Gemini, Anthropic, DeepSeek, xAI, Groq, OpenRouter, and local models via Ollama.
- Multi-Section Doc Generator: Auto-generates structured codebase documentation (Overview, Architecture, API Reference, Configuration).
- Mermaid Graph Visualizer: Generates interactive architecture diagrams (zoomable and pannable) directly from repository structure.
To configure your environment and run FLOAT, follow the Setup & Quick Start Guide.
Before running the application, please note:
- GitHub Personal Access Token (PAT): Stored locally in plaintext inside
backend/data/.tokens. - LLM API Keys (OpenAI, Gemini, etc.): Stored unencrypted in the browser's
localStorage. - Local-Only Operation: This tool is designed to run self-hosted. No credentials or repository data are uploaded to third-party servers.
