You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When `command` is specified, the standard AWF installation is skipped and your custom command is used instead.
201
197
202
-
### Sandbox Runtime (SRT)
198
+
## Deprecated: Sandbox Runtime (SRT)
203
199
204
200
> [!CAUTION]
205
-
> Experimental
206
-
> Sandbox Runtime is experimental and requires the `sandbox-runtime` feature flag.
201
+
> Removed
202
+
> Sandbox Runtime (SRT) support has been removed. AWF is now the only supported sandbox implementation.
207
203
208
-
Sandbox Runtime provides enhanced isolation using Anthropic's sandbox technology. It supports custom filesystem configuration while network permissions are controlled by the top-level `network` field.
204
+
### Migration
209
205
210
-
```yaml wrap
211
-
features:
212
-
sandbox-runtime: true
206
+
Legacy workflows using `sandbox.agent: srt` or `sandbox: sandbox-runtime` are automatically migrated to AWF during workflow parsing. No manual changes are required.
| `ignoreViolations` | `object` | Map of command patterns to paths that should ignore violations |
237
-
| `enableWeakerNestedSandbox` | `boolean` | Enable weaker nested sandbox mode (use only when required) |
238
-
239
-
> [!NOTE]
240
-
> Network Configuration
241
-
> Network configuration for SRT is controlled by the top-level `network` field, not the sandbox config. This ensures consistent network policy across all sandbox types.
242
-
243
-
#### Custom SRT Configuration
244
-
245
-
Similar to AWF, SRT supports custom commands, arguments, and environment variables:
246
-
214
+
**After (transparent conversion):**
247
215
```yaml wrap
248
-
features:
249
-
sandbox-runtime: true
250
-
251
216
sandbox:
252
-
agent:
253
-
id: srt
254
-
command: "custom-srt-wrapper"
255
-
args:
256
-
- "--custom-arg"
257
-
- "--debug"
258
-
env:
259
-
SRT_DEBUG: "true"
260
-
SRT_CUSTOM_VAR: "test_value"
261
-
config:
262
-
filesystem:
263
-
allowWrite: [".", "/tmp"]
217
+
agent: awf
264
218
```
265
219
266
-
When `command` is specified, the standard SRT installation is skipped. The `config` field can still be used for filesystem configuration.
220
+
If your workflow previously used SRT, it will now use AWF with the same network permissions configured in the `network` field. AWF provides network egress control while maintaining compatibility with existing workflow configurations.
267
221
268
222
## MCP Gateway
269
223
@@ -335,7 +289,7 @@ sandbox:
335
289
For backward compatibility, legacy formats are still supported:
336
290
337
291
```yaml wrap
338
-
# Legacy string format (deprecated)
292
+
# Legacy string format - automatically migrated to AWF
339
293
sandbox: sandbox-runtime
340
294
341
295
# Legacy object format with 'type' field (deprecated)
@@ -351,23 +305,29 @@ sandbox:
351
305
352
306
The `id` field replaces the legacy `type` field in the object format. When both are present, `id` takes precedence.
353
307
308
+
> [!NOTE]
309
+
> SRT Migration
310
+
> The legacy string format `sandbox: sandbox-runtime` is automatically converted to `sandbox.agent: awf` during workflow parsing.
0 commit comments