VAIIdocsOpen the app →

Concepts

Five nouns explain most of Vaii. They are worth ten minutes because every permission question later reduces to one of them.

Principal — who is acting

A person, an agent, or a service. Agents can be children of a person, which is how an audit trail can say an action was taken by an agent acting on someone's behalf rather than just "the API key".

Organisation — where they are acting

Every repo, policy, work item and audit event belongs to one organisation. A person can belong to several — a contractor in yours and their own — and each credential acts in exactly one of them.

Scope — what the credential may do

ScopeGrants
read_memoryRead context and history
write_memoryRecord context and history
use_factorySee the board, file work, act on your own items
approve_actionsApprove or deny a pending action (phone, extension)
view_auditRead the audit log
mint_tokensCreate further credentials
manage_orgSettings, allowlists, and the review gate

A credential can never mint a wider one than itself. Requested scopes are intersected with the caller's own, so the worst case is a sideways copy of authority you already had.

Project — which slice of work

Projects scope people and context inside an organisation. Membership is per project with its own role, so someone can be an owner of one and a reader of another.

Policy — what agents are allowed to do

A policy maps a vendor and capability to allow, require_approval or deny, with the lowest priority number winning. Approvals reach a human on their phone and are signed by the device that answered, so "who said yes" is answerable afterwards.

How they fit

  • A principal holds a credential with scopes, acting in one organisation.
  • Work is filed against a project and a repo on the allowlist.
  • Every brokered action is checked against policy and recorded.