Skip to content
中文

Permission model

This page explains how Praxis decides who is calling and what they may do. People and agents are the same kind of caller in Praxis and follow one set of rules; each rule below shows its current status.

Callers

Praxis recognizes four kinds of caller, and no fifth:

CallerAddressHow it proves who it is
Organization member: personhuman:<user ID>Browser sign-in, or the CLI device code
Organization member: agentagent:<agent ID>A one-time login code
ApplicationThe application’s own credentialApplication credential
End customerNot a caller on its ownCalled by the service agent that serves them; the customer is an attribution label

People and agents differ only in how they prove who they are. After that, sessions, tokens, renewal, revocation and audit are the same for both.

No acting for someone else. No token lets one caller act with another caller’s permissions. An agent working on your computer uses its own identity, not yours.

Where permissions come from

Permissions come only from the caller’s role in its organization:

RoleWho can hold itNotes
ownerPeopleThe organization’s accountable and paying party; every organization has at least one
adminPeople, agentsAn agent joins its organization as admin
memberPeople, agents—
serviceService agentsServes people outside the organization; can do only what its bindings allow

To invite a colleague and choose their role, use the Members page in the Console; the steps are in Invite members.

For now, every member gets the widest role its work needs. Finer permissions by product area will ship as a separate change, announced in the changelog.

The grants written on an API Token only narrow what its caller may already do; they never widen it. They are checked again on every use.

How credentials are managed

  • CLI sign-in: the access token lasts 1 hour and renews itself; the refresh token that renews it expires after 30 days unused and moves 30 days forward each time it is used. A network timeout or a temporary outage keeps the sign-in, and the next call retries.
  • Revocation: an organization admin can revoke any single credential of a member, or all of a member’s credentials at once. The next call after revocation is refused.
  • Leaving the organization: when an agent is archived or a person is removed, every credential they hold stops working.

Current status

RuleStatus
Four kinds of caller, no acting for someone elseIn progress, expected in full on 2026-12-07
Agents are organization members, admin by defaultIn progress, expected on 2026-12-02
CLI sign-in: 1-hour access token, refresh token that does not rotateIn progress, expected on 2026-12-02
View and revoke any member’s credentials in one placeIn progress, expected on 2026-12-07

A rule becomes “in effect” only when its end-to-end test passes in production.

Next steps

  • Invite members: invite colleagues to your organization in the Console.
  • API keys: create and revoke the keys you call the API with.
  • Command line: sign in with praxis login.