<base_prefix>/sessions/<session_id>/ as the session’s /workspace for agents that reference a storage binding.
Only GCS-backed /workspace mounts on E2B are supported today. S3 and partial workspace mounts are not yet available.
Setup
1. Create A GCP Service Account Scoped To Your Bucket
Recommended: one dedicated bucket or managed folder per environment, one service account per environment,roles/storage.objectUser.
2. Create A JSON Key
3. Connect The Bucket To Dari
workspace.
4. Reference The Binding From Your Manifest
<base_prefix>/sessions/<session_id>/ and mounts it via gcsfuse as the whole agent workspace at /workspace.
Notes
- Use a separate GCS prefix and storage binding for each environment, such as
dari/devwithworkspace-devanddari/prodwithworkspace-prod, so test sessions cannot read or overwrite production workspace files. - Rotate the service account key on your normal schedule; update the org credential when you do.