frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

4•gabriel_oauth•32m 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

gabriel_oauth•14m ago
Do AI agents ability to reason about code increase when given access to a Knowledge Graph

Google is pitching an AI agent ecosystem to consumers who may not buy it

https://techcrunch.com/2026/05/21/google-is-pitching-an-ai-agent-ecosystem-to-consumers-who-may-n...
1•cdrnsf•2m ago•0 comments

HTML-XML-Utils

https://www.w3.org/Tools/HTML-XML-utils/README
1•Tomte•6m ago•0 comments

An automated A.I. WWE news channel on YouTube tries to pronounce "WWE"

https://twitter.com/LarryBundyJr/status/2058140468219707566
1•YeGoblynQueenne•7m ago•0 comments

Claude Code MIT Dashboard

https://github.com/BEKO2210/My_Dash
1•Beko2210•9m ago•1 comments

Google's AI Search Is So Broken It Can 'Disregard' What You're Looking For

https://www.theverge.com/tech/936176/google-ai-overviews-search-disregard
1•Brajeshwar•11m ago•0 comments

Picovoice Discointinues Free Tier

https://console.picovoice.ai/
1•vghaisas•12m ago•2 comments

LogiWebConnect – Working on Linux

https://github.com/shneeba/logiwebconnect-mirror
1•properbrew•12m ago•1 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
3•elpocko•14m ago•0 comments

Data centers could be good for your hometown

https://www.vox.com/politics/488754/data-centers-ban-electric-bill-water
2•dabinat•16m ago•1 comments

'A Total Nightmare': Voices from a Moscow Hit by Ukrainian Drones

https://www.nytimes.com/2026/05/23/world/europe/moscow-drone-attacks-ukraine.html
4•JumpCrisscross•16m ago•1 comments

What Lamarck's Giraffe Got Right

https://nautil.us/what-lamarcks-giraffe-got-right-1280790
1•bookofjoe•18m ago•0 comments

Polish Nobel literature laureate admits to using AI

https://notesfrompoland.com/2026/05/21/polish-nobel-literature-laureate-tokarczuk-sparks-controve...
2•amarant•19m ago•1 comments

Ask HN: Does anyone what a "RiotCache.dat" file was doing in my EFI partition?

2•kromerless•19m ago•0 comments

The AI Slot Machine Is Draining My Creativity

https://daviesgeek.com/The-AI-Slot-Machine-is-Draining-My-Creativity
1•daviesgeek•22m ago•0 comments

Jack Parsons

https://en.wikipedia.org/wiki/Jack_Parsons
2•helterskelter•22m ago•0 comments

Evaluating Spec CPU2026

https://chipsandcheese.com/p/evaluating-spec-cpu2026
1•zdw•25m ago•0 comments

Surface laptop ships with 8GB RAM for $1299 despite pushing 16GB for Copilot PCs

https://www.windowslatest.com/2026/05/21/microsoft-pushed-16gb-ram-as-must-have-for-windows-11-fo...
4•MoltenMonster•28m ago•0 comments

Mace targets Squad Dem with constitutional ban on foreign-born lawmakers

https://www.foxnews.com/politics/mace-targets-squad-dem-proposed-constitutional-ban-foreign-born-...
1•SilverElfin•29m ago•0 comments

Security nightmare vibe-coder berates security conscious low budget OSS devs

https://twitter.com/steipete/status/2058101804202602949
2•rjzzleep•31m ago•0 comments

Show HN: Invoker, an IDE for orchestrating massively parallel agents

https://invoker.build
1•brhsagain•32m ago•0 comments

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

4•gabriel_oauth•32m ago•1 comments

The Skeuomorphism Nobody Talks About [video]

https://www.youtube.com/watch?v=3Q-G9x315-g
1•zdw•35m ago•0 comments

Italy Cancels Boeing Pegasus Order, Shifting to Airbus A330 MRTT

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
7•embedding-shape•36m ago•0 comments

Pulumi Do: Direct Resource Operations for Any Cloud

https://www.pulumi.com/blog/pulumi-do-direct-resource-operations/
1•cnunciato•37m ago•0 comments

Putin Can No Longer Hide His Catastrophe

https://www.theatlantic.com/ideas/2026/05/putin-lost-control-russia/687269/
6•JumpCrisscross•39m ago•1 comments

The end of the internet's golden age

https://www.axios.com/2026/05/23/google-search-internet-social-media
2•1vuio0pswjnm7•40m ago•1 comments

Cargo Install Friend

https://crates.io/crates/friend
1•DavidCanHelp•43m ago•0 comments

Sleeping Beauty and Observer Multiplicity

https://zenodo.org/records/20145027
1•FreakyFish•48m ago•0 comments

Ebola Outbreak Now Third Largest Recorded and "Spreading Rapidly"

https://arstechnica.com/health/2026/05/ebola-outbreak-now-third-largest-recorded-and-spreading-ra...
8•Brajeshwar•51m ago•2 comments

Printf Is a Secret Virtual Machine – and a Giant Security Hole [video]

https://www.youtube.com/watch?v=kdnN0kk7MS0
1•senfiaj•54m ago•0 comments