Skip to content

Commit d5a080b

Browse files
committed
Update .env.example
1 parent 370f03f commit d5a080b

1 file changed

Lines changed: 28 additions & 26 deletions

File tree

.env.example

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
1-
# ── Sandbox provider (auto-detected if not set) ───────────────────────────────
2-
# Options: vercel | e2b | daytona | local
3-
# Defaults to "local" if no provider credentials are found.
4-
SANDBOX_PROVIDER=local
5-
6-
# ── Vercel Sandbox (set SANDBOX_PROVIDER=vercel) ──────────────────────────────
7-
# Set automatically on Vercel via OIDC. For local dev, use your Vercel token.
8-
VERCEL_TOKEN=your_vercel_token_here
1+
# ── Google Gemini API key (required for real execution) ───────────────────────
2+
# Get a free key at: https://aistudio.google.com
3+
# Can also be set in the web UI Settings modal — no .env.local needed.
4+
GOOGLE_API_KEY=your_google_api_key_here
95

10-
# ── E2B Sandbox (set SANDBOX_PROVIDER=e2b) ────────────────────────────────────
11-
# Get from: https://e2b.dev
12-
E2B_API_KEY=your_e2b_api_key_here
6+
# ── Sandbox provider ──────────────────────────────────────────────────────────
7+
# Options: docker | vercel | local
8+
# docker = isolated Docker containers (default, recommended for local dev)
9+
# vercel = Vercel Firecracker microVMs (auto-detected when deployed to Vercel)
10+
# local = runs shell commands directly on your machine, no isolation
11+
SANDBOX_PROVIDER=docker
1312

14-
# ── Daytona Sandbox (set SANDBOX_PROVIDER=daytona) ────────────────────────────
15-
# Get from: https://daytona.io
16-
DAYTONA_API_KEY=your_daytona_api_key_here
13+
# ── Simulation mode ───────────────────────────────────────────────────────────
14+
# Set to true to skip all real execution and use pre-scripted scenarios.
15+
# The web UI has a Simulation / Real toggle -- this env var forces simulation server-side.
16+
SIMULATION_MODE=false
1717

18-
# ── AI Gateway (optional, routes LLM calls) ───────────────────────────────────
19-
# If not set, falls back to GOOGLE_API_KEY directly.
20-
AI_GATEWAY_BASE_URL=https://gateway.ai.vercel.app/v1/YOUR_TEAM/YOUR_GATEWAY
21-
AI_GATEWAY_API_KEY=your_gateway_api_key_here
18+
# ── Web demo target repo ──────────────────────────────────────────────────────
19+
# The git repo agents will clone into each sandbox.
20+
# Use a small public repo for faster runs.
21+
DEMO_REPO_URL=https://github.com/expressjs/express
2222

23-
# ── Google Gemini direct (fallback when no gateway) ───────────────────────────
24-
# Get free key from: https://aistudio.google.com
25-
GOOGLE_API_KEY=your_google_api_key_here
23+
# ── Optional: pre-warmed snapshot (Vercel sandbox only) ──────────────────────
24+
# Run: agentnetes snapshot create
25+
# Speeds up sandbox startup significantly.
26+
DEMO_REPO_SNAPSHOT_ID=
2627

27-
# ── Simulation mode (set true to skip all real execution) ─────────────────────
28-
SIMULATION_MODE=false
28+
# ── Optional: Vercel sandbox token ───────────────────────────────────────────
29+
# Only needed if SANDBOX_PROVIDER=vercel and running outside Vercel (no OIDC).
30+
VERCEL_TOKEN=
2931

30-
# ── Web demo target ───────────────────────────────────────────────────────────
31-
DEMO_REPO_URL=https://github.com/vercel/ai
32-
DEMO_REPO_SNAPSHOT_ID=
32+
# ── Optional: static export mode (GitHub Pages / CDN) ────────────────────────
33+
# Set to true when building for static hosting. Disables API routes.
34+
# NEXT_PUBLIC_STATIC_MODE=false

0 commit comments

Comments
 (0)