Brokk is an innovative AI-driven code assistant designed to manage extensive and intricate codebases by equipping language models with a deep, compiler-grade comprehension of code organization, meaning, and interdependencies. It facilitates effective context management by selectively integrating summaries, diffs, or complete files into a workspace, allowing the AI to focus on pertinent sections of a codebase that may contain millions of lines instead of processing everything at once. With features such as Quick Context, which recommends files based on their embeddings and structural significance; Deep Scan, which employs advanced models to identify files that require editing or further summarization; and Agentic Search, which provides a multi-step exploration of symbols, call graphs, or usages throughout the project, Brokk enhances the coding experience significantly. Its architecture is rooted in static analysis through Joern, enabling type inference that extends beyond basic Abstract Syntax Trees (ASTs), while JLama is utilized for rapid embedding inference to assist with context modifications. Offered as an independent Java application rather than a plugin for an Integrated Development Environment (IDE), Brokk permits users to oversee AI-driven workflows with clarity and precision, ensuring a more streamlined development process overall. This unique approach empowers developers to navigate complex codebases with greater ease and efficiency.