You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any MCP-compatible AI agent, IDE, or CLI tool connects out of the box. `cortex install` auto-detects your setup and writes the config.
33
+
14
34
## Why Cortex
15
35
16
-
AI agents burn tokens reading files to answer structural questions. An agent asking "what calls processOrder" gets a 200-token graph result instead of burning 20,000 tokens reading files. Cortex indexes your repository into a SQLite call graph and exposes it over the Model Context Protocol. It handles repositories with 100K to 1M+ lines of code without breaking a sweat. Indexes 127 files in 535ms, incremental re-index in 13ms.
36
+
An agent asking "what calls processOrder" gets a 200-token graph result instead of burning 20,000 tokens reading files. That's 100x fewer tokens on a single structural question.
17
37
18
-
## Install
38
+
Cortex indexes your repository into a SQLite call graph and exposes it over the Model Context Protocol. 127 files indexed in 535ms. Incremental re-index in 13ms. Handles 100K to 1M+ line repositories.
cortex federate add ../auth-service # query across repos with unified graph
77
88
```
78
89
90
+
## What you get
91
+
92
+
-**29 languages** parsed via tree-sitter
93
+
-**32 MCP tools** exposed over stdio, or 5 in smart mode (the `ask` meta-tool routes internally)
94
+
-**Sub-second incremental re-indexing** via native OS file watcher (inotify, FSEvents, ReadDirectoryChangesW)
95
+
-**Taint flow analysis, OWASP Top 10 detection, SBOM generation** all running locally, no cloud
96
+
-**Cross-session memory** that marks observations stale when linked code changes
97
+
-**Multi-repo federation** for querying across repositories with a unified graph
98
+
-**Hybrid search** combining FTS5 BM25 with optional local ONNX vector search
99
+
-**CI quality gates** with configurable thresholds and exit codes
100
+
-**3D interactive graph visualization** exportable to standalone HTML
101
+
-**Portable JSON bundle** (cortex.json) for team sharing via git. `cortex bundle export` serializes the full graph as a portable JSON file. Commit it to git so your team skips the index step entirely.
102
+
-**Works offline.** No cloud, no API keys, no Docker, no language runtimes.
103
+
104
+
<details>
105
+
<summary>All 29 supported languages</summary>
106
+
107
+
| Language | Language | Language |
108
+
|----------|----------|----------|
109
+
| Python | TypeScript | JavaScript |
110
+
| Rust | Go | Java |
111
+
| C | C++ | C# |
112
+
| Ruby | PHP | Swift |
113
+
| Kotlin | Scala | Lua |
114
+
| Zig | Haskell | Elixir |
115
+
| Dart | R | Julia |
116
+
| OCaml | Bash | HCL/Terraform |
117
+
| Perl | Objective-C | SQL |
118
+
| YAML | TOML ||
119
+
120
+
</details>
121
+
79
122
## Architecture
80
123
81
124
```mermaid
@@ -105,7 +148,7 @@ graph TD
105
148
| Smart tool routing | Yes (ask meta-tool) | No | No | No | No |
0 commit comments