shoud-bots
Official Python SDK for Shoud Bots — High-performance, hardware-isolated microVM sandboxes for AI agents.
Features
- ⚡ Sub-118ms Cold Boot: Spin up full Linux microVMs in milliseconds.
- 🛡️ Zero Host Kernel Access: Secured by Google gVisor Sentry userspace kernel.
- 🐍 Full Data Science Stack: Python 3.11, pandas, numpy, scipy, matplotlib.
- 💰 Prepaid Per-Second Billing: Zero monthly lock-in. Unused session reservations are auto-refunded.
Installation
pip install shoud-bots
Quickstart
import os
from shoud import Sandbox
# Set your API key or export SHOUD_API_KEY=shoud_live_...
os.environ["SHOUD_API_KEY"] = "shoud_live_YOUR_KEY"
# Context manager automatically closes the sandbox and refunds unused credits
with Sandbox.create(timeout_seconds=300) as sandbox:
# Run commands
result = sandbox.commands.run("python3 -c 'import math; print(math.factorial(10))'")
print(result.stdout) # 3628800
# Write files
sandbox.files.write("calc.py", "print('Executed safely in gVisor sandbox')")
res = sandbox.commands.run("python3 calc.py")
print(res.stdout)
Using with LangChain / CrewAI / AutoGen
from shoud import Sandbox
sandbox = Sandbox.create()
def code_interpreter_tool(python_code: str) -> str:
"""Safely execute Python code inside an isolated Shoud microVM."""
result = sandbox.run_code(python_code)
return result.stdout if result.exit_code == 0 else result.stderr
Documentation
Full documentation is available at https://shoud.online/docs.
Metadata
Release files for shoud-bots 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shoud_bots-1.0.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shoud_bots-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / shoud_bots-1.0.0.tar.gz
| Download URL | shoud_bots-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6aa5f3a460aed4928253cc8dd201e2c96a85151eb0d0341c3de2d781bbaf71f0
|
|
BLAKE2b-256 checksum How to use checksums |
b01f99c9135a1391a7daa5bd6432d08d429c6626c2aacc1c7f1471510750edd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / shoud_bots-1.0.0-py3-none-any.whl
| Download URL | shoud_bots-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
934e0ff8197e530e94643909f64ac1e29a9a66f57a0ba3343f7574e36625d022
|
|
BLAKE2b-256 checksum How to use checksums |
f49f621e080c7524003504366bac132b358557cb1b90cd82fc5382a362558617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|