Register this machine as a named runner for one owner/project, store its bearer token, and confirm the runner can clone the project repository.
pks agentics runner register <OWNER_PROJECT> [options]$ pks agentics runner register myorg/myprojectRegister using the hostname as the runner name
$ pks agentics runner register myorg/myproject --name my-runnerRegister under an explicit runner name
$ pks agentics runner register myorg/myproject --server localhost:3000Register against a local development server
Registration is the one-time step that binds a machine to a single Assembly Line Platform project. It creates the runner record on the server, saves the returned bearer token locally, and makes sure this machine can clone the project's repository before any job depends on it.
owner/project form. The argument must contain a /; a bare project name is rejected.pks agentics runner register myorg/myproject
The command posts to {server}/api/owners/{owner}/projects/{project}/runners and saves the runner id, name, and token locally. The runner name defaults to the machine hostname; override it with --name.
Registration labels are always self-hosted plus the operating system (windows, macos, linux, or unknown). Those labels are what let the server target this runner.
Do not commit. The success table prints the runner token in plaintext. Avoid running this in a recorded or shared terminal.
Server resolution follows a fixed priority: the --server flag, then AGENTICS_SERVER, then AGENTIC_SERVER, then agentics.dk. A bare host starting with localhost or 127.0.0.1 gets http://; anything else gets https://.
pks agentics runner register myorg/myproject --server localhost:3000
If the project's git URL points at github.com, the command fetches that URL and starts a GitHub device-code login — skipped when you are already authenticated. Follow the printed URL and code.
Afterwards it calls the GitHub API with the stored token to verify access to that exact repository. If the token cannot reach it, the output includes an install link for the GitHub App.
Re-run the command. It is idempotent per project, so a second run is the way to retry a skipped or failed GitHub step.
pks agentics runner register myorg/myproject
You should see the registration table with a runner id, name, and token, and no GitHub access warning.
| Flag | Default | Description |
|---|---|---|
--name <NAME> | machine hostname | Runner name recorded on the server. |
--server <SERVER> | agentics.dk | Agentics server URL. Falls back to AGENTICS_SERVER, then AGENTIC_SERVER. |
-v, --verbose | — | Enable verbose output. |
| Argument | Required | Description |
|---|---|---|
OWNER_PROJECT | yes | Target project in owner/project form. |
/. Pass both segments.self-hosted label and the operating-system label this machine reported.