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
Copy file name to clipboardExpand all lines: src/content/docs/index.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Sprites Overview
3
3
description: Persistent, hardware-isolated execution environments for arbitrary code
4
4
---
5
5
6
-
Sprites are persistent, hardware-isolated execution environments for arbitrary code. Unlike traditional serverless functions, Sprites are stateful Linux computers that maintain their filesystem and state between runs.
6
+
**Sprites are persistent, hardware-isolated Linux environments for running arbitrary code.** It's like having a small, stateful computer you can spin up on demand. Unlike serverless functions, Sprites keep their filesystem and memory between runs. They're useful for things like AI agents, persistent development environments, or user-submitted code.
7
7
8
8
## What makes Sprites different?
9
9
@@ -19,29 +19,29 @@ Sprites are persistent, hardware-isolated execution environments for arbitrary c
19
19
20
20
Sprites are ideal for:
21
21
22
-
-**AI Code Execution** - Execute code generated by language models (like Claude Code) in isolated, secure environments
23
-
-**Untrusted Code** - Create isolated environments for running untrusted or user-submitted code safely
24
-
-**Development Environments** - Build persistent development environments that maintain state between sessions
25
-
-**Long-lived Services** - Run services with automatic hibernation and wake-on-request
26
-
-**CI/CD Tasks** - Test code against live git repositories with full environment access
22
+
-**AI Code Execution** - Running code generated by language models (like Claude Code) in isolated, secure environments
23
+
-**Untrusted Code** - Isolating and executing user-submitted code safely without risking the rest of your system
24
+
-**Development Environments** - Building persistent development environments that maintain state between sessions
25
+
-**Long-lived Services** - Hosting services that hibernate automatically and resume on request
26
+
-**CI/CD Tasks** - Testing code against live git repositories with full environment access
27
27
28
28
## Core Concepts
29
29
30
30
### Persistence
31
31
32
-
Every Sprite has a standard ext4 filesystem that persists between runs. Your data is written to fast NVMe storage during execution, backed up to durable object storage when hibernated, and restored automatically when the Sprite wakes up.
32
+
Every Sprite has a persistent, standard ext4 filesystem. During execution, data is written to fast NVMe storage. When the Sprite hibernates, that data is backed up to durable object storage and automatically restored when it wakes up.
33
33
34
34
### Automatic Hibernation
35
35
36
-
Sprites automatically hibernate after a period of inactivity (default: 30 seconds). While hibernated, there are no compute charges, your full filesystem is preserved, and the Sprite wakes instantly on the next request.
36
+
Sprites automatically hibernate after a period of inactivity (30 seconds by default). While hibernated, there are no compute charges and your full filesystem is preserved. The Sprite wakes instantly on the next request.
37
37
38
38
### HTTP Access
39
39
40
-
Every Sprite has a unique URL for HTTP access, making it easy to expose web services or APIs running inside your Sprite.
40
+
Every Sprite gets a unique URL, making it easy to expose web services or APIs running inside, without a lot of extra setup.
41
41
42
42
## Get Started
43
43
44
-
-**[Quickstart](/quickstart)** - Install the CLI, create your first Sprite, and learn all the features
44
+
-**[Quickstart](/quickstart)** - Install the CLI, create your first Sprite, and learn about all the features
45
45
-**[JavaScript SDK](/sdks/javascript)** - Build with Sprites in Node.js applications
46
-
-**[Go SDK](/sdks/go)** - Native Go client mirroring os/exec
0 commit comments