Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

CodeRLM

Tree-sitter-backed code indexing for LLM agents

Details

External ID
46974515
Source
HN
Company
—
Product
CodeRLM
Website domain
github.com
Launched
Feb. 11, 2026
Cohort
—
Upvotes
81
Upvotes percentile
0.866576819407008
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

I've been building a tool that changes how LLM coding agents explore codebases, and I wanted to share it along with some early observations.Typically claude code globs directories, greps for patterns, and reads files with minimal guidance. It works in kind of the same way you'd learn to navigate a city by walking every street. You'll eventually build a mental map, but claude never does - at least not any that persists across different contexts.The Recursive Language Models paper from Zhang, Kraska, and Khattab at MIT CSAIL introduced a cleaner framing. Instead of cramming everything into context, the model gets a searchable environment. The model can then query just for what it needs and can drill deeper where needed.coderlm is my implementation of that idea for codebases. A Rust server indexes a project with tree-sitter, builds a symbol table with cross-references, and exposes an API. The agent queries for structure, symbols, implementations, callers, and grep results — getting back exactly the code it needs instead of scanning for it.The agent workflow looks like:1. `init` — register the project, get the top-level structure2. `structure` — drill into specific directories3. `search` — find symbols by name across the codebase4. `impl` — retrieve the exact source of a function or class5. `callers` — find everything that calls a given symbol6. `grep` — fall back to text search when you need itThis replaces the glob/grep/read cycle with index-backed lookups. The server currently supports Rust, Python, TypeScript, JavaScript, and Go for symbol parsing, though all file types show up in the tree and are searchable via grep.It ships as a Claude Code plugin with hooks that guide the agent to use indexed lookups instead of native file tools, plus a Python CLI wrapper with zero dependencies.For anecdotal results, I ran the same prompt against a codebase to "explore and identify opportunities to clarify the existing structure".Using coderlm, claude was able to generate a plan in about 3 minutes. The coderlm enabled instance found a genuine bug (duplicated code with identical names), orphaned code for cleanup, mismatched naming conventions crossing module boundaries, and overlapping vocabulary. These are all semantic issues which clearly benefit from the tree-sitter centric approach.Using the native tools, claude was able to identify various file clutter in the root of the project, out of date references, and a migration timestamp collision. These findings are more consistent with methodical walks of the filesystem and took about 8 minutes to produce.The indexed approach did better at catching semantic issues than native tools and had a key benefit in being faster to resolve.I've spent some effort to streamline the installation process, but it isn't turnkey yet. You'll need the rust toolchain to build the server which runs as a separate process. Installing the plugin from a claude marketplace is possible, but the skill isn't being added to your .claude yet so there are some manual steps to just getting to a point where claude could use it.Claude continues to demonstrate significant resistance to using CodeRLM in exploration tasks. Typically to use you will need to explicitly direct claude to use it.---Repo: github.com/JaredStewart/coderlmPaper: Recursive Language Models https://arxiv.org/abs/2512.24601 — Zhang, Kraska, Khattab (MIT CSAIL, 2025)Inspired by: https://github.com/brainqub3/claude_code_RLM

Enrichment

Theme
Claude integrations and coding agents
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
AI feature
Project type
Commercial product
Normalized one-liner
code indexing for llm agents
Manually corrected
False

Could you build this?

Yes Using tree-sitter language bindings to extract code AST symbols and expose them via a command-line tool or MCP server is a straightforward integration project.

Discussion

20 comments analyzed.

Competitors mentioned: Aider, Claude Code, OpenHands, Yek

Concerns raised: Project may be unnecessary given existing compiler/search capabilities, Untyped languages provide less reliable signal than typed languages, Agents are inefficient at building repomap compared to deterministic approaches, LSP designed for editors, not AI agents

Feature requests: Update documentation for end users of CLI, Support TreeSitter or ast-grep for symbol querying, Expose REST API with OpenAPI spec, Wrap server in MCP protocol, Query by symbol name rather than cursor position

Competitors

Other products that read as similar to this one — 523 launches clear the similarity bar, closest 8 shown.

Attention rank: #89 of 524 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 98 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.