Log in to agentics.dk, turn a machine into a self-hosted Assembly Line runner, and file tasks onto an assembly line from a CI/CD pipeline.
pks agentics <command> [options]$ pks agentics initLog in to agentics.dk once per machine
$ pks agentics runner register myorg/myprojectRegister this machine as a runner for a project
$ pks agentics runner startStart the job-polling runner daemon
$ pks agentics runner cleanup --dry-runList orphaned runner containers, remove nothing
$ pks agentics task submit --assembly-line-url https://agentics.dk/p/owner/project/assembly-lines/stage-id --title "Fix failing tests"File a task onto an assembly line from CI
pks agentics connects a machine to agentics.dk, the Assembly Line Platform (ALP) where AI coding agents pick up work. It covers three jobs: authenticating you as a user, running the daemon that executes ALP jobs on your own hardware, and submitting tasks onto an assembly line from a pipeline.
An assembly line holds tasks. A runner is the process that claims those tasks and does the work — spawning a devcontainer and running a coding agent inside it, pushing or distributing git branches, or bridging a chat session to a language-model backend.
pks agentics init, an OAuth 2.0 device-authorization grant (RFC 8628) against Keycloak.pks agentics runner register and pks agentics runner start, turning a Docker-capable machine into a job executor for one owner/project.pks agentics task submit, typically from a failing GitHub Actions job.git_push, git_distribute, and chat jobs, leaving devcontainer work queued for a runner that can take it.runner status, runner logs, and runner stop.task submit enriches the task description with workflow, job, commit, actor, and the last 100 lines of the failed job's log.Authentication and execution are two separate paths that meet in task submit. pks agentics init stores a user token in ~/.pks-cli/agentics-auth.json. pks agentics runner register stores a per-runner bearer token the server issues for one owner/project. runner start uses the runner token. task submit resolves a token from an ordered chain: an explicit --token, GitHub OIDC (OpenID Connect workload identity) inside GitHub Actions, the stored user token from init (refreshed in place if expired), then a matching runner registration's token as a back-compat fallback.
Execution is pull-based. The runner polls the project's jobs endpoint on an interval, advertises its capabilities, claims a job, marks it in progress, executes it, and reports completion. The server never connects into your machine.
runner register, used by the daemon.init, used when nothing more specific applies.init · runner register · runner start · runner cleanup · runner status · runner logs · runner stop · runner claude-login · task submit
Every command in this group accepts -v / --verbose. The complete flag surface is on the reference page.
Complete command, flag, and environment-variable reference for pks agentics — login, runner registration, the daemon, SSH handoff, and task submission.
pks agentics <command> [options]
Log in to agentics.dk with a device-code browser flow, and store the resulting Keycloak tokens for every later pks agentics command.
pks agentics init
Register a machine as a self-hosted Agentics runner, start the job-polling daemon, hand it off to an SSH target, and clean up its containers.
pks agentics runner <command> [options]
6 subcommands
File a task onto an assembly line stage from a script or a failing GitHub Actions job, with workflow context and job logs attached automatically.
pks agentics task submit --assembly-line-url <URL> --title <TITLE> [options]