|
|
|
|
|
by decodebytes
81 days ago
|
|
If anyone wants native python sandboxing without needing a cloud API, we just shipped an early python SDK from the https://nono.sh project: import nono_py as nono # Define capabilities
caps = nono.CapabilitySet()
caps.allow_path("/project", nono.AccessMode.READ_WRITE)
caps.allow_file("/home/user/.gitconfig", nono.AccessMode.READ) # Apply sandbox (irrevocable)
nono.apply(caps) # Your agent code runs here, fully sandboxed
agent.run() example using pydantic and fast API: https://github.com/always-further/pydantic-ai-fastapi-nono |
|