Open Source · MIT License

GZOO Cortex

A local-first knowledge graph for developers

Monitor your projects, extract meaningful entities with LLMs, and query your entire codebase knowledge using natural language.

Terminal
Knowledge Graph
Query

Everything you need to understand your code

Cortex builds a living knowledge graph from your codebase, making institutional knowledge searchable and actionable.

File Watching

Automatically monitors your project files for changes. Supports markdown, TypeScript, JavaScript, JSON, and YAML.

Entity Extraction

Uses LLMs to extract decisions, patterns, components, dependencies, and constraints from your codebase.

Relationship Inference

Automatically infers relationships between entities across all your projects, building a connected knowledge graph.

Contradiction Detection

Detects when architectural decisions conflict across projects, helping maintain consistency at scale.

Natural Language Queries

Ask questions about your codebase in plain English and get answers with source citations from your knowledge graph.

MCP Server

Integrates directly with Claude Code via the Model Context Protocol, giving your AI assistant deep project knowledge.

Up and running in minutes

Four commands to start building your knowledge graph.

1
Install
npm install -g @gzoo/cortex
2
Configure
cortex init
3
Add project
cortex projects add myapp ./src
4
Start watching
cortex watch

Bring your own LLM

Cortex supports multiple LLM providers with intelligent routing between cloud and local models.

A

Anthropic Claude

Highest quality extraction and queries

G

Google Gemini

Fast and cost-effective processing

O

OpenAI Compatible

Works with any OpenAI-compatible API

O

Ollama (Local)

Fully local, zero cloud costs

Intelligent Routing Modes

Cloud-first
Highest quality, variable costs
Hybrid
Balanced cost and quality
Local-first
Minimal costs, requires Ollama
Local-only
Completely free and private