r/Python • • 20d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

28 Upvotes

152 comments sorted by

View all comments

1

u/Prize_Might4147 from __future__ import 4.0 5d ago

I built sandboxed-agent-tools (SAT) which allows you to run Python scripts with per-invocation permissions. This helps to run untrusted scripts, while giving each script read access to just the inputs it needs.

sat python "$PWD/script.py" -- --read "$PWD/script.py" --read "$PWD/input.txt"

write access and HTTP can be enabled if needed on a per file/folder and URL basis. SAT runs CPython 3.14 through Wasmtime and WASI Preview 2. The current Python package bundles a subset of the standard library, third party packages are on the roadmap.

Check out the GitHub repository: https://github.com/CloseChoice/sandboxed-agent-tools.