How operations work

How a colleague goes from a question to a command on a server, and who decides along the way.

Virtual colleagues can act on real systems: check a service, read a log, restart something. They do it through three kinds of target, all reached through the runner, a separate container that compose.yaml configures.

Targets

Target What it is Set up in
Hosts Machines reached over SSH (a POSIX shell on Linux, PowerShell on Windows, where OpenSSH works too) or, for Windows, over WinRM. Admin → Hosts, plus each person's credential
The runner Commands that run inside the runner itself: network diagnostics, database and directory clients, and other IT tools (see below). Nothing to set up
MCP servers Tools offered by an MCP server, remote or started inside the runner. Admin → Operations, per office

A colleague sees only the hosts where its person has a credential, and only the MCP servers of its office. Disabled hosts are not offered. Asked about a host where its person has no credential, the colleague says so and points to Account → Credentials.

From a question to a result

  1. You ask. "Is nginx running on web01?"
  2. The colleague proposes a command, with the target and the reason, for example systemctl status nginx on web01.
  3. Orlok classifies it. Read-only, catastrophic, or something in between. What happens next depends on the mode of the profile and on the command types you approved.
  4. If approval is needed, it waits for you, in a strip above the message box. Only you see it. See Approvals.
  5. The runner runs it with your credential for that host. The credential is read at that moment and never shown to the colleague.
  6. The output comes back when the command ends, with likely secrets masked, and the colleague reads it and answers.

A command has a time limit: 2 minutes by default, up to 30 if the colleague asks for more. The output kept for the colleague stops at about 64 KB, and a running command can be stopped.

Plans

For a change made of several commands, the colleague proposes a plan: a title, what it does, its risks and how to roll it back, and up to 20 steps. You approve the whole plan or each step. Steps run in order, and a failed step stops the rest.

A command running when Orlok restarts has an unknown outcome: it is reported to you and to the colleague, to be checked before trying again, and is never run again by itself. See Approvals.

Tools in the runner

The runner image includes:

  • network: ping, dig, curl, wget, nmap, mtr, nc, openssl, whois, tcpdump, rsync;
  • databases: psql, mariadb, sqlcmd, valkey-cli (Redis-compatible);
  • directories and file shares: ldapsearch, smbclient;
  • hardware and network devices: snmpwalk and the other SNMP tools, ipmitool;
  • Windows: PowerShell 7 (pwsh, on x86_64 only);
  • ssh, jq, git, python3, uv/uvx and npm/npx.

Colleagues are told which tools the runner really has. Nothing is installed while a command runs: what is not in the image does not exist.

Adding tools

To add a vendor CLI, build an image on top of the standard one and declare the tools it adds, one name per line, in a file under /etc/orlok-runner/tools.d/ (or in ORLOK_RUNNER_EXTRA_TOOLS, separated by commas):

FROM orlok-runner:<version>
USER root
RUN apk add --no-cache aws-cli \
  && mkdir -p /etc/orlok-runner/tools.d \
  && printf 'aws\n' > /etc/orlok-runner/tools.d/aws.list
USER runner

Set ORLOK_RUNNER_IMAGE to the new image in .env.production and run docker compose --env-file .env.production up -d. The runner reports the declared tools it finds, and colleagues are told about them. Rebuild the derived image at every Orlok upgrade.

Who acts as whom

On a host the command runs as the account of your credential, so the server's permissions, sudo rules and logs work as they do for you. In Orlok every job is recorded: which colleague asked, for whom, on which target, as which account, and the decision. See Audit.

The colleague is as strong as your account. If your credential is root, so is your colleague on that host. Store the account with the least rights that does the job.

Where to look

  • Your requests and their output: in the conversation.
  • Your approved command types: Account → Approved command types.
  • The runner's status, the MCP servers, the logs and their export: Admin → Operations, for administrators.