ArchonCLI is an autonomous AI-powered code architect assistant designed to help developers efficiently understand, analyze, and manage complex codebases.
Powered by Google Gemini 3, ArchonCLI goes beyond traditional code assistants by using a Semantic Syntax-Aware RAG approach that understands code structures deeply using Tree-Sitter.
- Semantic Analysis: Understands code structure (functions, classes, dependencies) rather than just plain text.
- Dual Interface: Use the visually rich TUI (Terminal User Interface) interactive mode or the fast and automatable CLI mode.
- RAG (Retrieval-Augmented Generation): Searches for relevant context across your repository to provide accurate answers.
- Context Caching: Optimizes token usage and speeds up responses on large repositories.
- Security: Secure API Key management and environment variable support.
To learn more about ArchonCLI, please refer to the following documents:
- Features - Detailed primary functionality.
- Usage Guide - Installation and command reference.
- Configuration - Setting up API Keys and application preferences.
- System Architecture - Behind-the-scenes technical details.
- Operating System: Windows, macOS, or Linux.
- Go: Version 1.21 or higher (if building from source).
- Google Gemini API Key: Required to access the AI backend.
- Installation: Add the
archonbinary to your PATH. - Initialization: Run
archon initin your project folder. - Authentication: Set your API Key with
archon auth --key "YOUR_API_KEY". - Index: Run
archon indexto scan your code. - Ask: Start asking with
archon ask "How does this application work?"or simply runarchonfor TUI mode.
Created with ❤️ by the Archon Development Team.