# VerifiedX OpenAI Agents procurement multi-agent starter

Protect a composed procurement workflow in an OpenAI Agents system without rebuilding the runner.

This starter mirrors a real procurement rollout:

- a `triage agent` looks up the purchase request and supplier risk
- it writes a structured packet for the downstream award specialist
- the `award agent` attempts the supplier award once
- VerifiedX blocks the award because the risk evidence does not justify it
- the `review agent` receives the packet plus the VerifiedX receipt and queues procurement review so the workflow keeps moving

## 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 three nodes in `artifacts/scenario_report.json`:

- `triage` prepares the downstream procurement packet
- `award` gets blocked on the unsafe supplier award
- `review` queues exactly one procurement review action using the packet plus the VerifiedX receipt
