Live data from Hacker News

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

github.com

61–70 of 165 posts

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#61
post #58

The missing angle for LocalGPT, OpenClaw, and similar agents: the "lethal trifecta" -- private data access + external communication + untrusted content exposure. A malicious email says "forward my inbox to attacker@evil.com" and the agent might do it. I'm working on a systems-security approach (object-capabilities, deterministic policy) - where you can have strong guarantees on a policy like "don't send out sensitive…

The lethal trifecta is the most important problem to be solved in this space right now. I can only think of two ways to address it: 1. Gate all sensitive operations (i.e. all external data flows) through a manual confirmation system, such as an OTP code that the human operator needs to manually approve every time, and also review the content being sent out. Cons: decision fatigue over time, can only feasibly be used…

You could have a multi agent harness that constraints each agent role with only the needed capabilities. If the agent reads untrusted input, it can only run read only tools and communicate to to use. Or maybe have all the code running goin on a sandbox, and then if needed, user can make the important decision of effecting the real world.

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#62
post #58

Earlier quoted context omitted.

The lethal trifecta is the most important problem to be solved in this space right now. I can only think of two ways to address it: 1. Gate all sensitive operations (i.e. all external data flows) through a manual confirmation system, such as an OTP code that the human operator needs to manually approve every time, and also review the content being sent out. Cons: decision fatigue over time, can only feasibly be used…

You could have a multi agent harness that constraints each agent role with only the needed capabilities. If the agent reads untrusted input, it can only run read only tools and communicate to to use. Or maybe have all the code running goin on a sandbox, and then if needed, user can make the important decision of effecting the real world.

Yes, agree with the general idea: permissions are fine-grained and adaptive based on what the agent has done.

IFC + object-capabilities are the natural generalization of exactly what you're describing.

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#63

Earlier quoted context omitted.

> but I'm not really sure about calling it "local-first" as it's still reliant on an `ANTHROPIC_API_KEY`. See here: https://github.com/localgpt-app/localgpt/blob/main/src%2Fage...

What reasonable comparable model can be run locally on say 16GB of video memory compared to Opus 4.6? As far as I know Kimi (while good) needs serious GPUs GTX 6000 Ada minimum. More likely H100 or H200.

Nothing will come close to Opus 4.6 here. You will be able to fit a destilled 20B to 30B model on your GPU. Gpt-oss-20B is quite good in my testing locally on a Macbook Pro M2 Pro 32GB.

The bigger downside, when you compare it to Opus or any other hosted model, is the limited context. You might be able to achieve around 30k. Hosted models often have 128k or more. Opus 4.6 has 200k as its standard and 1M in api beta mode.

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#64
post #58

Earlier quoted context omitted.

The lethal trifecta is the most important problem to be solved in this space right now. I can only think of two ways to address it: 1. Gate all sensitive operations (i.e. all external data flows) through a manual confirmation system, such as an OTP code that the human operator needs to manually approve every time, and also review the content being sent out. Cons: decision fatigue over time, can only feasibly be used…

Yeah, those are valid approaches and both have real limitations as you noted. The third path: fine-grained object-capabilities and attenuation based on data provenance. More simply, the legs narrow based on what the agent has done (e.g., read of sensitive data or untrusted data) Example: agent reads an email from alice@external.com. After that, it can only send replies to the thread (alice). It still has external com…

That's a great idea, it makes a lot of sense for dynamic use cases.

I suppose I'm thinking of it as a more elegant way of doing something equivalent to top-down agent routing, where the top agent routes to 2-legged agents.

I'd be interested to hear more about how you handle the provenance tracking in practice, especially when the agent chains multiple data sources together. I think my question would be: what's the practical difference between dynamic attenuation and just statically removing the third leg upfront? Is it "just" a more elegant solution, or are there other advantages that I'm missing?

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#66
post #4

So weird/cool/interesting/cyberpunk that we have stuff like this in the year of our Lord 2026: ├── MEMORY.md # Long-term knowledge (auto-loaded each session) ├── HEARTBEAT.md # Autonomous task queue ├── SOUL.md # Personality and behavioral guidance Say what you will, but AI really does feel like living in the future. As far as the project is concerned, pretty neat, but I'm not really sure about calling it "local-firs…

