CarolineDocs

Write the rules / Start from a pack

Start from a pack

A pack is a starting set: rules, the vocabulary they use, sample people, agents and records, and tests. Each one solves an access problem its industry knows well. Start from one, then make it yours.

The packs

PackThe problem it solves
AI Agents agentsagents calling tools and APIs through gateways: each agent registered for its gateways, never beyond the person it acts for, a person's approval for high-risk steps, explicit denies on what an agent should never do
Banking bankingapproval authority is a number and a relationship: an approval limit against the amount, and no approving your own payment (four eyes)
Hospital hospitalbeing a physician is a role; being on this patient's care team is the permission; break-glass without shared accounts
Aviation aviationseveral operators share systems: a record's operator must be one the person is authorised for
Retail retailrole explosion across brands, functions and regions; markdown limits and four eyes on promotions; launch embargoes
Neutral neutrala generic company: managers, analysts and administrators, own-department access, clearance levels

Every pack runs on the same evaluator and the same engine. A pack is data only: nothing about the engine or the API changes with it.

Import a starter

A new installation starts empty and denies every request until it has rules. Import a pack as its starter: on the empty Policies page, Import a starter, pick the pack, give a reason.

POST/api/v1/installation/starterauthor, empty installation only

From then on the rules are yours. A save cannot switch the installation to another pack; import only works on an empty installation.

Make it yours

  1. Read the rulesEvery rule reads as a sentence on its card. Remove what you do not need.
  2. Fit the vocabularyRename nothing a rule reads; add the attributes and actions your systems have (The vocabulary).
  3. Load your people, agents and records(People, agents and records).
  4. Run the testsPacks carry their own; Fill the gaps finds examples for the rules no test reaches (Check before you publish).

Switching packs, in a showcase

A demonstration installation can switch between packs from the header. A switch loads the pack's records into the directory (asking first if it would undo a change made here), replaces the rules in one recorded change, and clears the Decisions page's recent list. The ledger is never cleared: it is the record, and keeps the previous pack's decisions.

Caroline DocsAuthZEN 1.0 · OPA