Corbell Instantly Maps Code Architecture Locally

Isometric view of a translucent dark blue cube floating in the center inside the cube a complex web of glowing gold nodes and lines forms.

Corbell is a command-line tool that creates a detailed knowledge graph for projects spanning multiple code repositories. It maps service dependencies, method signatures, and database connections directly from source code to help teams understand their software architecture.

Developed by Corbell-AI, this open-source tool solves the problem of lost context in backend engineering teams. It runs entirely on a local machine, ensuring that proprietary code remains private while generating accurate design documents without cloud dependencies.

Architecture analysis and integration

  • Builds service graphs with typed signatures and call paths.
  • Generates technical design documents using local or cloud LLMs.
  • Identifies git change coupling to predict the impact of code updates.
  • Exports tasks and context to project management tools like Linear and Jira.
  • Includes an interactive local UI for visualizing architecture.

Teams dealing with service sprawl often struggle to track how changes in one repository affect others. This tool automates the creation of high-level design specs by pulling real code snippets and established patterns from the codebase. It functions as a living map of the architecture, reducing the time spent re-learning systems after time away.

Local-First design philosophy

The developers have designed the system to function without mandatory cloud connections. Users can operate the tool in a fully air-gapped environment by utilizing local embedding models and Ollama for language processing. This approach prioritizes data privacy and speed for professional users who cannot send code to external servers.

"The local-first angle: embeddings run via sentence-transformers locally, graph is stored in SQLite, and if you configure Ollama as your LLM provider, there are zero external calls anywhere in the pipeline,"

explained the creator in a Reddit post.

Corbell provides a robust solution for maintaining architectural integrity without relying on third-party services. You can download Corbell from GitHub to start mapping your own projects.