Exergy World Model · Physical Energy API

Predict how physical energy systems behave before you commit.

Check whether heat recovery, steam upgrades, or thermal storage make physical and financial sense before you build. Call the API from your scripts or connect it to your coding agent.

Included with Plus ($19/month · 250 calls) and Pro ($99/month · 1,000 calls).

How to use it

Up and running in three steps.

  1. 1

    Get an API key

    Sign in with a Plus or Pro plan and create a key in the Developer Portal.

  2. 2

    Save your key

    Set EXERGY_API_KEY in your terminal or project environment.

  3. 3

    Connect your agent

    Copy a setup prompt below for Claude Code, Codex, or your own script.

Copy the setup prompt for your coding agent:

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.

Common questions

What does the Exergy World Model do?

Powered by the EWM-1 engine, it checks whether heat recovery, steam upgrades, or thermal storage work physically and financially before you build. It returns system efficiency, storage sizing, operating margins, and gas or electric boiler comparisons.

Are Exergy World Model and EWM-1 the same product?

Yes. Exergy World Model is the product name on exergy-lab.com and EWM-1 is its engine name. Self-serve Plus and Pro API keys work on POST https://exergy-lab.com/api/v1/world-model.

What do I need before I can create an API key?

Sign in with a verified Exergy Lab account on a Plus ($19/month) or Pro ($99/month) plan in the Developer Portal.

How do I connect it to Claude Code or Codex?

Create an API key in the Developer Portal, set EXERGY_API_KEY in your shell, and copy the setup prompt for Claude Code, Codex, Cursor, or your own harness.

How many API calls are included?

Plus includes 250 API evaluations per month and Pro includes 1,000 API evaluations per month, with no automatic overage charges.