Skip to main content

authentik Agent

What is the authentik Agent?​

The authentik Agent is a service that can be installed on Linux, macOS, and Windows devices. It provides the following capabilities:

authentik Agent components​

The authentik Agent consists of several components:

PlatformComponentDescriptionDependencies
Linux, macOS, Windowsauthentik-cliProvides CLI commands for interacting with authentik-agent.authentik-agent
Linux, macOS, Windowsauthentik-agentUser agent that handles authentication within a user's context, for CLI tools, SSH, and the browser extension. On macOS and Windows, it's part of the authentik Agent app. On Linux, install either the headless authentik-agent package or the authentik-agent-desktop package, which includes the app.None
Linux, macOS, Windowsauthentik-sysdResponsible for handling device-level authentication and compliance checks.None
Linux onlylibpam-authentikPAM Module for token-based and interactive authentication via authentik. Used for SSH authentication and local device login.authentik-sysd
Linux onlylibnss-authentikNSS Module that makes Linux aware of authentik users. All authentik users are visible to Linux but cannot log in unless configured through device access groups. Provides a consistent uid and gid for users on all endpoint devices.authentik-sysd
Windows onlyWindows Credential Provider (WCP)Enables logging in to Windows devices using authentik credentials.authentik-sysd

Technical information​

All authentik Agent components communicate via gRPC and Unix domain sockets/Windows named pipes.

Linux: /var/run/authentik/sys.sock and /var/run/authentik/sys-ctrl.sock macOS: /var/run/authentik-sysd.sock and /var/run/authentik-sysd-ctrl.sock Windows: \\.\pipe\authentik\sysd and \\.\pipe\authentik\sysd-ctrl

  • sys.sock/*sysd.sock for general communication
  • *-ctrl.sock for domain join

The user agent provides the following sockets and named pipes in the user's context:

Platformak CLISSH agent
Linux~/.local/share/authentik/agent.sock~/.local/share/authentik/agent-ssh.sock
macOS~/Library/Application Support/authentik/agent.sock~/Library/Application Support/authentik/agent-ssh.sock
Windows\\.\pipe\authentik\socket-<session_id>\\.\pipe\authentik\socket-ssh

The user agent also provides an SSH agent socket for each profile. Refer to SSH authentication.

Telemetry​

The authentik Agent reports errors to authentik's Sentry by default. The authentik Agent app also checks at most once a day whether a newer release exists and sends an anonymous analytics request when it starts.

You can disable error reporting of the user agent, including the authentik Agent app, and the app's update check with the telemetry settings. Refer to Agent settings and policies. Only the AUTHENTIK_DISABLE_STARTUP_ANALYTICS environment variable disables the analytics request. Error reporting of the other components, such as authentik-sysd and authentik-cli, can't currently be disabled.

Report issues​

Please report issues and bugs via the authentik Platform GitHub repository.

More information​

For more information, refer to each of the topics below: