this post was submitted on 23 Apr 2026
17 points (100.0% liked)

Technology

1420 readers
31 users here now

A tech news sub for communists

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] yogthos@lemmygrad.ml 5 points 1 week ago

It's a combination of prompts and rails for the model to follow. The tool keeps a code graph in memory which gets parsed using tree sitter, and then I use prolog to reason about the graph, like finding related nodes, seeing if node is connected to the rest of the graph, etc. So, the model ends up being called as the tool walks the graph mechanically, and when the implementor is invoked it basically works as it normally would. The tool offers it MCP like interface where the model can call functions to look at code, run tests, etc., but it never gets to run any system commands itself, it just works against the API the tool exposes to it.