Skip to content

Commit 2e78393

Browse files
committed
add sandboxes announcement to changelog
1 parent a960a3a commit 2e78393

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Announcing Sandboxes
3+
description: You can start creating sandboxes today by installing our new Sandbox package.
4+
products:
5+
- agents
6+
- workers
7+
- workflows
8+
date: 2025-02-14T19:00:00Z
9+
---
10+
11+
AI is supercharging app development for everyone, but we need a safe way to run untrusted, LLM-written code. We’re introducing [Sandboxes](https://www.npmjs.com/package/@cloudflare/sandbox), which let your Worker run actual processes in a secure, container-based environment.
12+
13+
```sh
14+
import { getSandbox } from "@cloudflare/sandbox";
15+
16+
export default {
17+
async fetch(request: Request, env: Env) {
18+
const sandbox = getSandbox(env.Sandbox, "my-sandbox");
19+
return sandbox.exec("ls", ["-la"]);
20+
},
21+
};
22+
```
23+
24+
Sandboxes are still experimental. We're using them to explore how isolated, container-like workloads might scale on Cloudflare — and to help define the developer experience around them.
25+
26+
You can try it today from your Worker, with just a few lines of code. Let us know what you build.

0 commit comments

Comments
 (0)