frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
1•jared_stewart•1h ago
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 structure

2. `structure` — drill into specific directories

3. `search` — find symbols by name across the codebase

4. `impl` — retrieve the exact source of a function or class

5. `callers` — find everything that calls a given symbol

6. `grep` — fall back to text search when you need it

This 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/coderlm

Paper: Recursive Language Models https://arxiv.org/abs/2512.24601 — Zhang, Kraska, Khattab (MIT CSAIL, 2025)

Inspired by: https://github.com/brainqub3/claude_code_RLM

Don't Use Moving Averages (2024)

https://observablehq.com/d/a51954c61a72e1ef
1•tosh•14s ago•0 comments

When Every "AI Headshot" Looked Fake, I Spent 2 Weeks Hacking Together My Own

https://cozaiphoto.com/
1•myq0032•35s ago•1 comments

Canonicalize Your Web Identity and Achieve Data Sovereignty with Pesos

https://shellsharks.com/pesos
1•ciferkey•42s ago•0 comments

The Barbican Basin

https://www.barbicanbasin.com/history
1•Kaibeezy•47s ago•0 comments

One in Four Smartphones Are Now iPhones

https://www.macrumors.com/2026/02/11/one-in-four-smartphones-iphones/
1•mgh2•51s ago•0 comments

Google follows Anthropic: Antigravity sub can't be used in OpenCode/etc.

https://old.reddit.com/r/google_antigravity/comments/1qykskz/comment/o45ca6p/
1•behnamoh•1m ago•0 comments

The Simulation Argument Revisited in a Functional Universe

https://d1gesto.blogspot.com/2026/02/the-simulation-argument-revisited-in.html
1•voxleone•4m ago•1 comments

Building a production-grade SaaS product just with AI

https://world.hey.com/cpinto/100-made-by-ai-creating-onboardinghub-a-git-history-documentary-cca1...
1•cpinto•4m ago•1 comments

Show HN: Godot MCP – Give AI assistants full access to the Godot editor

https://github.com/tomyud1/godot-mcp
1•tomyud•4m ago•0 comments

Show HN: Tahc – AI chat widget that hands off to a human when it can't answer

https://tahc.ai/
1•brookler•4m ago•0 comments

"Energy Based" model vs. frontier AI models for Sudoku

https://sudoku.logicalintelligence.com/
1•runamuck•4m ago•0 comments

FDA says companies can claim "no artificial colors" if they use natural dyes

https://www.foodpolitics.com/2026/02/fda-says-food-companies-can-claim-no-artificial-colors-if-th...
2•speckx•7m ago•0 comments

So, if Rust is in Linux can it be in Emacs, too?

https://lists.gnu.org/archive/html/emacs-devel/2026-02/msg00114.html
1•untilted•7m ago•0 comments

Show HN: Clap.Net – Source generated CLI Parsing for .NET (Inspired by Clap-Rs)

https://github.com/simon-curtis/Clap.Net
1•scurtis0•8m ago•0 comments

Apparently, there is a website that ships 52.5 MB of CSS

https://www.projectwallace.com/the-css-selection/2026
1•KalandaDev•10m ago•0 comments

What I learned when I started assigning the hard reading again

https://www.theatlantic.com/ideas/2026/02/youth-reading-books-professors/685825/
1•obscurette•11m ago•0 comments

Show HN: TapTap AI – Use Your OpenClaw Agent from Apple Watch/AirPods/CarPlay

http://gettaptap.ai/
1•geogons•12m ago•0 comments

Two co-founders of Elon Musk's xAI resign, joining exodus

https://www.reuters.com/business/two-co-founders-elon-musks-xai-resign-joining-exodus-2026-02-11/
2•lossolo•12m ago•0 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
3•JanLepsky•14m ago•0 comments

Show HN: Superjson – Simple, beautiful JSON explorer

https://superjson.dev/
1•nihalwashere•16m ago•0 comments

Show HN: Minimal Pomodoro timer for macOS (1.7MB, now with keyboard shortcuts)

https://apps.apple.com/us/app/pomodoro-timer-lite/id6748662476?mt=12
1•happylaodu•17m ago•0 comments

FAA Lifts Closure at El Paso Airport

https://www.nytimes.com/live/2026/02/11/us/faa-el-paso-flights-airport
2•joekrill•17m ago•0 comments

An AI-generated pull request that makes sense

https://nicolaiarocci.com/an-ai-generated-pull-request-that-actually-makes-sense/
1•speckx•17m ago•0 comments

Deploying Rust to Production Checklist

https://kerkour.com/rust-production-checklist
4•randomint64•18m ago•0 comments

Show HN: Triclock – A Triangular Clock

https://triclock.franzai.com/
2•franze•18m ago•0 comments

Show HN: Deeploy v0.3.0 – terminal-first VPS app deployment tool

https://deeploy.sh
1•axadrn•19m ago•0 comments

Show HN: Eryx, a fast WASM-based Python sandbox with native extension support

https://github.com/eryx-org/eryx
1•sd2k•21m ago•0 comments

Don't Go Monolithic; the Enterprise Agent Stack Is Stratifying

https://philippdubach.com/posts/dont-go-monolithic-the-agent-stack-is-stratifying/
1•7777777phil•21m ago•0 comments

Ejabberd 26.02 / ProcessOne – Erlang Jabber/XMPP/Matrix Server – Communication

https://www.process-one.net/blog/ejabberd-26-02/
1•neustradamus•22m ago•0 comments

Sony to exit Blu-ray disc recorder market amid rise of streaming services

https://english.kyodonews.net/articles/-/70241
2•thunderbong•22m ago•1 comments