About this project

Glean Code CLI is a fast, local REPL inspired by Claude Code, designed to interact with the Glean workspace directly from the terminal. Built in Python with zero runtime dependencies, it compiles into a single-file zipapp. Key features include: - **Search & Chat:** Threaded chat with Glean Assistant, recommendations, and knowledge graph generation. - **Offline & Mock Mode:** Fully functional offline with a mock corpus of 70 interlinked documents across five datasources. - **Local Indexing:** Index local files (Markdown, HTML, DOCX, XLSX, PPTX) into a portable SQLite database for local search and chat. - **Flow Mapper:** Track and visualize investigations, linking related searches and documents. - **Integrations:** Supports OAuth 2.1 SSO, MCP (Model Context Protocol) server for AI agents, and custom metadata indexing.