Auth: refresh-token rotation
Move refresh tokens from sticky-session storage to per-device records, rotating on every refresh.
→ src/auth.py:42
CodeRLM is an open-source code index that gives AI coding agents precise, on-demand access to symbols, callers, and implementations — instead of globbing directories and guessing.
A typical coding agent opens dozens of files to answer one question — and still doesn't know that authenticate_user() is called from three places it never opened. CodeRLM skips the grep-guess-read loop entirely.
authenticate_user — the exact filesauthenticate_user — the source, not a guessEvery function, class, and method indexed with its callers and implementations. Search by name, jump straight to the source — no globbing required.
Project files parsed into a structured symbol table. Edits re-index incrementally, so the index reflects what's actually on disk.
search, callers, impl, structure, grep. Composable primitives a model can chain — built for agents, not for humans clicking in an IDE.
A bundled plugin with SessionStart, UserPromptSubmit, and PreCompact hooks that guide Claude to use indexed lookups instead of file scans.
A generator emits the right config files for Cursor, Windsurf, Copilot, Gemini, and Codex. Pick your editor; CodeRLM travels with you.
The server runs on your machine. The index doesn't leave it. MIT-licensed, single Rust binary, no telemetry.
$ coderlm init . { "session_id": "s_4f7a2c", "project": "platform-api", "files_indexed": 487, "symbols": 3214 } $ coderlm search "authenticate" [ { "name": "authenticate_user", "kind": "fn", "file": "src/auth.py:42" }, { "name": "AuthMiddleware", "kind": "class", "file": "src/middleware.py:18" }, { "name": "verify_token", "kind": "fn", "file": "src/auth.py:91" } ] $ coderlm callers authenticate_user --file src/auth.py [ "src/api/login.py:23", "src/api/refresh.py:14", "src/middleware.py:22" ] $ # the agent now has exact locations. it reads three files, not forty.
CodeRLM applies the Recursive Language Model pattern to codebases. Instead of stuffing source files into a context window, a root model recursively examines an external index — asking only for the symbols, callers, and implementations it actually needs.
The codebase adaptation builds on brainqub3/claude_code_RLM, a minimal RLM implementation for Claude Code that applies the pattern to documents via a Python REPL. CodeRLM swaps that REPL for a purpose-built Rust server with tree-sitter indexing — moving from documents to code.
A managed workspace built on CodeRLM. Teams link their repos — schema, API, frontend, IaC — and author product specs alongside them. When the code drifts from the spec, you'll know.
Move refresh tokens from sticky-session storage to per-device records, rotating on every refresh.
CodeRLM is open source and self-hostable. Pick the path that matches your setup.
The fastest path. Adds the /coderlm skill and the session hooks that guide Claude to indexed lookups.
$ claude /plugin marketplace add JaredStewart/coderlm $ claude plugin install coderlm
Cursor, Windsurf, Copilot, Gemini, Codex. The generator emits the right config for each.
$ uv tool install coderlm \ --from git+https://github.com/JaredStewart/coderlm.git $ coderlm --platform cursor
Required for both paths above. Single Rust binary; no daemon dependencies.
$ git clone https://github.com/JaredStewart/coderlm.git $ cd coderlm/server $ cargo build --release $ cargo run --release -- serve
Once built, manage the server in the background.
$ ./coderlm-daemon.sh start $ ./coderlm-daemon.sh status $ ./coderlm-daemon.sh stop