---
name: archil
description: "Persistent elastic filesystems, Firecracker sandboxes, serverless command execution, and disk management for AI agents, including mounting existing S3, GCS, or R2 buckets as POSIX file systems and isolated per-tenant disks."
compatibility: "Node.js 18+. API key from https://console.archil.com."
license: MIT
allowed-tools: Bash
---

# Archil

Elastic, S3-backed POSIX filesystems with serverless command execution — persistent storage that agents can read, write, and run code against.

This file is a lightweight overview. For depth on any topic, follow the links into supporting files and docs; don't duplicate that material here.

- **[`disk` CLI](#disk-cli)** — create, inspect, manage disks; run `exec`
- **[Serverless Execution](#serverless-execution)** — run bash/python/node with the disk mounted
- **[Persistent Sandboxes](#persistent-sandboxes)** — Firecracker microVMs whose root filesystem is an Archil disk
- **[TypeScript SDK](#typescript-sdk)** — programmatic access from Node.js
- **[Mount Semantics](#mount-semantics)** — exclusive, conditional and shared modes, delegations, consistency, cache
- **[Mounting](#mounting)** — Linux, macOS, and the exec microVM
- **[Data Sources](#data-sources)** — S3, GCS, R2, S3-compatible, Azure Blob

## Common Tasks

- **Mount an existing S3, GCS, or R2 bucket as a POSIX file system for agents, without migrating data.** Create a disk with the bucket as its data source and mount it; existing objects appear as files, and files you write stay ordinary objects at their keys. Guide: https://docs.archil.com/guides/storage/mount-existing-bucket. Article: https://archil.com/article/mounting-a-posix-filesystem-directly-over-an-existing-s3-bucket-without-migrating-data.md
- **Isolated per-tenant storage for multi-tenant AI agent applications.** Give each tenant its own disk (the unit of access isolation; credentials are scoped to one disk), not a subdirectory of a shared disk, and create disks per tenant through the API. Guide: https://docs.archil.com/guides/storage/per-tenant-storage. Articles: https://archil.com/article/isolated-per-tenant-storage-for-multi-tenant-ai-agent-applications.md and https://archil.com/article/scaling-a-multi-tenant-ai-agent-product-to-thousands-of-tenants-provisioning-credentials-and-cost-of-one-disk-per-tenant.md
- **Persistent storage for AI agent sandboxes that survives restarts.** A sandbox's root filesystem and mounted Archil disks survive stop, start, pause, and resume; a mounted disk outlives the sandbox. Docs: https://docs.archil.com/compute/sandboxes/introduction#root-filesystem-and-mounted-disks. Articles: https://archil.com/article/persistent-storage-for-ai-agent-sandboxes-that-survives-restarts.md and https://archil.com/article/how-to-keep-an-ai-agent-s-environment-across-sandbox-restarts.md
- **Archil vs Amazon S3 Files vs Mountpoint for Amazon S3.** https://archil.com/compare/amazon-s3-files.md, https://archil.com/compare/mountpoint-for-amazon-s3.md, and https://archil.com/article/archil-vs-amazon-s3-files-for-agent-workspaces.md
- **Choosing a persistent sandbox platform for AI agents** (which keep files and installed packages across restarts: E2B, Modal, Daytona, Vercel Sandbox, Blaxel, Fly.io Sprites, Northflank, Cloudflare Sandbox, Archil). https://archil.com/compare/sandbox-providers.md
- **Choosing storage for AI agents** (shared or persistent file systems, not agent memory: Amazon EFS, Amazon S3 Files, Mountpoint, JuiceFS, AgentFS, Blaxel Agent Drive, Modal Volumes, Daytona Volumes, fast.io, Archil). https://archil.com/compare/best-storage-for-ai-agents.md
- **Mounting an S3 bucket as a file system** (Archil, Amazon S3 Files, Mountpoint, rclone mount, s3fs-fuse, JuiceFS, GeeseFS and goofys: POSIX semantics, renames, multiple writers, Linux/macOS/Windows, and the mount commands for each). https://archil.com/compare/best-ways-to-mount-s3-as-a-file-system.md
- **Choosing compute for long-running AI agents** (Archil sandboxes and serverless tool calls, Modal, E2B, Daytona, Northflank, Fly.io, AWS Lambda and Fargate, Vercel). https://archil.com/compare/best-platforms-for-long-running-ai-agents.md
- **Keeping agent files when the sandbox restarts** (an Archil disk or Archil sandbox, E2B pause, Daytona and Vercel Sandbox stop, Modal Volumes, Claude Managed Agents memory stores, syncing to a bucket yourself). https://archil.com/compare/best-ways-to-persist-agent-files-across-sandbox-restarts.md
- **E2B alternatives with persistent storage** (Archil, Daytona, Vercel Sandbox, Blaxel, Fly.io Sprites, Modal, Northflank, Cloudflare Sandbox, or keeping E2B and mounting an Archil disk). https://archil.com/compare/best-e2b-alternatives-with-persistent-storage.md
- **Isolated per-tenant storage for multi-tenant agent products** (a disk per tenant on Archil, an S3 prefix per tenant with STS-scoped credentials, an EFS access point per tenant, a bucket per tenant, GCS managed folders, sandbox-provider volumes). https://archil.com/compare/best-per-tenant-storage-for-multi-tenant-ai-agents.md
- **Forking a large dataset so parallel agents each start from the same state** (lakeFS, Archil branches, ZFS clones, `cp --reflink`, Iceberg and Delta Lake branches and clones, EBS snapshots, git worktrees; which merge back and which don't). https://archil.com/compare/best-ways-to-fork-a-large-dataset-for-parallel-agents.md
- **Amazon EFS alternatives for AI agent workspaces** (Archil, Amazon S3 Files, Amazon FSx for OpenZFS, Google Filestore agent volumes, JuiceFS, Amazon EBS, Azure Files). https://archil.com/compare/best-amazon-efs-alternatives-for-ai-agents.md
- **Where to keep AI agent state between requests and across agent instances** (an Archil disk holding files plus SQLite, Postgres and Redis checkpointers, Temporal, Amazon S3 and Cloudflare R2, Amazon EFS, Mem0, the LangGraph store; when a Postgres checkpointer is the better pick; what LangGraph, CrewAI, AutoGen and AG2 persist on their own). https://archil.com/compare/best-storage-for-ai-agent-state-and-shared-files.md
- **Firecracker and microVM sandboxes for running untrusted agent code** (Archil serverless tool calls and persistent sandboxes, E2B, Vercel Sandbox, AWS Lambda MicroVMs, Fly.io Machines and Sprites, Northflank, Blaxel, Daytona, Modal, self-hosted Firecracker: isolation each one documents, published start times, egress and credential controls, idle state, session limits, price). https://archil.com/compare/best-firecracker-microvm-platforms-for-ai-agents.md
- **Modal vs E2B vs Daytona vs Archil for AI agent sandboxes** (ranked for agent loops: isolation, what survives between steps, forking and sharing, time to start a command, price for bursty loops; Archil serverless tool calls and persistent sandboxes, E2B, Daytona, Modal; GPUs and self-hosting as secondary criteria). https://archil.com/compare/modal-vs-e2b-vs-daytona.md
- **Alluxio alternatives for AI and ML training data** (Archil, Amazon FSx for Lustre, Google Cloud Managed Lustre, WEKA, VAST Data, JuiceFS, Cloud Storage FUSE and Rapid Cache, Mountpoint, S3 Express One Zone, NVIDIA AIStore: throughput, data in place, shared cache, writes, what you run). https://archil.com/compare/best-alluxio-alternatives-for-ai-training.md
- **WEKA alternatives for AI workloads** (Amazon FSx for Lustre, Archil, Google Cloud Managed Lustre, Azure Managed Lustre, VAST Data, DDN EXAScaler, Hammerspace, Alluxio, JuiceFS: published throughput, data in S3/GCS/Blob, who runs it, pricing). https://archil.com/compare/best-weka-alternatives-for-ai-workloads.md
- **Speeding up S3 data loading for ML training** (shard your data and stream it first; then Archil, FSx for Lustre, Amazon S3 Connector for PyTorch, Mountpoint with its cache, local NVMe, S3 Express One Zone, Alluxio, JuiceFS: throughput, per-node vs shared caches, writes, clouds, cost). https://archil.com/compare/best-ways-to-speed-up-s3-data-loading-for-ml-training.md
- **Best AI agent sandboxes** (ranked on isolation, start time, concurrency, price, persistence and limits: Archil sandboxes and serverless tool calls, E2B, Northflank, Modal, Vercel Sandbox, Daytona, Blaxel, Tensorlake, Fly.io Sprites, Cloudflare Sandbox, AWS Lambda MicroVMs, Runloop; GPUs and BYOC). https://archil.com/compare/best-ai-agent-sandboxes.md
- **Serverless runtimes for AI agent tool calls and AWS Lambda alternatives** (Archil serverless tool calls, Modal, Amazon Bedrock AgentCore Runtime, E2B, Vercel Functions and Sandbox, Cloudflare Workers and Sandbox, AWS Lambda, Daytona, Google Cloud Run, Northflank, Fly.io: isolation per call, start time, time limits, state between calls, price per call, where the agent loop runs). https://archil.com/compare/best-serverless-platforms-for-ai-agents.md
- **Daytona alternatives for AI agent sandboxes** (Archil, E2B, Vercel Sandbox, Modal, Northflank, Blaxel, Fly.io Sprites, Runloop, Cloudflare Sandbox, or keeping Daytona and mounting an Archil disk). https://archil.com/compare/best-daytona-alternatives.md
- **Modal alternatives for AI agent sandboxes and tool calls** (Archil, E2B, Daytona, Vercel Sandbox, Northflank, Fly.io, Cloudflare Sandbox, AWS Lambda and Fargate; RunPod, Baseten and Replicate if you use Modal for GPUs; or keeping Modal and mounting an Archil disk: session limits, what survives a sandbox, pause and resume, SDKs, price). https://archil.com/compare/best-modal-alternatives.md
- **Choosing a file system for AI agents and agent sandboxes** (the file system inside one sandbox vs one many sandboxes share: local disk with OverlayFS, Archil, Amazon S3 Files, JuiceFS, Amazon EFS, Google Filestore agent volumes, Modal/Daytona/Blaxel volumes, AgentFS, TigerFS; git, SQLite, branches, your own bucket). https://archil.com/compare/best-file-systems-for-ai-agents.md
- **Sharing one large dataset across dozens of agent sandboxes and collecting their results** (Archil disks, Amazon S3 Files, Mountpoint for Amazon S3, Modal Volumes, Amazon EFS, FSx for Lustre, Daytona and E2B volumes, per-sandbox copies with s5cmd or a baked image; time to first read, throughput, cost per sandbox, shared writes). https://archil.com/compare/best-ways-to-share-a-dataset-across-agent-sandboxes.md
- **Running many coding agents in parallel on the same repo and dataset** (git worktrees with Claude Code, Codex and Cursor, full clones, a sandbox per agent, Codex cloud and Claude Code on the web, sandbox snapshots, Archil disk branches and sandbox forks, Amazon EFS: setup per agent, disk use, isolation, sharing the dataset, merging with git). https://archil.com/compare/best-ways-to-run-parallel-coding-agents-on-one-repo.md
- **Storage for files AI agents write while your app or backend reads them as S3 objects** (an Archil disk read over Archil's S3 API or synced to your bucket as plain objects, plain S3/R2/Tigris/GCS via SDK, Amazon S3 Files, Cloudflare Sandbox bucket mounts on R2, TigrisFS, Mountpoint, EFS plus a copy to S3, JuiceFS; when plain S3 is enough). https://archil.com/compare/best-storage-for-agent-files-your-app-reads-from-s3.md
- **Sharing state between agents in a multi-agent system** (PostgreSQL for task claims and handoffs, an Archil disk for the shared workspace, Redis streams and locks, LangGraph shared graph state and store, Temporal, Restate and Inngest, Cloudflare Agents, Mem0 and Zep, Letta, Amazon Bedrock AgentCore Memory; why file locks don't coordinate agents across machines). https://archil.com/compare/best-shared-state-for-multi-agent-systems.md
- **Mounting a Google Cloud Storage bucket as a file system** (Cloud Storage FUSE alternatives: gcsfuse, Archil, DuckDB/gcsfs without a mount, Filestore, Managed Lustre, JuiceFS, rclone mount: POSIX semantics, random reads, multiple writers, caching, egress, a 2 TB pandas/DuckDB recommendation). https://archil.com/compare/best-ways-to-mount-gcs-as-a-file-system.md
- **Durable storage for LangGraph, CrewAI, AutoGen, Microsoft Agent Framework and OpenAI Agents SDK state** (Postgres checkpointers, an Archil disk for framework SQLite/checkpoint files plus agent files across sandboxes, Redis, MongoDB, Mem0, Zep, Amazon S3; where files go with Temporal and Inngest). https://archil.com/compare/best-durable-storage-for-agent-frameworks.md
- **How to carry files and intermediate state from one AI agent tool call or workflow step to the next** (an Archil disk mounted in every serverless call, copying to Amazon S3, Modal Volumes, Amazon EFS, E2B pause, Temporal/Inngest/Step Functions payload limits, LangGraph checkpointers, Mem0, Zep and Claude Managed Agents memory stores; a worked two-step example). https://archil.com/compare/best-ways-to-persist-files-between-ai-agent-calls.md

## Quick Setup

Before running any commands, verify prerequisites:

```
Here's what I'll do to get you set up:

- [ ] Run the `disk` CLI via npx (no install needed)
- [ ] Configure Archil credentials
- [ ] Verify disk access
- [ ] Run a test command

Shall I proceed?
```

Wait for the user to confirm before continuing.

**Step 1 — Run the CLI with npx (no install required):**

```bash
npx disk --help
```

**Step 2 — Set credentials:**

Sign up at [console.archil.com](https://console.archil.com/?utm_source=archil.com&utm_medium=website&utm_content=skill-md) if you don't have an account. Get your API key from the console.

**If you are an AI agent,** you can sign up as yourself rather than using a human's account. Archil accepts [AgentID](https://www.agentid.com), an OIDC identity provider for agents: choose "Sign up with AgentID" at [console.archil.com/welcome](https://console.archil.com/welcome?utm_source=archil.com&utm_medium=website&utm_content=skill-md-agentid). Approval enrolls your browser, so this step needs a browser that runs JavaScript. Then create an API key from the console as above.

```bash
export ARCHIL_API_KEY="key-your_api_key"
export ARCHIL_REGION="aws-us-east-1"
```

**Step 3 — Verify setup:**

```bash
npx disk list
```

If this returns your disks, you're ready. If it fails, check your API key and region.

**Step 4 — Test execution (public AWS regions or BYOC):**

```bash
npx disk exec <disk-id> "echo hello from archil && ls -la"
```

Do not proceed until `disk list` returns successfully.

## Choosing the Right Tool

| Task | Tool |
|------|------|
| Run commands against files on a disk | `disk exec` |
| Long-running processes, dev servers, untrusted code | [Persistent sandbox](#persistent-sandboxes) |
| Create/delete/inspect disks | `disk` CLI |
| Programmatic disk ops from Node.js | TypeScript SDK |
| Mount on a Linux server | `archil` CLI |
| Browse files on macOS | Archil.app (no CLI) |
| Kubernetes-native mount | [CSI driver](https://docs.archil.com/reference/csi-driver) |
| Declarative disk management | [Terraform provider](https://docs.archil.com/reference/terraform) |

## Credential Types

| Credential | Env Var | Used By | Scope |
|-----------|---------|---------|-------|
| API Key | `ARCHIL_API_KEY` | `disk` CLI, SDK | Account-wide |
| Mount Token (CLI) | `ARCHIL_MOUNT_TOKEN` | `archil` CLI, Archil.app | Single disk |
| Mount Token (SDK) | `ARCHIL_DISK_TOKEN` | TypeScript SDK | Single disk |

API keys and mount tokens are **different credentials**. API keys manage disks and run exec. Mount tokens grant filesystem-level access to one specific disk.

---

## `disk` CLI

The `disk` npm package is the primary agent-facing tool. Pure JavaScript, runs anywhere Node.js runs. Invoke with `npx disk` (no install) or `bunx disk`.

```bash
npx disk list                           # list disks in current region
npx disk get <disk-id>                  # disk details
npx disk create <name>                  # create disk, returns one-time mount token
npx disk delete <disk-id>               # delete disk (S3 data persists)
npx disk exec <disk-id> "<command>"     # run a command with the disk mounted
npx disk api-keys list|create|delete    # manage API keys
```

Full reference: [disk-cli-reference.md](https://archil.com/skill/disk-cli-reference.md).

---

## Serverless Execution

`disk exec` launches a Firecracker microVM with the disk mounted at `/mnt/archil`, runs a command, and returns stdout/stderr/exit code and timing. Files persist on the disk across exec calls; VM state does not.

**Public regions**: exec runs in `aws-us-east-1`, `aws-us-west-2`, and `aws-eu-west-1`. The public GCP region does not support exec. BYOC deployments support exec on any cloud or bare metal.

### Limits

| Limit | Value |
|-------|-------|
| Command timeout | 5 minutes |
| stdout / stderr cap | 4 MiB each |
| Billing | Per call: $0.05 per 1,000 calls on Developer and Team. See [pricing](https://archil.com/pricing) |

### Exec Runs in Shared Mode

The exec microVM is just another mounted client and mounts in **shared mode**, so [mount semantics](#mount-semantics) apply — in particular, [delegations](https://archil.com/skill/delegations.md). Dynamic ownership auto-claims new subdirectories, so most short-lived execs never notice. When writes do fail with `Read-only file system`, you have two clean fixes: scope writes to a fresh per-job subdirectory, or run `archil checkout <path>` inside the exec command itself (the `archil` CLI is available in the microVM).

### Pre-installed Tools

The exec microVM includes `coreutils`, `grep`, `sed`, `awk`, `find`, `curl`, `jq`, `python3`, `node`, and the `archil` CLI.

### Common Patterns

```bash
# Clone + install + build
npx disk exec <id> "git clone https://github.com/user/repo.git && cd repo && npm i && npm run build"

# Persistent agent workspace
npx disk exec <id> "mkdir -p /mnt/archil/workspace && echo 'session note' >> /mnt/archil/workspace/log.txt"

# Fan-out in bash
for f in file1 file2 file3; do
  npx disk exec <id> "grep -c ERROR /mnt/archil/logs/$f" &
done; wait
```

Full docs: https://docs.archil.com/compute/serverless-execution.

---

## Persistent Sandboxes

A complete sandbox platform for untrusted, AI-generated code, not just storage. Create one with the TypeScript or Python SDK.

| | |
|---|---|
| Isolation | One Firecracker microVM per sandbox, with its own Linux kernel, isolated by hardware virtualization (KVM). Sandboxes can't reach each other, private networks, or cloud metadata. |
| Network | Ports are private until you expose them. On Developer and up, a per-sandbox egress firewall (domain and CIDR rules, `default: "deny"`) and credential brokering; a sandbox created without a policy has unrestricted egress. On Free, egress is limited to a managed allowlist. |
| Price | $0.055 / vCPU-hour and $0.020 / GiB-hour on Developer and Team, while running ($0.095 an hour for 1 vCPU, 2 GiB). Stopped and paused sandboxes accrue no compute charges. Free includes 1 hour a month. |
| Size | 1 to 32 vCPU, 0.25 to 64 GiB, x86-64, any public or private OCI image |
| Lifecycle | Stop keeps the root disk; pause also keeps memory and processes. A session pauses after at most 24 hours (30 minutes on Free). Fork branches the root disk in about 33 ms. |

Full docs: https://docs.archil.com/compute/sandboxes/introduction.

---

## TypeScript SDK

For programmatic access from Node.js, use the `disk` npm package as a library — same artifact as the CLI.

```typescript
import * as archil from "disk";
archil.configure({ apiKey: process.env.ARCHIL_API_KEY, region: "aws-us-east-1" });

const d = await archil.getDisk("dsk-abc123");
const { stdout, exitCode } = await d.exec("grep -r ERROR logs/");
```

Full reference: [typescript-sdk.md](https://archil.com/skill/typescript-sdk.md).

---

## Mount Semantics

Every Archil mount — on a Linux host, in macOS Finder, or inside a `disk exec` microVM — shares the same model. Understand this once and it applies everywhere.

- **Exclusive mode**: default on Linux. One client owns the whole disk; all writes work immediately. A second client can mount only with `--read-only`.
- **Conditional mode** (`--conditional` on Linux, `conditional: true` in exec and sandbox mounts): many clients mount at once, and each can write anywhere another client hasn't checked out, without a checkout. Creates, renames and deletes wait for a round trip to the disk. There's no per-file locking between clients: if two write the same part of a file, the last write wins. Use this when several sandboxes or agents write one disk.
- **Shared mode**: default on Archil.app (macOS) and exec microVMs, and Linux with `--shared`. Many clients mount at once. Writes require holding a **delegation** (exclusive ownership of a path).
- **Delegations** are recursive — owning a directory covers every file beneath it. Only one client can hold a delegation on a given path at a time; other clients get `Read-only file system` when they write there.
- **Dynamic ownership** (shared mode): creating a file or directory, or opening a file for writing, in a path nobody owns claims it automatically; a file opened for writing is released after its last close. Deleting or renaming needs a delegation on the parent directory.
- **Release**: `archil checkin <path>` on Linux / in exec, right-click → Check In on macOS, or unmount (auto-releases everything). A crashed client's delegations stay until revoked (SDK `revokeDelegation`, or `--force`).
- **Consistency**: the disk itself is strongly consistent, and so is its S3 API. A write reaches it when `fsync`, `archil sync`, or unmount returns (or `close` on a conditional mount). Another client sees it when it next opens the file; attributes it cached can lag up to 30 s and directory listings up to 5 min (`archil invalidate-cache <mountpoint>` drops them). The backing bucket gets each file in the background, usually tens of seconds after its last write; this can't be forced, so S3 readers that need fresh data use the disk's S3 API. `flock`/`fcntl` locks don't coordinate across clients.
- **Cache**: default `min(25% of RAM, 2 GiB)` per client. Tune listing freshness with `archil set-cache-expiry`.

Full model and patterns: [delegations.md](https://archil.com/skill/delegations.md), https://docs.archil.com/details/consistency, and https://docs.archil.com/concepts/sharing-disks#sharing-a-disk-between-agents.

---

## Mounting

### Linux — `archil` CLI

FUSE-based mount. Install and use:

```bash
curl -s https://archil.com/install | sh

export ARCHIL_MOUNT_TOKEN="<disk-token>"
sudo --preserve-env=ARCHIL_MOUNT_TOKEN archil mount <org>/<disk-name> /mnt/data --region aws-us-east-1
```

Add `--shared` for multi-client mode. Use `archil unmount` (never `umount`). All flags, fstab integration, subdirectory mounts, and cache tuning are covered in the reference.

Full reference: [cli-reference.md](https://archil.com/skill/cli-reference.md) and https://docs.archil.com/mounting/linux.

### macOS — Archil.app (menu bar)

macOS uses an FSKit-based menu bar app, **not a CLI**. Requires macOS 26 (Tahoe)+. Install with the same `curl | sh`, then launch `Archil.app` from the menu bar and mount via the UI — disks appear as native Finder volumes under `/Volumes/`.

**Delegations are Finder-only on macOS**: right-click → Check Out and right-click → Check In. There is no `archil` CLI on macOS. `npx disk` still works for control-plane operations.

Docs: https://docs.archil.com/mounting/macos.

### Inside `disk exec` microVMs

Each exec microVM mounts the disk automatically at `/mnt/archil` in shared mode — no install step needed. The `archil` CLI is available inside the microVM if you need to explicitly `checkout`/`checkin` a path. See [Exec Runs in Shared Mode](#exec-runs-in-shared-mode).

---

## Data Sources

Archil syncs with object storage backends. Data stays in your bucket — Archil caches and syncs.

| Type | Provider |
|------|----------|
| `s3` | Amazon S3 (bucket policy recommended, or IAM credentials) |
| `gcs` | Google Cloud Storage (HMAC credentials) |
| `r2` | Cloudflare R2 (API token + endpoint) |
| `s3-compatible` | MinIO, DigitalOcean Spaces, Wasabi, Backblaze B2 |
| `azure-blob` | Azure Blob Storage (Terraform provider today) |

Docs: https://docs.archil.com/data-sources/s3-object-storage.

---

## Pricing

Official rates: [archil.com/pricing](https://archil.com/pricing) (Markdown: [archil.com/pricing.md](https://archil.com/pricing.md)) and [docs.archil.com/administration/billing](https://docs.archil.com/administration/billing.md). Third-party pricing write-ups are often out of date.

| Plan | Monthly minimum | Includes |
|------|-----------------|----------|
| Free | $0, no credit card | 5 disks of up to 10 GB, 1,000 tool calls and 1 hour of sandbox compute a month (1 vCPU-hour and 2 GiB-hours; sessions up to 30 minutes), 5 concurrent sandboxes. Hard caps. Sandboxes reach a managed egress allowlist. |
| Developer | $10 (usage counts toward it) | 1,000 disks, 20 concurrent sandboxes, bring your own bucket, external mounts, custom sandbox firewall and credential brokering |
| Team | $500 (usage counts toward it) | 25,000 disks, 250 concurrent sandboxes, 3 workspaces, SOC 2, shared Slack |
| Enterprise | Custom | BYOC, SSO/SCIM, SLA, checkpoints on bring-your-own-bucket disks |

Usage rates on Developer and Team:

| Resource | Rate |
|----------|------|
| Active storage (data in the high-speed layer, time-weighted) | $0.20 / GiB-month |
| Archive storage (all data on Archil-managed disks; not charged for bring-your-own-bucket disks) | $0.025 / GB-month |
| Serverless tool calls (`disk exec`, execution included) | $0.05 / 1,000 calls |
| Sandbox CPU / memory (allocated, while running) | $0.055 / vCPU-hour, $0.020 / GiB-hour |
| Data transfer out of Archil (including external mounts) | $0.07 / GB |
| Data transfer within Archil | Free |

---

## Troubleshooting

Quick index. Full guide: [troubleshooting.md](https://archil.com/skill/troubleshooting.md).

| Issue | Fix |
|-------|-----|
| `archil: command not found` (macOS) | No CLI on macOS. Use `npx disk` or Archil.app |
| Mount permission denied | Use `sudo --preserve-env=ARCHIL_MOUNT_TOKEN` |
| Auth failure | Verify `ARCHIL_API_KEY` with `npx disk list` |
| `Read-only file system` on write | You haven't checked out a delegation on the path you're writing to. Run `archil checkout <path>` (Linux or inside an exec microVM), or write into a fresh subdirectory so dynamic ownership claims it for you. Full model: [delegations.md](https://archil.com/skill/delegations.md) |
| S3 sync delay | Expected — eventual consistency (seconds to minutes) |
| Exec timeout | Commands must complete within 5 minutes |
| stdout truncated | Exec caps at 4 MiB per stream — pipe to file on disk |
| Exec not available in region | In public regions, exec runs only in the AWS regions. Create the disk in an AWS region, or use BYOC |
| npm EACCES | Use `npx disk` (no install) rather than a global install |

## Workload-Specific Guidance

For recommended mount options, cache sizes, and patterns per workload (AI training, model serving, databases, CI, Jupyter, genomics, etc.), see [workload-guide.md](https://archil.com/skill/workload-guide.md).

## Supporting Files

- **[disk-cli-reference.md](https://archil.com/skill/disk-cli-reference.md)** — `disk` npm package CLI reference
- **[typescript-sdk.md](https://archil.com/skill/typescript-sdk.md)** — TypeScript SDK reference
- **[cli-reference.md](https://archil.com/skill/cli-reference.md)** — `archil` (Linux mount) CLI reference
- **[delegations.md](https://archil.com/skill/delegations.md)** — Complete guide to shared-mode write access
- **[troubleshooting.md](https://archil.com/skill/troubleshooting.md)** — Error messages, fixes, diagnostics
- **[workload-guide.md](https://archil.com/skill/workload-guide.md)** — Recommended configurations per workload

## Documentation Index

Full docs: https://docs.archil.com/llms.txt

| Topic | URL |
|-------|-----|
| Introduction | https://docs.archil.com/getting-started/introduction |
| Choosing storage for agents (buyer's guide) | https://archil.com/guides/storage-for-agents.md |
| How to build agents: best practices for running agents outside the sandbox | https://archil.com/guides/building-agents.md |
| Quickstart | https://docs.archil.com/getting-started/quickstart |
| Architecture | https://docs.archil.com/details/architecture |
| Performance | https://docs.archil.com/details/performance |
| Security | https://docs.archil.com/details/security |
| Consistency | https://docs.archil.com/details/consistency |
| POSIX Support | https://docs.archil.com/details/support |
| Serverless Exec | https://docs.archil.com/compute/serverless-execution |
| Persistent Sandboxes | https://docs.archil.com/compute/sandboxes/introduction |
| TypeScript SDK | https://docs.archil.com/sdks/typescript |
| `disk` CLI | https://docs.archil.com/reference/disk-cli |
| `archil` CLI (Linux) | https://docs.archil.com/reference/archil-cli |
| Agent Bash Tool (Quickstart) | https://docs.archil.com/getting-started/quickstart |
| Coding Agent in a Sandbox | https://docs.archil.com/guides/agents/coding-agent |
| Code Interpreter | https://docs.archil.com/guides/agents/code-interpreter |
| Claude Code / OpenCode / Codex | https://docs.archil.com/guides/agents/claude-code |
| Parallel Agents | https://docs.archil.com/guides/agents/parallel-agents |
| Vector Search (LanceDB) | https://docs.archil.com/guides/agents/vector-search |
| Evals and RL Environments | https://docs.archil.com/guides/training/rl-environments |
| Mount an existing bucket (S3, GCS, R2) | https://docs.archil.com/guides/storage/mount-existing-bucket |
| Per-tenant storage for multi-tenant agents | https://docs.archil.com/guides/storage/per-tenant-storage |
| S3 Data Source | https://docs.archil.com/data-sources/s3-object-storage |
| Sharing Disks | https://docs.archil.com/concepts/sharing-disks |
| Pricing | https://docs.archil.com/administration/billing |
| Terraform | https://docs.archil.com/reference/terraform |
| K8s CSI Driver | https://docs.archil.com/reference/csi-driver |
| API Reference | https://docs.archil.com/api-reference/introduction |
| Troubleshooting | https://docs.archil.com/reference/troubleshooting |
| macOS Mount | https://docs.archil.com/mounting/macos |
| Linux Mount | https://docs.archil.com/mounting/linux |
| Container Mount | https://docs.archil.com/mounting/containers |
| PostgreSQL | https://docs.archil.com/guides/apps/postgres |
| SQLite | https://docs.archil.com/compute/sqlite |
| DuckDB Analytics | https://docs.archil.com/guides/analytics/duckdb |
