frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built a powerful RAG and knowledge graph agent that runs locally

1•GabrielBlessed•37m ago
Claw-Coder is an AI agent that runs locally on your laptop and has access to powerful tools instead of configuring claude or codex to use a local model just use claw-coder.

Why was claw-coder created? Answer: To solve the problem of privacy and security. When you use an agent that is configured with a cloud model like codex, cursor, Claude etc. You are not just getting the agent but you are giving up your codebase to train an llm which is a bit concerning and this reduces trust in the technology called AI but now another problem comes in performance when you switch to a local model that is not made for that workflow you lose performance, speed, and it becomes really a tradeoff so that's where claw-coder comes in it not only runs on your machine but all the code, rag, knowledge graph etc info is kept local making the privacy problem solved but now what about performance.

Performance: Local llms are not built to do the cool things cloud models do because the model sizes are not even capable of building real apps like the 8b models, 13b, even 1b so the solution I came up with was to give these small models access to tools and features that make it actually work well in coding performance.

So what does claw-coder have access to: A knowledge graph: A knowledge graph is an interconnected network of real-world entities—such as people, places, concepts, or events—and the relationships between them. It organizes information into a readable web of meaning rather than static lists, allowing both humans and AI to understand context. So how does this help an AI, it gives the AI the ability to tell relationships between code in your codebase, a cloned unknown repo and so forth this increases performance of local llms by far in coding tasks and reasoning abilities. Rag: We have ever had of RAG at some point but there is a catch the context window of local llms can't bear large codebases and repos so RAG isn't optional by storing vectors in a vector store you enable the AI to actually know what the code means and what each piece does to the other letting you load millions of lines into the vector store without blowing up the context window.

Tools: So we have discussed the tiny but powerful ways to improve local llm performance but an agent to be an agent it needs to take action this is where exposing tools to the local llm helps so what tools have been implemented into claw-coder. 1. search_tool This enables the ai agent to actually search up to date info so that it doesnt hallucinate on info it doesn't know which is common in local llms. 2. Docker execution This agent has a special folder called workspace where it does its work without destroying your desktop but this is not enough to protect your desktop from being destroyed by cheap code so this is where docker comes in I have implemented docker containers of various languages where the agent can validate its own code this is powerful because all llms not only local ones generate code they can't even confirm works because they are just powerful predictors so enabling it to run its code can surprisingly increase the usefulness of the generated code because it now knows it works or not even for html and css the ai agent has been given a helpful vision llm to actually explain what rendered in the browser. This is the surprising power of giving an llm a docker execution tool.

We have looked at a lot of how claw-coder is different enabling local llms to actually do real work. But how do you actually try it out yourself: Claw-coder is closed source because it is going through heavy testing but that doesnt kill transparency and since we are testing it doesn't stop people from trying it on real codebase and giving feedback to get started use:

brew tap gabriel-c70/claw then brew install claw-coder

Comments

GabrielBlessed•34m ago
Do AI agent's ability to reason about code become more powerful when given access to knowledge graph.

Model is currently experiencing high demand

https://mayberay.bearblog.dev/this-model-is-currently-experiencing-high-demand/
1•mugamuga•34s ago•0 comments

New kind of dark tourism emerging in online 'Backrooms,' study shows

https://phys.org/news/2026-05-kind-dark-tourism-emerging-online.html
1•rbanffy•41s ago•0 comments

Laravel Lang Compromised with RCE Backdoor Across 700 Versions

https://socket.dev/blog/laravel-lang-compromise
1•csmantle•8m ago•0 comments

Superior Orders

https://en.wikipedia.org/wiki/Superior_orders
1•chistev•8m ago•0 comments

Toward better handling of major page faults

https://lwn.net/SubscriberLink/1073071/4174eb93ff7ea356/
1•chmaynard•9m ago•0 comments

Four Russian satellites are now within striking distance of an ICEYE radarsat

https://arstechnica.com/space/2026/05/a-satellite-company-supporting-ukraine-appears-to-be-in-rus...
2•lostmsu•10m ago•0 comments

News about Raspberry Pi 6 and Microcontroller Development

