Navigate any codebasein minutes, not months

CodeCompass is the open-source AI-powered code navigation tool.Index your project • Generate documentation • Onboard your team faster

The problem

Onboarding is broken. New hires spend months learning a codebase before they ship anything meaningful.

Slow ramp-up

Average time for a developer to become productive in a new codebase.

3–6months

Outdated docs

Documentation that's incomplete, stale, or doesn't exist at all.

  • auth.mdlast edited 2019
  • api.mdlast edited 2021
  • deploy.mdmissing
  • setup.mdlast edited 2020

Team bottlenecks

Senior developers keep getting pulled away to explain the architecture.

Week 1
Week 2
Week 3
Week 4

Time seniors spend answering questions

The solution

Ask your codebase. CodeCompass indexes your repository, answers questions about it, and writes docs that stay current.

  • Instant answers to codebase questions
  • Automatic documentation generation
  • Visual component tree diagrams
  • Multi-platform repository support

Try it

Ask a question, see the code. Every answer comes with the lines it's talking about. Pick a question below.

test/api-server

Where is login handled?

In auth.post("/login"). It looks up the user by email, checks the password, and returns a token from user.issueToken(). Bad credentials get a 401.

Ask CodeCompass
src/server/auth.ts
1import { Router } from "express";
2import { verifyToken } from "./tokens";
3import { db } from "../db";
4
5export const auth = Router();
6
7auth.post("/login", async (req, res) => {
8 const { email, password } = req.body;
9 const user = await db.users.findByEmail(email);
10 if (!user || !(await user.checkPassword(password))) {
11 return res.status(401).json({ error: "Invalid credentials" });
12 }
13 res.json({ token: user.issueToken() });
14});
15
16export function requireAuth(req, res, next) {
17 const token = req.headers.authorization?.split(" ")[1];
18 const payload = token && verifyToken(token);
19 if (!payload) return res.status(401).end();
20 req.userId = payload.sub;
21 next();
22}

Features

Everything a new hire needs. Understand, navigate, and contribute to any codebase from day one.

Chat with your code

Ask about any part of the codebase and get answers grounded in the actual code.

Docs that keep up

Documentation is generated from the code. Re-index to bring it up to date.

Component trees

See how modules and components depend on each other in interactive diagrams.

Run it anywhere

Self-host for private code, or use the hosted version to try it quickly.

Compare

How CodeCompass is different. Chat, generated docs, and the option to self-host, in one open source tool.

Traditional documentation

  • Manual updates required
  • Quickly becomes outdated
  • Static, non-interactive
  • No contextual answers

CodeCompass

  • AI-powered exploration
  • Auto-generated docs
  • Interactive chat interface
  • GitHub, GitLab, and local repos
  • Local & cloud deployment
  • Open source

Other tools

  • GitHub only
  • Cloud only, no self-hosting
  • Proprietary, not open source

Try it on your own codebase. Connect a GitHub or GitLab repo, or upload a zip. Open source and self-hostable.