Skip to content

Understand the Model

Read this section after Get Started when you need to design an integration or explain a decision. Get Started gave you the working vocabulary - application, resource, policy, mandate, Gateway, audit, zone. This section completes the model with the pieces behind them: how a Session bounds one run, how an optional Subject adds end-user attribution, how a Delegation narrows authority between Sessions, and how revocation and audit tie it all together. One sentence holds the whole picture: an Application acts in a Zone, a Session bounds execution, Delegation narrows authority, policy approves a Resource request, and a Mandate carries the result.

Start hereUse it to understand
Caracal Mental ModelThe smallest useful picture of Caracal.
Authority and EnforcementWhere decisions happen before requests reach a target.
ZonesThe tenant boundary that owns keys, policies, resources, sessions, and audit.
Identities and ApplicationsApplication credentials, Subjects and Federated users, Authority records, and Sessions.
Resources and GrantsWhat can be accessed and which scopes are granted.
ProvidersThe credential Caracal attaches to the upstream target.
Policies and Policy SetsRego rules evaluated by the STS during token exchange.
MandatesThe short-lived JWT that carries approved authority.
ApprovalsHow sensitive actions are held for a human decision.
Session DelegationHow one agent passes bounded authority to another.
Delegation ConstraintsThe limits attached to delegated authority.
Sessions and RevocationHow active authority is ended and propagated.
Audit and Request TracesThe event trail behind decisions and runs.
Caracal OperatorAn optional governed assistant for reviewed console changes.
flowchart LR
  App["Application"] --> Session["Session"]
  Subject["Federated user (optional)"] -. attribution .-> Session
  Session --> SDK["SDK / Gateway request"]
  SDK --> STS["STS token exchange"]
  STS --> Policy["Active policy set"]
  Policy --> Mandate["Mandate JWT"]
  Mandate --> Gateway["Gateway or adapter"]
  Gateway --> Resource["Protected resource"]
  STS --> Audit["Audit ledger"]
  Gateway --> Audit

The same model appears across the product:

  • Onboarding uses the web console guided setup to create the first zone, application, provider, resource, and policy, then makes the first protected call with the application’s identity through an SDK transport.
  • Guides use the SDKs, web console, Admin API, and adapters to build repeatable integrations.
  • Operations pages use the same terms when explaining keys, revocation, audit, and runtime health.
TermShort definitionCanonical page
ZoneTenant boundary for authority data and signing keys.Zones
ApplicationRegistered client or agent workload.Identities and Applications
SubjectThe identity work is done for: the Application itself by default, or a Federated user for attribution and supported approval flows.Identities and Applications
Authority recordImmutable record of identity and authority context created by an exchange.Identities and Applications
ResourceProtected API, MCP server, tool group, or upstream target.Resources and Grants
GrantPolicy data that describes which Application roles may request Resource scopes.Resources and Grants
ProviderCredential mode Caracal uses toward the upstream target.Providers
PolicyVersioned Rego logic evaluated at token exchange.Policies and Policy Sets
Policy setVersioned bundle of policies activated for a zone.Policies and Policy Sets
MandateShort-lived JWT issued by the STS after policy approval.Mandates
DelegationBounded authority transfer between Sessions.Session Delegation
Revocation anchorAuthority record ID, Root authority record ID, Session ID, or Delegation ID checked by resource servers.Sessions and Revocation
Caracal OperatorGoverned natural-language assistant that turns intent into reviewed control-plane changes.Caracal Operator
System zoneReserved caracal.sys/ zone for the infrastructure that runs Caracal.Zones

After the concepts, use Guides for task-focused procedures or SDKs for language-specific reference.