Skip to content

Use the Console

caracal-console is the terminal Console for setting up and operating protected agent access. It fetches from the management API, renders a full-screen TTY interface, and keeps product management out of the top-level runtime CLI.

Terminal window
caracal console

or:

Terminal window
caracal-console

The Console requires an interactive TTY. In non-interactive environments, use the Control API or Admin SDK.

InputPurpose
CARACAL_API_URLCloud/custom Management API URL override.
CARACAL_ADMIN_TOKEN or CARACAL_ADMIN_TOKEN_FILEAdmin bearer token for management views.
CARACAL_COORDINATOR_URLCloud/custom Coordinator URL override for agent session and delegation.
CARACAL_COORDINATOR_TOKEN or CARACAL_COORDINATOR_TOKEN_FILECoordinator token for agent and delegation views.

For default local services, generated secret files from caracal up are preferred over exported token values so local reset cycles do not keep stale shell credentials. Those files live outside the source workspace by default and must not be mounted into agent workspaces.

+------------------------------------------------------------------+
| Caracal Console API endpoint |
| > menu > selected view breadcrumb |
+------------------------------------------------------------------+
| |
| view content |
| |
+------------------------------------------------------------------+
| status message |
| key hints |
+------------------------------------------------------------------+

The Console redraws when content changes and reacts to terminal resize events.

GroupKeyLabelZone required
startsguided setupNo
manage1zoneNo
manage2applicationYes
manage3providerYes
manage4resourceYes
manage5policyYes
manage6policy setYes
sessions7authority sessionYes
sessionsragent sessionYes
sessionsgdelegationYes
observeaauditYes
observetrequest traceYes
runtimeccontrolYes
runtimeddiagnosticsNo

Press z to open the zone picker before navigating to zone-scoped views.

The sessions group observes the three runtime identity objects. They are read-only in the Console — authority is minted by the STS and delegation is authored through the agent SDK; the Console lists and inspects them.

ViewWhat it showsObject
authority sessionSTS-minted subject sessions for a user or applicationa sessions row
agent sessionA spawned agent’s runtime session, lifecycle, and lease healthan agent_sessions row
delegationAuthority edges between agent sessions (who narrowed whom)a delegation_edges row

An authority session is the root credential a principal holds after a token exchange. An agent session is one spawned agent under an application; a delegated session is simply an agent session that has an inbound delegation edge — not a separate object. A delegation edge connects two agent sessions, so inbound and outbound edges are anchored on the agent session id.

The agent session view supports filtering (f) by status (active, suspended, terminated), lifecycle (task, service), application, and label. The expires column surfaces lease health: a task agent shows its TTL deadline; a service agent shows its heartbeat-lease deadline (or no lease if it has stopped renewing). Use i/o on an agent row to view its inbound and outbound delegation edges.

guided setup creates or selects the first working objects:

  1. Zone
  2. Agent app
  3. Provider
  4. Resource
  5. Access policy
  6. Review and create

Important guided fields include upstream URL, first request path, runtime profile, write profile files, profile path, secret file, resource identifier, and resource scopes.

Use file writing when you want the Console to create the runtime profile and secret file locally. Leave it disabled when a platform secret manager or CI system will provide those values.

KeyAction
q, ctrl-cQuit
h, esc, leftBack
up, jMove up
down, kMove down
pgup, pgdnPage through long lists
home, gFirst row
end, GLast row
enterOpen or submit
rReload
zZone picker
?Contextual help

Forms can expose advanced options for manual identifiers, raw JSON, shadow versions, overwrite behavior, and other non-default settings.

SymptomCheck
Console exits immediatelyEnsure stdin is a TTY.
401 UnauthorizedCheck CARACAL_ADMIN_TOKEN or CARACAL_ADMIN_TOKEN_FILE.
403 ForbiddenThe token lacks the required management scope.
Connection errorRun caracal status --ready; custom deployments should confirm the Management API URL override.
Coordinator views failConfirm the Coordinator token and, for custom deployments, the Coordinator URL override.
A zone-scoped view will not openPress z and select a zone first.

Use Configure Workloads when a workload needs a runtime profile, credential manifest, secret file, or service endpoint override.