Skip to content

Immiscible docs

How to make every agent ask before it does something it can’t take back, see what each one spends, and check the record afterwards. Start with the path that sounds like you.

Quickstart in five minutes

Before an agent pays, it asks. Inside its rules it goes ahead; above the line, or to a supplier nobody has paid before, a person decides, and the agent waits.

  1. Create the agentnpx immiscible init
  2. Ask before payingPOST /v1/actions/authorize
  3. Approve itin the console, Slack or Teams
  4. Report what happenedand keep the signed receipt
curl -X POST "$IMMISCIBLE_URL/v1/actions/authorize" \
  -H "authorization: Bearer $IMMISCIBLE_AGENT_KEY" \
  -H "content-type: application/json" \
  -d '{
    "type": "payment",
    "summary": "Pay Acme Supplies invoice 0931",
    "payment": {
      "amount": 125000,
      "currency": "GBP",
      "merchant": {
        "name": "Acme Supplies",
        "domain": "acme-supplies.example"
      }
    },
    "provenance": [
      {
        "source": "user",
        "detail": "invoice approved in the finance inbox"
      }
    ],
    "idempotencyKey": "inv-0931"
  }'
Read the whole quickstart

Browse by area

Spend and budgets

What AI costs, where it goes and how to make it cost less.

Agents and approvals

What each agent may do alone, and how a person is asked.

Records and developers

The signed record, how to check it, and the API under it all.