Code-aware chunks
Tree-sitter and composite language profiles preserve functions, types, modules, and their neighboring context.
symbols → chunks → edgesGrounded code intelligence
Index your codebase once. Ask real questions in Codex, Cursor, Claude Code, or any MCP-compatible tool and get answers grounded in current source, symbols, and relationships.
Stable release
macOS, Linux, and Windows PowerShell.
curl -fsSL https://storage.tlelabs.com/ctxe/latest/install.sh | shContext system
CtxE combines syntax-aware indexing, local search, semantic retrieval, and graph traversal so agents can inspect the right implementation before they act.
Tree-sitter and composite language profiles preserve functions, types, modules, and their neighboring context.
symbols → chunks → edgesSemantic vectors and indexed full-text search work together, with reranking available when the question needs it.
vector + FTS5 + rerankDefinitions, usages, calls, implementations, imports, paths, and impact remain connected across files.
direct → multi-hop → impactAsk plans bounded retrieval rounds, promotes source evidence, and reports degraded or partial results explicitly.
bind → retrieve → assureInspect workspace health, indexed chunks, research history, event logs, and configuration from one local surface.
ctxe dashboardUse the same indexed knowledge from Codex, Claude Code, Cursor, VS Code, and other stdio MCP clients.
ctxe mcpWorking surface
Ask from the terminal or let an MCP-capable agent gather evidence inside the editor. Both workflows resolve against the same code-aware index.
Comprehensive Session Refresh Analysis 1. Entry points POST /auth/refresh — src/api/auth/refresh.ts:31 AuthMiddleware.refreshIfNeeded() — src/middleware/auth.ts:89 BackgroundTokenRefresher — src/jobs/token-refresh.ts:22 2. Core logic SessionService.refresh() — src/auth/session.ts:147 Validates against Redis + DB, rotates tokens, and blacklists the previous token. 3. Relationships Call graph depth: 4 levels | 17 direct files | 41 indirect files 4. Impact 14 backend files + 3 jobs + mobile SDKs Analysis complete. Ready for a detailed plan.
“Where are all files and logic related to the current login flow?”
“What are the security-sensitive parts and current weaknesses?”
Start locally