Developer portal

API keys and setup

Create an Exergy World Model API key and connect Claude Code, Codex, Cursor, or your own scripts.

Prerequisites to create an API key

Step 1 · AccountChecking…

Sign in to Exergy Lab

Sign in or create an account to create and manage API keys.

Step 2 · PlanLocked

Plus or Pro plan required

Plus ($19/month, 250 calls) or Pro ($99/month, 1,000 calls) is required to create API keys.

Step 3 · API keys

Create and manage API keys

Create up to 3 active keys per account (valid for 90 days) for the Exergy World Model API.

Sign in with a Plus or Pro plan to create an API key.

Step 4 · Connect your coding agent

Setup prompts for Claude Code, Codex, and other tools

Copy a prompt into your coding agent so it can query the Exergy World Model API with your key.

Paste into your project CLAUDE.md or run directly in a Claude Code session.

CLAUDE.md + shell env
Claude Code setup prompt (CLAUDE.md + shell env) · text
# Exergy World Model Integration (Claude Code)

Before recommending industrial heat recovery, steam upgrades, or electrification options, query the Exergy World Model API instead of estimating COP, exergy balances, or feasibility margins by hand.

1. Read the API key from the `EXERGY_API_KEY` environment variable (never hardcode keys into source files or commits).
2. Send a POST request to `https://exergy-lab.com/api/v1/world-model` with header `Authorization: Bearer $EXERGY_API_KEY` and `Content-Type: application/json`:

```bash
curl -sS -X POST "https://exergy-lab.com/api/v1/world-model" \
  -H "Authorization: Bearer $EXERGY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "target_heat_duty_kw": 450,
    "source_inlet_temp_c": 55,
    "supply_temp_c": 135,
    "lockout_duration_hours": 2,
    "electricity_price_per_kwh": 0.085,
    "natural_gas_price_per_kwh": 0.042,
    "grid_carbon_kg_per_kwh": 0.22
  }'
```

3. Report the returned `exergy_ledger` (Service, Exergy In, Applied Exergy, Exergy Out, Exergy Destroyed), `policy_verification` margins, `thermal_storage` sizing, and `baseline_comparison` against natural gas and resistance boilers in your engineering brief.