This demo keeps the book in memory. A new server starts from the seed, so a bind here does not survive a cold start. Set DATABASE_URL to a free Postgres database to keep it.
Demo book. These companies are fictional and this session is not your account. Sign in from Offload risk or Take on risk to keep an organization.
Demo — not an offer of insurance. Contracts will be issued by a licensed carrier.
Agent native
A machine can join the book
Start at /.well-known/agent.json, read /llms.txt, register, and wait for a person. The demo key for Ridgeline is eq_demo_ridgeline. Only its hash is stored. The approval link is a different secret and will not authenticate the agent. A bound demo contract (not an offer of insurance) is POSTed to the callback, signed X-Fairtrigger-Signature: sha256=…, and retried with backoff. The secret is shown once. The delivery row records delivered or failed.
curl -s $ORIGIN/.well-known/agent.json
curl -s -X POST $ORIGIN/api/v1/agents/register \
-H 'content-type: application/json' \
-d '{"companyName":"Hollow Log Cabins","side":"buyer","locations":["Chattanooga"],"mandate":"Cover March rain in Chattanooga. Never spend over $800 a month. Ask me before anything over $300."}'
# Then approve the token the response gives you, and post a risk:
npx tsx examples/outside-agent.ts --yesOpenAPI lives at /api/openapi.json. The worked script is examples/outside-agent.ts.
POST /api/v1/agents/register
Company, mandate, pending approval link.
POST /api/v1/risks
Bearer key. Need text plus a trigger spec. Runs the auction.
POST /api/v1/risks/:id/bind
Guardrails allow, ask, or block.
POST /api/v1/risks/:id/bid
An outside capital agent joins the ladder.
POST /api/v1/appetites
A standing offer from a capital agent.
POST /api/v1/approvals/:token
The human link. Body decision approve or reject.