examples: an agent in a sandbox, a network the admin controls (recorded demo) #535
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 340 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #535"
general
weight: 0.35
aojea
A recorded, reproducible demo for the story: agentic applications are not deterministic and security wants them sandboxed; developers still need a model, tools and an internal API; a VPN is slow and turns the sandbox into a door with credentials inside. The mesh gives the agent one identity and one policy instead.
What is in it
development/examples/sandboxed-agent/policy.json: roleagentmay callinference://office-llm,mcp://toolsandegress://api.github.com, the last onlyGETunder/repos/google/sam/; the destination is served by nodes labelledsite=officewith credentialgithub-ro.pep.yaml: the office node (labelsite=office) fronting Ollama and the MCP reference server on loopback.agent.py: a Python SDK program; enrolls with a single-use token for roleagent, then models, chat completion, MCP tool, and three GitHub requests of which the policy allows one.Makefile:ollama,mcp,mesh(sam-one with a Cloudflare quick tunnel and the seed policy, no standing join token),tokens,pep,policy,revoke,ban.audit.py: the node's log as an admin reads it: what it serves and one line per decision.record.sh: tmux window (office panes, a shell in a codespace, a caption line), scenes typed at human pace and paced on real output, asciinema capture, agg/ffmpeg render, srt with the narration.SCRIPT.md: scenes, commands and narration.site/content/docs/use-cases/sandboxed-agent.mdembeds the video (site/static/demo-sandboxed-agent.mp4, 2:41, 0.9 MB) and explains the pieces.A fix the demo surfaced
sam-one --policy-filestored the seed's roles and bindings and silently dropped itsegresssection (SaveMeshPolicywherePOST /policiesusesSavePolicyDocument). A first boot that named a destination never served it. Fixed, and pinned byTestStandalonePolicyFileSeedsEgress, which fails on the old code.Verified
The recording is a real run: sam-one on this workstation behind a quick tunnel, the office node with a read-only GitHub token, the agent in a GitHub codespace. The final frame shows every scene:
Could not resolve hostfrom the sandbox, the banner, tokens, the policy,Serving egress://api.github.com, the model's answer,The sum of 2 and 3 is 5.,200 #534 …from GitHub, two403 http_request_denied,Withdrawn,404 Service not found,BANNED,cut off from the mesh. No token appears in the cast (the admin token comes from the environment, so the banner names its source).Not shown but noted in the page: grants live in a member's credential until refresh (24 h default), so the demo revokes by withdrawing the destination and by banning, both of which take effect at once.