Hi, is this effectively "sandboxed" so that the `a...
# questions
c
Hi, is this effectively "sandboxed" so that the
agent
is only allowed to make edits inside the
workspace
?
conversation = Conversation(agent=agent, workspace=cwd)
c
No, the agent can use
bash
so it can do things. One way I think of it is, the agent is typically run inside a sandbox, and interacted with via agent-server APIs. That sandbox is its box. We tell it it has a repo in workspace, we tell it in system prompt a policy, but all these have limits, so that box should not be considered "secure". It's the agent's playground, that's why it's sandboxed in the first place, and LLMs can decide to blow it up, in theory. 😂 That's just my view on it, though. Happy to give it more thought 🙏
l
Yeah, the safest way of doing it is to actually use a docker sandbox
We’re considering creating a sandbox that doesn’t require docker through chroot or something, but that’s not trivial either