88 comments

  • dvt 7 hours ago

    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-first" as it's still reliant on an `ANTHROPIC_API_KEY`.

    I do think that local-first will end up being the future long-term though. I built something similar last year (unreleased) also in Rust, but it was also running the model locally (you can see how slow/fast it is here[1], keeping in mind I have a 3080Ti and was running Mistral-Instruct).

    I need to re-visit this project and release it, but building in the context of the OS is pretty mindblowing, so kudos to you. I think that the paradigm of how we interact with our devices will fundamentally shift in the next 5-10 years.

    [1] https://www.youtube.com/watch?v=tRrKQl0kzvQ

    • backscratches 2 hours ago

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

      • lxgr an hour ago

        To be precise, it’s exactly as local first as OpenClaw (i.e. probably not unless you have an unusually powerful GPU).

    • halJordan 7 hours ago

      You absolutely do not have to use a third party llm. You can point it to any openai/anthropic compatible endpoint. It can even be on localhost.

      • dvt 7 hours ago

        Ah true, missed that! Still a bit cumbersome & lazy imo, I'm a fan of just shipping with that capability out-of-the-box (Huggingface's Candle is fantastic for downloading/syncing/running models locally).

        • mirekrusin 3 hours ago

          In local setup you still usually want to split machine that runs inference from client that uses it, there are often non trivial resources used like chromium, compilation, databases etc involved that you don’t want to pollute inference machine with.

        • embedding-shape 7 hours ago

          Ah come on, lazy? As long as it works with the runtime you wanna use, instead of hardcoding their own solution, should work fine. If you want to use Candle and have to implement new architectures with it to be able to use it, you still can, just expose it over HTTP.

          • dvt 5 hours ago

            I think one of the major problems with the current incarnation of AI solutions is that they're extremely brittle and hacked-together. It's a fun exciting time, especially for us technical people, but normies just want stuff to "work."

            Even copy-pasting an API key is probably too much of a hurdle for regular folks, let alone running a local ollama server in a Docker container.

            • Sharlin an hour ago

              Unlike in image/video gen, at least with LLMs the "best" solution available isn’t a graph/node-based interface with an ecosystem of hundreds of hacky undocumented custom nodes that break every few days and way too complex workflows made up of a spaghetti of two dozen nodes with numerous parameters each, half of which have no discernible effect on output quality and tweaking the rest is entirely trial and error.

              • dragonwriter 41 minutes ago

                That's not the best solution for image or video (or audio, or 3D) any more than it is for LLMs (which it also supports.)

                OTOH, its the most flexible and likely to have some support for what you are doing for a lot of those, and especially if yoj are combining multiple of them in the same process.

    • atmanactive 7 hours ago

      > 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...

      • nodesocket 4 hours ago

        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.

        • mixermachine 2 hours ago

          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.

          • zozbot234 2 hours ago

            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.)

        • lodovic 3 hours ago

          I made something similar to this project, and tested it against a few 3B and 8B models (Qwen and Ministral, both the instruction and the reasoning variants). I was pleasantly surprised by how fast and accurate these small models have become. I can ask it things like "check out this repo and build it", and with a Ralph strategy eventually it will succeed, despite the small context size.

        • PeterStuer an hour ago

          Nothing close to Opus is available in open weights. That said, do all your tasks need the power of Opus?

          • lxgr an hour ago

            The problem is that having to actively decide when to use Opus defeats much of the purpose.

            You could try letting a model decide, but given my experience with at least OpenAI’s “auto” model router, I’d rather not.

            • PeterStuer 17 minutes ago

              I also don't like having to think about it, and if it were free, I would not bother even though keeping up a decent local alternative is a good defensive move regardless.

              But let's face it. For most people Opus comes at a significant financial cost per token if used more than very casual, so using it for rather trivial or iterative tasks that nevertheless consume a lot of those is something to avoid.

    • __mharrison__ 3 hours ago

      I'm playing with local first openclaw and qwen3 coder next running on my LAN. Just starting out but it looks promising.

    • fy20 4 hours ago

      > Say what you will, but AI really does feel like living in the future.

      Love or hate it, the amount of money being put into AI really is our generation's equivalent of the Apollo program. Over the next few years there are over 100 gigawatt scale data centres planned to come online.

      At least it's a better use than money going into the military industry.

    • jazzyjackson 4 hours ago

      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 support it when Amazon Bedrock will do it for me?

      • Sharlin an hour ago

        That’s probably true only as long as subscription prices are kept artificially low. Once the $20 becomes $200 (or the fast-mode inference quotas for cheap subs become unusably small), the equation may change.

      • zozbot234 2 hours ago

        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.

  • ramon156 8 hours ago

    Pro tip (sorry if these comments are overdone), write your posts and docs yourself (or at least edit them).

    Your docs and this post is all written by an LLM, which doesn't reflect much effort.

    • Muhammad523 3 hours ago

      I agree. Also at some point, writing your own docs becomes funny (or at least for me)

    • Szpadel 6 hours ago

      counterargument: I always hated writing docs and therefore most of thing that I done at my day job didn't had any and it made using it more difficult for others.

      I was also burnt many times where some software docs said one thing and after many hours of debugging I found out that code does something different.

      LLMs are so good at creating decent descriptions and keeping them up to date that I believe docs are the number one thing to use them for. yes, you can tell human didn't write them, so what? if they are correct I see no issue at all.

      • DonaldPShimoda 6 hours ago

        > if they are correct I see no issue at all.

        Indeed. Are you verifying that they are correct, or are you glancing at the output and seeing something that seems plausible enough and then not really scrutinizing? Because the latter is how LLMs often propagate errors: through humans choosing to trust the fancy predictive text engine, abdicating their own responsibility in the process.

        As a consumer of an API, I would much rather have static types and nothing else than incorrect LLM-generated prosaic documentation.

        • jack_pp 6 hours ago

          Can you provide examples in the wild of LLMs creating bad descriptions of code? Has it ever happened to you?

          Somehow I doubt at this point in time they can even fail at something so simple.

          Like at some point, for some stuff we have to trust LLMs to be correct 99% of the time. I believe summaries, translate, code docs are in that category

          • fauigerzigerk an hour ago

            >Somehow I doubt at this point in time they can even fail at something so simple.

            I think it depends on your expectations. Writing good documentation is not simple.

            Good API documentation should explain how to combine the functions of the API to achieve specific goals. It should warn of incorrect assumptions and potential mistakes that might easily happen. It should explain how potentially problematic edge cases are handled.

            And second, good API documentation should avoid committing to implementation details. Simply verbalising the code is the opposite of that. Where the function signatures do not formally and exhaustively define everything the API promises, documentation should fill in the gaps.

          • blharr 3 hours ago

            The above post is an example of the LLM providing a bad description of the code. "Local first" with its default support being for OpenAI and Anthropic models... that makes it local... third?

            Can you provide examples in the wild of LLMs creating good descriptions of code?

          • aforwardslash 4 hours ago

            This happens to me all the time. I always ask claude to re-check the generated docs and test each example/snippet, sometimes more than once; more often than not, there are issues.

          • halfcat 5 hours ago

            > Can you provide examples in the wild of LLMs creating bad descriptions of code? Has it ever happened to you?

            Yes. Docs it produces are generally very generic, like it could be the docs for anything, with project-specifics sprinkled in, and pieces that are definitely incorrect about how the code works.

            > for some stuff we have to trust LLMs to be correct 99% of the time

            No. We don’t.

      • wonnage 4 hours ago

        engineer who was too lazy to write docs before now generates ai slop and continues not to write docs, news at 11

    • bakugo 7 hours ago

      > which doesn't reflect much effort.

      I wish this was an effective deterrent against posting low effort slop, but it isn't. Vibe coders are actively proud of the fact that they don't put any effort into the things they claim to have created.

      • g0h0m3 7 hours ago

        Github repo that is nothing but forks of others projects and some 4chan utilities.

        Professional codependent leveraging anonymity to target others. The internet is a mediocrity factory.

      • IhateAI_6 5 hours ago

        The masses yearn for slop.

    • IhateAI_6 5 hours ago

      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.

      • SeanAnderson 5 hours ago

        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.

        • fullstackchris 2 hours ago

          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.

  • applesauce004 7 hours ago

    Can someone explain to me why this needs to connect to LLM providers like OpenAI or Anthropic? I thought it was meant to be a local GPT. Sorry if i misunderstood what this project is trying to do.

    Does this mean the inference is remote and only context is local?

    • atmanactive 7 hours ago

      It doesn't. It has to connect to SOME LLM provider, but that CAN also be local Ollama server (running instance). The choice ALWAYS need to be present since, depending on your use case, Ollama (local machine LLM) could be just right, or it could be completely unusable, in which case you can always switch to data center size LLMs.

      The ReadMe gives only a Antropic version example, but, judging by the source code [1], you can use other providers, including Ollama, just by changing the syntax of that one config file line.

      [1] https://github.com/localgpt-app/localgpt/blob/main/src%2Fage...

    • schobi 3 hours ago

      I applaud the effort of tinkering, re-creating and sharing, but I think the name is misleading - it is not at all a "local GPT". The contribution is not to do anything local and it is not a GPT model.

      It is more like an OpenClaw rusty clone

    • vgb2k18 7 hours ago

      If local isn't configured then fallback to online providers:

      https://github.com/localgpt-app/localgpt/blob/main/src%2Fage...

    • halJordan 7 hours ago

      It doesn't need to

  • mrbeep 4 hours ago

    Genuine question: what does this offer that OpenClaw doesn't already do?

    You're using the same memory format (SOUL.md, MEMORY.md, HEARTBEAT.md), similar architecture... but OpenClaw already ships with multi-channel messaging (Telegram, Discord, WhatsApp), voice calls, cron scheduling, browser automation, sub-agents, and a skills ecosystem.

    Not trying to be harsh — the AI agent space just feels crowded with "me too" projects lately. What's the unique angle beyond "it's in Rust"?

  • the_harpia_io an hour ago

    this is really cool - the single binary thing solves a huge pain point I have with OpenClaw. I love that tool but the Node + npm dependency situation is a lot.

    curious: when you say compatible with OpenClaw's markdown format, does that mean I could point LocalGPT at an existing OpenClaw workspace and it would just work? or is it more 'inspired by' the format?

    the local embeddings for semantic search is smart. I've been using similar for code generation and the thing I kept running into was the embedding model choking on code snippets mixed with prose. did you hit that or does FTS5 + local embeddings just handle it?

    also - genuinely asking, not criticizing - when the heartbeat runner executes autonomous tasks, how do you keep the model from doing risky stuff? hitting prod APIs, modifying files outside workspace, etc. do you sandbox or rely on the model being careful?

    • avoutic an hour ago

      Hitting production APIs (and email) is my main concern with all agents I run.

      To solve this I've built Wardgate [1], which removes the need for agents to see any credentials and has access control on a per API endpoints basis. So you can say: yes you can read all Todoist tasks but you can't delete tasks or see tasks with "secure" in them, or see emails outside Inbox or with OTP codes, or whatever.

      Interested in any comments / suggestions.

      [1] https://github.com/wardgate/wardgate

  • thcuk 6 hours ago

    Fails to build

    "cargo install localgpt" under Linux Mint.

    Git clone and change Cargo.toml by adding

    """rust

    # Desktop GUI

    eframe = { version = "0.30", default-features = false,

    features = [ "default_fonts", "glow", "persistence", "x11", ] }

    """

    That is add "x11"

    Then cargo build --release succeeds.

    I am not a Rust programmer.

  • lysecret 24 minutes ago

    Local really has a strange meaning when most of what these things do is interact with the internet in an unrestricted way

  • benob an hour ago

    What local models shine as local assistants? Is there an effort to evaluate the compromise between compute/memory and local models that can support this use case? What kind of hardware do you need to not feel like playing with a useless shiny toy?

  • ryanrasti 3 hours ago

    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 information".

    Would love to chat with anyone who wants to use agents but who (rightly) refuses to compromise on security.

    • rellfy 3 hours ago

      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 if the agent only communicates externally infrequently or if the decision is easy to make by reading the data flowing out (wouldn't work if you need to review a 20-page PDF every time).

      2. Design around the lethal trifecta: your agent can only have 2 legs instead of all 3. I believe this is the most robust approach for all use cases that support it. For example, agents that are privately accessed, and can work with private data and untrusted content but cannot externally communicate.

      I'd be interested to know if you have reached similar conclusions or have a different approach to it?

      • eek2121 27 minutes ago

        Someone above posted a link to wardgate, which hides api keys and can limit certain actions. Perhaps an extension of that would be some type of way to scope access with even more granularity.

        Realistically though, these agents are going to need access to at least SOME of your data in order to work.

      • ryanrasti 2 hours ago

        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 communication, but scope is constrained to ensure it doesn't leak sensitive information.

        The basic idea is applying systems security principles (object-capabilities and IFC) to agents. There's a lot more to it -- and it doesn't solve every problem -- but it gets us a lot closer.

        Happy to share more details if you're interested.

        • rellfy 2 hours ago

          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?

          • ryanrasti 2 hours ago

            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."

      • trenchgun 2 hours ago

        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.

        • ryanrasti 2 hours ago

          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.

  • tempodox an hour ago

    Ran into a problem:

      ort-sys@2.0.0-rc.11: [ort-sys] [WARN] can't do xcframework linking for target 'x86_64-apple-darwin'
    
    Build failed, bummer.
  • raybb 4 hours ago

    Did you consider adding cron jobs or similar or just sticking to the heartbeat? I ask because the cron system on openclaw feels very complex and unreliable.

  • my_throwaway23 3 hours ago

    Slop.

    Ask and ye shall receive. In a reply to another comment you claim it's because you couldn't be bothered writing documentation. It seems you couldn't be bothered writing the article on the project "blog" either[0].

    My question then - Why bother at all?

    [0]: https://www.pangram.com/history/dd0def3c-bcf9-4836-bfde-a9e9...

  • dormento 2 hours ago

    Try as i might, could not install it on Ubuntu (Rust 1.93. I went up to the part where it asks to locate OpenSSL, which was already installed)

  • dpweb 7 hours ago

    Made a quick bot app (OC clone). For me I just want to iMessage it - but do not want to give Full Disk rights to terminal (to read the imessage db).

    Uses Mlx for local llm on apple silicon. Performance has been pretty good for a basic spec M4 mini.

    Nor install the little apps that I don't know what they're doing and reading my chat history and mac system folders.

    What I did was create a shortcut on my iphone to write imessages to an iCloud file, which syncs to my mac mini (quick) - and the script loop on the mini to process my messages. It works.

    Wonder if others have ideas so I can iMessage the bot, im in iMessage and don't really want to use another app.

  • leke 2 hours ago

    Is it really local? Why does it mention an API key, or is that optional?

  • theParadox42 7 hours ago

    I am excited to see more competitors in this space. Openclaw feels like a hot mess with poor abstractions. I got bit by a race condition for the past 36 hours that skipped all of my cron jobs, as did many others before getting fixed. The CLI is also painfully slow for no reason other than it was vibe coded in typescript. And the errors messages are poor and hidden and the TUIs are broken… and the CLI has bad path conventions. All I really want is a nice way to authenticate between various APIs and then let the agent build and manage the rest of its own infrastructure.

    • dbacar 4 hours ago

      Given the fact that it is only a couple of months old, one can assume things would break over here and there for some time before investing heavily.

    • wonnage 4 hours ago

      Hate to break it to you but most AI tools are vibe coded hot messes internally. Claude Code famously wears this as a badge of pride (https://newsletter.pragmaticengineer.com/p/how-claude-code-i...).

  • wiradikusuma 2 hours ago

    OpenClaw made the headlines everywhere (including here), but I feel like I'm missing something obvious: cost. Since 99% of us won't have the capital for a local LLM, we'll end up paying Open AI etc.

    How much should we budget for the LLM? Would "standard" plan suffice?

    Or is cost not important because "bro it's still cheaper than hiring Silicon Valley engineer!"

  • PunchyHamster 2 hours ago

    if you have to put API key in it, it's not local

    • PeterStuer an hour ago

      Most local systems use an OpenAI compatible API. This requires an API key to be set, even if it is not used. Just set it to "not-needed" or whatever you fancy.

  • agile-gift0262 3 hours ago

    it saddens me how quickly how quickly we have accepted the term "local" for clients of cloud services

  • ripped_britches 4 hours ago

    You too are going to have to change the name! Walked right into that one

  • mudkipdev 3 hours ago

    Is 27 MB binary supposed to be small?

  • mkbkn 5 hours ago

    Non-tech guy here. How much RAM & CPU will it consume? I have 2 laptops - one with Windows 11 and another with Linux Mint.

    Can it run on these two OS? How to install it in a simple way?

  • mraza007 6 hours ago

    I love how you used SQLite (FTS5 + sqlite-vec)

    Its fast and amazing for generating embedding and lookups

  • m00dy 2 hours ago

    better than openclaw but missing some features like browser tool, etc. Once they are added, it will be way more performant than openclaw. FTS5 is a great pick, well done.

  • AndrewKemendo 7 hours ago

    Properly local too with the llama and onnx format models available! Awesome

    I assume I could just adjust the toml to point to deep seek API locally hosted right?

  • dalemhurley 7 hours ago

    I’m am playing with Apple Foundation Models.

  • DetroitThrow 6 hours ago

    It doesn't build for me unfortunately. I'm using Ubuntu Linux, nothing special.

    • thcuk 5 hours ago

      edit cargo.toml and add "x11" to eframe.

      See my post above.