Agent CLI commands
The following commands are available when interacting with the authentik Agent via the command line.
The following commands are available when interacting with the authentik Agent via the command line.
The authentik Agent app is the desktop application of the authentik Agent on Linux, macOS, and Windows. It runs the user agent, which means that the ak CLI, the SSH agent, and the browser extension only work while the app is running.
The authentik Agent connector allows device information to be reported by the authentik Agent.
The authentik Agent includes a Model Context Protocol (MCP) server, ak mcp. With it, AI clients such as Claude Code, Codex, or Cursor can send requests to applications that are protected by authentik, and to the authentik API, without receiving your credentials or tokens.
The authentik Agent has settings that control its SSH agent, authorization prompts, profiles, and telemetry. They can be configured in two places:
The authentik Agent can be deployed at scale to multiple devices via Mobile Device Management (MDM) and automation tools.
You can use the authentik Agent to authenticate to the AWS CLI with authentik credentials. The Agent exchanges them for temporary AWS credentials through one of two federation methods:
The authentik Agent can authenticate to CLI applications such as:
Before deploying the authentik Agent, configure your authentik deployment. This involves:
Connectors allow device information to be reported to authentik. Connectors for third-party services like Fleet can be used standalone or alongside the authentik Agent connector.
What it can do
What it can do
What it can do
The authentik Agent and associated components are developed in the authentik Platform GitHub repository. For source code and information on contributing to the project, refer to the documentation included in the GitHub repository.
Device access groups control access to endpoint devices. You can organize devices into groups and bind users, user groups, and policies to determine which users can access the device.
Download the authentik Agent installer for macOS or Windows, or install it on Linux from the APT or RPM repository or as Arch Linux packages.
You can use the authentik Agent to run the HashiCorp Vault CLI (vault) or the OpenBao CLI (bao) with your authentik credentials, without running vault login.
You can use the authentik Agent to authenticate to kubectl with authentik credentials.
Prerequisites
Local device login allows you to log in to devices using authentik credentials instead of separate local accounts.
Platform SSO
You can use the authentik Agent to authenticate SSH connections between endpoint devices using authentik credentials.
Windows Credential Provider