Put simulations to work in your product.
Worlds, populations, lives and agents with a life, through one API. Everything here is generated from the core's own contract, which the server checks itself against on every start: 236 operations in 39 groups, contract version 1.

Connect
A key, a base address, and the contract.
The API is at https://api.livingworldslab.com; your keys come with your access. Send the key as a bearer token; every response names the contract version in its lw-contract header. Keys are server-side only: never in a browser or an app.
Roles: a member key does the work, an admin key designs and manages, a checker key reports verdicts on work it did not do.
curl -H "Authorization: Bearer $LW_KEY" "$LW_URL/contract"
curl -H "Authorization: Bearer $LW_KEY" "$LW_URL/worlds"
The SDK
A turn that carries a self's whole life.
The server-side SDK wraps the same contract: a turn brings the self's own record beside the task, and what happened is written back to it.
import { LivingWorlds } from "@livingworlds/sdk";
const lw = new LivingWorlds(); // LW_KEY; the base address defaults to https://api.livingworldslab.com
const turn = await lw.turn({ self: "concierge", task: question, person: userId });
const answer = await yourModel(turn.wrap(question));
await turn.done(answer);
Reference
39 groups of operations.

Which world will you live in?
What grows here is meant to reach the real world. Start with a world of your own.