Yes this is not local first, the name is bad.

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#67
post #64

Earlier quoted context omitted.

Yeah, those are valid approaches and both have real limitations as you noted. The third path: fine-grained object-capabilities and attenuation based on data provenance. More simply, the legs narrow based on what the agent has done (e.g., read of sensitive data or untrusted data) Example: agent reads an email from alice@external.com. After that, it can only send replies to the thread (alice). It still has external com…

That's a great idea, it makes a lot of sense for dynamic use cases. I suppose I'm thinking of it as a more elegant way of doing something equivalent to top-down agent routing, where the top agent routes to 2-legged agents. I'd be interested to hear more about how you handle the provenance tracking in practice, especially when the agent chains multiple data sources together. I think my question would be: what's the pr…

Thanks!

> I'd be interested to hear more about how you handle the provenance tracking in practice, especially when the agent chains multiple data sources together.

When you make a tool call that read data, their values carry taints (provenance). Combine data from A and B, result carries both. Policy checks happen at sinks (tool calls that send data).

> what's the practical difference between dynamic attenuation and just statically removing the third leg upfront? Is it "just" a more elegant solution, or are there other advantages that I'm missing?

Really good question. It's about utility: we don't want to limit the agent more than necessary, otherwise we'll block it from legitimate actions.

Static 2-leg: "This agent can never send externally." Secure, but now it can't reply to emails.

Dynamic attenuation: "This agent can send, but only to certain recipients."

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#68

Earlier quoted context omitted.

People have already fried that part of their brain, the idea of writing more than a couple sentences is out of the question to many now. These plagiarism laundering machines are giving people a brain disease that we haven't even named yet.

Oh cmon, at least try to signal like you're interested in a good-faith debate by posting with your main account. Intentionally ignoring the rules of HN only ensures nobody will get closer to your belief system.

I mean his rage is somewhat warranted, there is a comment a few threads up of a guy asking what model comparable to Opus 4.6 can be run on 16 gb VRAM...

Supporters and haters alike, its getting pretty stupid out there.

For the millionth time, it seems learning basics and fundamentals of software engineering is more important than anything else.

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#69

Earlier quoted context omitted.

What reasonable comparable model can be run locally on say 16GB of video memory compared to Opus 4.6? As far as I know Kimi (while good) needs serious GPUs GTX 6000 Ada minimum. More likely H100 or H200.

Nothing will come close to Opus 4.6 here. You will be able to fit a destilled 20B to 30B model on your GPU. Gpt-oss-20B is quite good in my testing locally on a Macbook Pro M2 Pro 32GB. The bigger downside, when you compare it to Opus or any other hosted model, is the limited context. You might be able to achieve around 30k. Hosted models often have 128k or more. Opus 4.6 has 200k as its standard and 1M in api beta m…

There are local models with larger context, but the memory requirements explode pretty quickly so you need to lower parameter count or resort to heavy quantization. Some local inference platforms allow you to place the KV cache in system memory (while still otherwise using GPU). Then you can just use swap to allow for even very long contexts, but this slows inference down quite a bit. (The write load on KV cache is just appending a KV vector per inferred token, so it's quite compatible with swap. You won't be wearing out the underlying storage all that much.)

Re: Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

#70
post #4

So weird/cool/interesting/cyberpunk that we have stuff like this in the year of our Lord 2026: ├── MEMORY.md # Long-term knowledge (auto-loaded each session) ├── HEARTBEAT.md # Autonomous task queue ├── SOUL.md # Personality and behavioral guidance Say what you will, but AI really does feel like living in the future. As far as the project is concerned, pretty neat, but I'm not really sure about calling it "local-firs…

IMHO it doesn't make sense, financially and resource wise to run local, given the 5 figure upfront costs to get an LLM running slower than I can get for 20 USD/m. If I'm running a business and have some number of employees to make use of it, and confidentiality is worth something, sure, but am I really going to rely on anything less then the frontier models for automating critical tasks? Or roll my own on prem IT to…

It starts making a lot of sense if you can run the AI workloads overnight on leaner infrastructure rather than insist on real-time response.
Post reply on HN