Hacker GitHub

← All repos

kstenerud/yoloai

View on GitHub ↗ ★ 222 Go

Your agent is a security risk, so treat it like one. yoloAI does AI agent sandboxing right.

52 mentions on Hacker News by 4 people: 1 story, 51 comments · first 2026-02-25 · latest 2026-08-20

Mentions per year 52 mentions · busiest year 2026 (52)
20082026
  1. …file, and then put Claude specific stuff (mainly info about hooks and scripts) after that. https://github.com/kstenerud/yoloai/blob/main/CLAUDE.md
    comment by kstenerud · 2026-08-20 · in Feature Request: Support AGENTS.md
  2. …is writing code is: Either you adhere to the rules, or you mark an exception with a valid reason. https://github.com/kstenerud/yoloai/blob/main/docs/contribut... Poor defaults break systems by a thousand cuts. They seem to make sense when…
  3. I wrote one that has both of those: yoloAI (MIT, Go, single binary, no login). https://github.com/kstenerud/yoloai Outbound firewall is `--network-isolated`: egress is denied except the agent's own API endpoints plus domains you allow,…
  4. …so its quite similar using that. My main issue would be that network access is allowed by default. https://github.com/kstenerud/yoloai Several other projects listed here use libkrun which is an alternate implementation that works with…
  5. …whether to apply them. - gitignored files never get copied in. The agent never sees them. - FOSS https://github.com/kstenerud/yoloai
  6. …glue is where all the chaos ensues. Here's a small sample of the crazy shit you have to deal with: https://github.com/kstenerud/yoloai/blob/main/docs/contribut... And that's if you're actually following the proper procedures (which are…
  7. …in the backends that will eventually trip you up. The list is quite large and continually growing: https://github.com/kstenerud/yoloai/blob/main/docs/contribut...
  8. …you want to use. Defaults to a ~/.yoloai dir for config/data, but you can point it anywhere. - FOSS https://github.com/kstenerud/yoloai
  9. Yup, I built one! https://github.com/kstenerud/yoloai You can even run simulators in it if you choose the Tart backend.
  10. …at all. - You pick the security backend to match your needs (containers, VMs, etc). - It's FOSS. https://github.com/kstenerud/yoloai
  11. …you want to use. Defaults to a ~/.yoloai dir for config/data, but you can point it anywhere. - FOSS https://github.com/kstenerud/yoloai
  12. Have you seen https://news.ycombinator.com/item?id=48892015 and yoloai? https://github.com/kstenerud/yoloai Seems like both projects are following very similar approaches.
  13. …which files/dirs it has access to. It's a MASSIVE time saver, and I use it as my daily driver. https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-07-13 · in Ask HN: What Are You Working On? (July 2026)
  14. You might want to give https://github.com/kstenerud/yoloai a try, then. Runs agents in tmux in sandboxes.
    comment by kstenerud · 2026-07-08 · in Herdr: One terminal to rule them all
  15. …access. Containment can be container or VM level, with a Linux or MacOS contained environment. https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-07-04 · in Ask HN: What are you working on? (July 2026)
  16. I use this: https://github.com/kstenerud/yoloai yoloai new mysandbox . # Create a sandbox yoloai attach mysandbox # Attach the sandbox to the current terminal ... (^b^d to disconnect) # It's using tmux to keep the agent alive yoloai diff…
  17. …security, use a sandbox. Nothing else will do. I do AI sandboxes (FOSS, free forever, no rug pull): https://github.com/kstenerud/yoloai
  18. …haven't quite figured out how I want to deploy it, and anyways I haven't found an agent I like yet. https://github.com/kstenerud/yoloai
    comment by NortySpock · 2026-06-25 · in Computer use in Gemini 3.5 Flash
  19. …mybugfix # Bring out commits and/or uncommitted changes. $ yoloai destroy mybugfix And it's FOSS: https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-06-14 · in Ask HN: What are you working on? (June 2026)
  20. …the sandbox approvals (I don't want to give it "dangerous" access to my entire mac). This is what https://github.com/kstenerud/yoloai does. Sandboxing using Docker, Podman, containerd (linux only), seatbelt (macos only), tart (macos only),…
    comment by kstenerud · 2026-06-14 · in AI coding at home without going broke
  21. …even the new apple containers (which are VERY nice). Not even ENV leaks through. And it's FOSS: https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-06-12 · in Claude Fable is relentlessly proactive
  22. …changes out ala git diffs or commits. It's a MASSIVE time saver, and I use it as my daily driver. https://github.com/kstenerud/yoloai
  23. You could just use https://github.com/kstenerud/yoloai to keep it contained while allowing all permissions. That's how I code with AI now. Can't imagine going back.
    comment by kstenerud · 2026-06-06 · in I'm waiting for Claude to rm rf my computer
  24. …yeah? This is what I've been arguing for a long time now, and it's the primary reason why I wrote https://github.com/kstenerud/yoloai and use it as my daily-driver. I can't imagine running an agent without it. The environment layer is…
    comment by kstenerud · 2026-06-04 · in The ways we contain Claude across products
  25. This is what yoloAI does, using docker, podman, kata, containerd, seatbelt, and tart for sandboxing. https://github.com/kstenerud/yoloai
  26. You might want to check out https://github.com/kstenerud/yoloai
  27. I looked through and there's a bunch of stuff that's in poor coding practice. E.g. https://github.com/kstenerud/yoloai/blob/main/internal/fileu... <- that recursively creates directories, but will only change permissions on the innermost…
    comment by everforward · 2026-05-19 · in The last six months in LLMs in five minutes
  28. …up in your face. Is it doing it to the same scale? No - it's a single user app. But have a look at https://github.com/kstenerud/yoloai/blob/main/docs/dev/backe... and you'll see the kind of shit a project like this has to handle. It's not…
    comment by kstenerud · 2026-05-19 · in The last six months in LLMs in five minutes
  29. …less pretty). Once I get around to fixing this, it will probably result in another section in https://github.com/kstenerud/yoloai/blob/main/docs/dev/backe... Edit: Looks like it's the terminal. That's a rabbit hole for another day. Running…
    comment by kstenerud · 2026-05-19 · in The last six months in LLMs in five minutes
  30. …I've had the opposite experience of yours, generating very high quality work using Claude (such as https://github.com/kstenerud/yoloai ). Just in dealing with all the bugs and idiosyncrasies in the technologies I'm using, the agent has…
    comment by kstenerud · 2026-05-19 · in The last six months in LLMs in five minutes
  31. …you want), no access to your workdir until you apply. You can also easily restrict network access. https://github.com/kstenerud/yoloai
  32. …code such that you can choose your level of security (docker, gvisor, kata, firecracker). https://github.com/kstenerud/yoloai
  33. …changes before they land. You also control network access. Free, open-source, no account needed. https://github.com/kstenerud/yoloai
  34. …changes to keep. I use it for all my agentic work, and couldn't go back to using Claude without it. https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-04-04 · in Ask HN: What Are You Working On?
  35. This is why I use yoloAI ( https://github.com/kstenerud/yoloai ). $ yoloai new bugfix . -a --network-isolated --agent claude Now I have a claude code session that only has a COPY of my work dir, and can't reach anything over the network…
  36. …last words ;-) I've already shipped this and use it myself every day. I'm the author of yoloAI ( https://github.com/kstenerud/yoloai ), which is built around exactly this model. The agent runs inside a Docker container or containerd vm (or…
    comment by kstenerud · 2026-03-28 · in Go hard on agents, not on your filesystem
  37. …attempt against #1 (guardrails, permissions, etc), and nothing against #2. It's why I use https://github.com/kstenerud/yoloai for everything now.
    comment by kstenerud · 2026-03-26 · in “Disregard That” Attacks
  38. …part of the agent process, and thus subvertable by the agent. I took a different approach with https://github.com/kstenerud/yoloai - The agent is put entirely in a container or VM sandbox (docker, podman, gvisor, kata, seatbelt, tart) -…
  39. I wrote https://github.com/kstenerud/yoloai to sandbox agents so that they can do whatever they want inside (with --dangerously-skip-permissions), including write, compile and run code to perform their tasks. It also supports MCP…
  40. …sandboxing, not in-process. The attacks are only going to get worse. That's why I'm building https://github.com/kstenerud/yoloai
  41. If you're gonna do that, make sure you're sandboxing it with something like https://github.com/kstenerud/yoloai or eventually you'll have a bad time!
    comment by kstenerud · 2026-03-24 · in Claude Code Cheat Sheet
  42. …so I could sandbox it up properly and control EXACTLY what comes out of that sandbox, diff style. https://github.com/kstenerud/yoloai I can't go back anymore. Going back to a non-sandboxed Claude feels like going back to a non-adblocked…
  43. …my next prompt cycles as it churns out code. For example, this project was entirely written by LLM: https://github.com/kstenerud/yoloai I never wrote a single line of this code (I do review it, of course, but even then the heavy lifting…
    comment by kstenerud · 2026-03-16 · in LLMs can be exhausting
  44. Use yoloAI and you get the full benefit of --dangerously-skip-permissions with none of the risks. https://github.com/kstenerud/yoloai Every time I use a bare Claude session (even with /sandbox) without using yoloai, it feels like using a…
    comment by kstenerud · 2026-03-13 · in Shall I implement it? No
  45. …My agents always run with —-dangerously-skip-permissions now, but they can no longer do any harm. https://github.com/kstenerud/yoloai
    comment by kstenerud · 2026-03-13 · in Shall I implement it? No
  46. ▲ 1
    Show HN: YoloAI: Sandboxed agent, no permission fatigue, diff/apply workflow
    story by kstenerud · 2026-03-12 · 0 comments
  47. …Seatbelt, and Tart backends (I've even had it build an iOS app inside a seatbelt container). https://github.com/kstenerud/yoloai
  48. If you're looking for one better documented and tested, you might like https://github.com/kstenerud/yoloai
  49. …Mac), Seatbelt (Mac), Tart (Mac) Everything's contained in a single go binary. Just build and run. https://github.com/kstenerud/yoloai
  50. …"yes" to everything, and thus lose whatever benefits its sandbox had. It's why I wrote yoloAI: https://github.com/kstenerud/yoloai