# VerifiedX OpenAI Agents starter

Protect one risky tool call in an OpenAI Agents workflow without rebuilding the runner.

This starter:

- updates an internal workflow
- attempts an external email
- lets VerifiedX block the bad send and push the agent toward an internal Slack fallback

## Run it

```bash
npm install
npx @verifiedx-core/sdk doctor
```

Set env:

```bash
export OPENAI_API_KEY=...
export VERIFIEDX_API_KEY=...
export VERIFIEDX_BASE_URL=https://api.verifiedx.me
```

Run:

```bash
npm start
```

What to check:

- `artifacts/scenario_report.json`
- `artifacts/verifiedx_diagnostics.jsonl`

You should see the workflow update land, the external email get blocked or replanned, and the internal Slack fallback keep the case moving.
