# Environment

1. Copy the template and fill values:

```bash
cp .env.example .env.local
```

2. Run Convex and push env from `.env.local`:

```bash
npx convex dev
```

3. For production, set variables in Convex Dashboard → Settings → Environment Variables.

### Required for agent + web automation

- `OPENROUTER_API_KEY` (or `MODEL_API_KEY`)
- `BROWSERBASE_API_KEY`
- `BROWSERBASE_PROJECT_ID`

### Optional

- `SERPER_API_KEY` — web search fallback