https://www.jeffgeerling.com/blog/2026/news-about-raspberry-pi-6-and-microcontroller-development/
2•nfriedly•14m ago•0 comments

Europe Shifts Strategy as CHIPS Act 2.0 Targets Technological "Indispensability"

https://altairmedia.eu/europe-shifts-strategy-as-chips-act-2-0-targets-technological-indispensabi...
1•rbanffy•15m ago•0 comments

OpenCode is using CPU for doing nothing

https://github.com/anomalyco/opencode/issues/19466
2•wg0•19m ago•0 comments

Bruce Balfour's favorite science fiction novels about Mars colonization

https://bookdna.com/best-books/science-fiction-about-mars-colonization
2•bwb•19m ago•1 comments

Paul Levinson's favorite time travel novels that respect the paradoxes

https://bookdna.com/best-books/time-travel-that-respect-the-paradoxes
2•bwb•20m ago•0 comments

Cohere Open-Sources Command A+, a 218B Moe Model That Runs on Two H100s

https://firethering.com/cohere-command-a-plus-open-source-enterprise-ai-model/
2•steveharing1•20m ago•0 comments

DHS Quits Granting Green Cards–Almost

https://www.cato.org/blog/dhs-quits-granting-green-cards-almost-entirely
3•malshe•24m ago•0 comments

How to make a mint off the coming higher ed contraction

https://hollisrobbinsanecdotal.substack.com/p/how-to-make-a-mint-off-the-coming
2•HR01•25m ago•0 comments

Ccost – a Rust TUI to browse Claude Code logs and track API costs

https://github.com/peterxcli/ccost
2•peterxcli•27m ago•0 comments

Scaling Creativity in the Age of AI

https://www.technologyreview.com/2026/05/21/1137613/scaling-creativity-in-the-age-of-ai/
2•joozio•27m ago•0 comments

„Rust is gonna save the Linux kernel." – GKH

https://corrode.dev/podcast/s06e04-rust4linux/
2•MrBuddyCasino•28m ago•0 comments

Zero – Programming Language for Agents

https://github.com/vercel-labs/zerolang
2•xendo•29m ago•0 comments

SSCV Sleipnir

https://en.wikipedia.org/wiki/SSCV_Sleipnir
2•vintagedave•30m ago•0 comments

The Enhanced Games fit right in with the rest of 2026's longevity vibes

https://www.technologyreview.com/2026/05/22/1137753/the-enhanced-games-fit-right-in-with-the-rest...
2•joozio•31m ago•0 comments

NASA to Compete Contract for Jet Propulsion Laboratory Management

https://www.nasa.gov/news-release/nasa-to-compete-contract-for-jet-propulsion-laboratory-management/
2•geox•36m ago•0 comments

Show HN: I built a powerful RAG and knowledge graph agent that runs locally

1•GabrielBlessed•37m ago•1 comments

The Technological Republic, in Brief

https://twitter.com/PalantirTech/status/2045574398573453312
2•ColinWright•38m ago•0 comments

First, Do No Harm

https://netwars.pelicancrossing.net/2026/05/22/first-do-no-harm/
1•ColinWright•39m ago•0 comments

What Is the Thread Reaper?

https://devblogs.microsoft.com/oldnewthing/20231031-00/?p=108944
1•vintagedave•40m ago•0 comments

The Download: coding's future, the 'Steroid Olympics,' and AI-driven science

https://www.technologyreview.com/2026/05/22/1137845/the-download-coding-future-steroid-olympics-a...
1•joozio•41m ago•0 comments

"Plaything of the Gods"

https://publicdomainreview.org/collection/pushball/
2•jruohonen•45m ago•0 comments

US tech firms share Dutch regulator officials' names with Senate

https://www.dutchnews.nl/2026/05/us-tech-firms-share-dutch-regulator-officials-names-with-senate/
30•zqna•46m ago•6 comments

Edge-native news platform with a JWT paywall running Fastly's edge stack

https://www.the-daily-edge.com/
1•saschanowak•48m ago•0 comments

Vibe Infrastructure will not cut it – we need proof based platform engineering

https://ingresslabs.github.io/torque/blog-agentic-proof-gated-change-control.html
1•acarlini•48m ago•0 comments