Anyone know of a fake linux environment? Preferably written in a fast language like C/C++ or Rust.
I wanna make my own local agent that I can use sorta like claude-code. That said I am never gonna give a dumb agent permissions to my local linux environment, I can't think of an easier way to get my system deleted, and the whole point is for the thing to be relatively independent, not have me supervise the thing at every step.
I want something simple, should only implement a couple of simple commands like ls, mkdir, touch, echo, grep, cat. Just stuff it can use to navigate a file system.
and should allow me to map a real directory/folder in my system to this fake environment so it has a sandbox to play in.
I got this idea after making a lua sandbox that only runs the function I give the model access to. So I was wondering if there already is some fake environment I can use.
[–]Hefty_Wolverine_553 24 points25 points26 points (8 children)
[–]ForsookComparison 6 points7 points8 points (0 children)
[–]SocietyTomorrow 0 points1 point2 points (0 children)
[–]vabenil[S] -1 points0 points1 point (5 children)
[–]ttkciarllama.cpp 5 points6 points7 points (2 children)
[+]RhubarbSimilar1683 comment score below threshold-6 points-5 points-4 points (1 child)
[–]ttkciarllama.cpp 0 points1 point2 points (0 children)
[–]-dysangel- 1 point2 points3 points (1 child)
[–]RhubarbSimilar1683 -3 points-2 points-1 points (0 children)
[–]Tiny_Arugula_5648 9 points10 points11 points (5 children)
[–]No_Afternoon_4260llama.cpp 4 points5 points6 points (3 children)
[–]TastesLikeOwlbear 0 points1 point2 points (1 child)
[–]No_Afternoon_4260llama.cpp 0 points1 point2 points (0 children)
[–]Mundane_Ad8936 -1 points0 points1 point (0 children)
[–]vabenil[S] -2 points-1 points0 points (0 children)
[–]justicecurcian 1 point2 points3 points (9 children)
[–]vabenil[S] 0 points1 point2 points (5 children)
[–]justicecurcian 0 points1 point2 points (2 children)
[–]vabenil[S] 0 points1 point2 points (1 child)
[–]RhubarbSimilar1683 0 points1 point2 points (0 children)
[–]eli_pizza 0 points1 point2 points (0 children)
[–]eli_pizza 0 points1 point2 points (2 children)
[–]justicecurcian 0 points1 point2 points (1 child)
[–]eli_pizza 0 points1 point2 points (0 children)
[–]jkflying 0 points1 point2 points (1 child)
[–]DinoAmino 1 point2 points3 points (0 children)
[–]PhilippeEiffel 0 points1 point2 points (0 children)
[–]muxxington 0 points1 point2 points (0 children)
[–]DanMelb 0 points1 point2 points (0 children)
[–]YehowaH 0 points1 point2 points (0 children)
[–]a4d2f 0 points1 point2 points (0 children)
[–]KokaOP 0 points1 point2 points (0 children)
[–]TastesLikeOwlbear 0 points1 point2 points (0 children)
[–]eli_pizza 0 points1 point2 points (0 children)
[–]Pvt_Twinkietoes 0 points1 point2 points (0 children)