11 comments

  • embedding-shape 16 hours ago
    > One read-only command that inventories every AI agent, harness, MCP server, plugin, and AI extension on a machine

    If this tool is returning even a single hit from this, you're probably using these agents wrong. You really want to run these in a way so they cannot touch your system drive/general filesystem that you use to do real work on. Even SOTA models at the end of their context limit behave REALLY illogical and does mistakes frequently. Don't run them straight on your machine unless you have backups and confirmed your backups work.

    • mdspan 14 hours ago
      Aside from random errors made by the model, another reason to sandbox is that prompt injection could make your agent behave in an actively harmful manner.
    • msdz 15 hours ago
      This is the correct response, but it also feels as though ≈nobody is sandboxing their agents/harnesses in practice. Or at least, a good majority isn’t.
      • cortesoft 15 hours ago
        I think there is a cycle, like with most things of this nature.

        You start really locked down, and you read and approve every request for access. You do this for a while, but never see a result you deny, so you stop reading as closely. You keep hitting that approve button. You start paying even less attention to it. You start feeling silly, like you are simply slowing the process down. You get frustrated, because you keep coming back to your session and realizing your agent has been stuck waiting for approval for a long time, and the task that would have been done by now hasn’t even started.

        Now you are running even more simultaneous sessions, which means more and more of your agents are stuck waiting for your approval. You feel even sillier, because you are taking even less time now to review and approve requests, but your review step is causing more and more slowdowns because you have more sessions going so you take longer between approvals. You feel like you are spending most of your time cycling through sessions hitting approve. You still have not come across a request that was dangerous or would have caused an issue, so you feel more and more like you are wasting your time.

        So you slowly start to give your agents more access with fewer review steps.

        Maybe this results in a catastrophic failure at some point, or maybe it doesn’t.

        • msdz 8 hours ago
          > You start really locked down, and you read and approve every request for access.

          Or you start out with almost every permission granted always, but the entire thing runs in a sandbox with the minimum amount of credentials needed to do its work… Sounds preferable to me to catastrophic failures :-)

        • nullsanity 11 hours ago
          [dead]
      • embedding-shape 15 hours ago
        AFAIK, I know plenty of frontend engineers that without blinking run "npm install" on random 3rd party projects they find on GitHub, and they do their banking and everything else on the same machine. But then again, I also know people (one person to be fair) who have unprotected sex with prostitutes, so maybe something makes me slightly biased here.
      • bigstrat2003 15 hours ago
        I mean yeah, there are a ton of people who are stupid enough to disregard all kind of safety precautions. That doesn't mean the safety precautions are invalid though.
    • Muromec 15 hours ago
      I run it on a physically dedicated machine, it has a root there (through sudo nopassword) and I keep some of my stuff there too. I don't do it for security reasons, I just want it to run when my laptop is closed and I'm outside or what not.

      Haven't seen any close calls so far. The thing just behaves. Nothing of the horror stories of eremerefing the whole home directory or a database. Am I just lucky?

      • embedding-shape 15 hours ago
        I don't think you're just lucky, depends heavily on the model + reasoning effort. I've never had any of the GPT models do anything of the sorts when using the higher reasoning efforts, but sometimes when I play around with local models, even "big" ones (as big as you can fit with 96GB VRAM) sometimes forgets/misses to define $ID then do "rm -rf data/$ID" for example, deleting more than they intended.
        • Muromec 15 hours ago
          >sometimes forgets/misses to define $ID then do "rm -rf data/$ID"

          Right, that's kinda the same failure mode as delete from table something and hitting enter before you write the condition or writing the wrong one. If you reach the point where you opened the terminal to do it this way you already lost.

          • embedding-shape 15 hours ago
            > If you reach the point where you opened the terminal to do it this way you already lost.

            I'm not sure what this means, the model and agent harness is the ones "opening the terminal and running this" (via a exec_shell tool or whatever), they do mistakes like this sometimes. Sometimes the scope is bigger, sometimes less, but anything below SOTA + higher reasoning efforts seems to fall into these mistakes sometimes.

            • Muromec 13 hours ago
              >they do mistakes like this sometimes.

              So do I, which is why I don't open the terminal to production database.

              >anything below SOTA + higher reasoning efforts seems to fall into these mistakes sometimes.

              We figured out how to deal with the human version of this mistake -- add a robust layer with build-in checks between the sloppy meatsack and production data and also make it annoying to access, so it does not become a habit and also requires high reasoning effort.

              In my developer environment I can afford this mistake and can afford to delete everything I can touch. For some pieces the recovery will require more effort, but ultimately I can also have my laptop stolen on the way from the office.

              On production however it will be a stack of forms to fill, a script with the dry-run and a four-eye rule to approve running it. We will also be able to recover production from the backup as we should. Or at least the company collectively believes so.

    • lukan 15 hours ago
      "Even SOTA models at the end of their context limit behave REALLY illogical "

      The trick is not go to that limit, but stay under 50% or even better 25% of context length. But backups are a smart thing anyway.

    • cookiengineer 4 hours ago
      Came here to write this.

      Built my own harness with much better sandboxing, because I am using abliterated models for the implementations and they sure try to escape out of their sandboxes. A lot.

      The sandbox from other harnesses like e.g. OpenCode essentially is useless. They think parsing arguments alone to detect paths helps, and LLMs know that because they will just pipe data differently then to escape the path traversal checks. Happened a lot to me (and was the primary reason for my to write my own harness from scratch).

      Thinking in filesystem access alone is also a futile attempt at sandboxing. A much better way to think about sandboxes is policies and capabilities, with temporary access for agent roles rather than sessions (or, well, forever).

      [1] UI still needs lots of work though: https://github.com/cookiengineer/exocomp

    • DarmokTanagra 1 hour ago
      [dead]
    • atomburst 13 hours ago
      [flagged]
  • getatme32 16 hours ago
    Seems like something that could also have enterprise applications for Shadow AI within an organization. Wouldn't be surprised if some of the observability/governance companies pick this up to use in their stack.
  • dpflan 15 hours ago
    Wes McKinney has a project for agent visibility: https://www.agentsview.io/
  • Betelbuddy 13 hours ago
    See every AI agent on your machine...is this like, see every recently released criminal in your neighborhood ?
  • ptidhomme 15 hours ago
    "Geiger"

    Prepping for AI apocalypse I see

    • atomburst 13 hours ago
      Haha The radiation was already there — I just built the counter. :)
  • ramen0w0 15 hours ago
    Nice!
  • Muromec 15 hours ago
    I need to wire a pixel-display to show emoji faces of the agents and how they roll their eyes and all of that. I have the display, I have the prompt to pick a mood from emotional vocabulary, a custom harness and all of that. I just can't figure out how to make the eyes move on a statically pre-rendered emoji.
  • atomburst 13 hours ago
    [flagged]
  • asamadx 15 hours ago
    [dead]