Skip to content
Mycelis Roleplay · Getting Started · 8 min min read

Quickstart: Set Up Your First Employee

Prerequisites

Before setting up your first employee in connected Mycelis mode, ensure you have:

  1. A Mycelis Workspace with Roleplay permissions (ManageEmployees, ManageDevices, CreateMissions — workspace owners have all permissions by default).
  2. At least one configured Mycelis Agent under Agents (/dashboard/agents) to serve as the brain. See Configure an Agent.

Tip for GUI tasks: If your employee will interact with desktop applications or inspect screenshots, configure the underlying Mycelis Agent with a vision-capable model (such as Claude Sonnet 4.6, GPT-4o, or Qwen-VL). Headless server tasks work with text/coding models.


Step 1: Create a Job (Role)

A Job defines what an employee does, which brain drives it, which tools it may mount, and what safety boundaries apply.

  1. Open Roleplay → Jobs (/dashboard/roleplay/roles) in the sidebar.
  2. Click New Job (or start from a template such as Generalist, Office Worker, or Linux Server).
  3. Under Work → Brain (Mycelis Agent), select the agent you created earlier.
  4. Under Freedom, choose the autonomy level:
    • Souffleur (default): Consequential actions (installing packages, system dialogs, schedules) wait for your confirmation.
    • Stegreif (improvise): The employee acts autonomously within policy limits without asking for confirmation (if permitted by Workspace Rules).
  5. Save the job.

Step 2: Provision or Connect a Computer

Every employee works on a dedicated computer — either your own machine or a rented cloud VPS. Open Roleplay → Computers (/dashboard/roleplay/computers).

Option A: Connect Your Own Machine (Windows, macOS, Linux)

  1. In the Cockpit, open Connect device (/dashboard/roleplay/connect) to generate a one-time enrollment code.
  2. Install the Mycelis Roleplay App (Desktop App for Windows/macOS) or the mycelis-roleplay CLI tool on the target machine.
  3. Enroll the device with the one-time code:
# Enroll an existing installation against the Mycelis Cloud Hub
mycelis-roleplay enroll <ONE-TIME-CODE> --hub https://app.mycelis.ai

# Or install as a background service and enroll in one step
mycelis-roleplay install --enroll-code <ONE-TIME-CODE> --hub https://app.mycelis.ai

On macOS, grant Accessibility and Screen Recording permissions so GUI and screen features work:

mycelis-roleplay permissions --open

On Windows, the Supervisor runs as an unprivileged service; whenever a user is signed in, a lightweight Session Helper starts automatically to provide UI Automation and screen capture. Without an interactive session, the device reports screen: none and continues handling shell and API tasks.

Option B: Rent a Cloud Server Inside Mycelis

Alternatively, navigate to Servers (/dashboard/servers) to provision a Linux or Windows VPS on Hetzner Cloud or Azure:

  1. Pick an image (Linux headless, Linux desktop, Windows desktop, or Windows Server Core).
  2. Keep Mycelis Roleplay (Standard) selected — the server bootstraps the runtime on first boot and enrolls with a one-time code. Inbound ports remain closed and password SSH is disabled.

Step 3: Hire an Employee

  1. Open Roleplay → Employees (/dashboard/roleplay/employees) and click Hire employee.
  2. Give the employee a Name (e.g., Alex – Linux Ops or Maya – Backoffice).
  3. Assign the Job from Step 1 and the Computer from Step 2.
  4. Optionally upload Knowledge (PDFs, Markdown docs, or audio/video walkthroughs) or override specific tuning levers for this employee only.

Step 4: Launch Your First Task and Watch Live

  1. Open Roleplay → Tasks (/dashboard/roleplay/missions) and click New task.
  2. Select the employee (or job) and describe the goal in plain language, for example:

    "Inspect /var/log/nginx for errors from the last 24 hours, summarize the top 3 causes into /tmp/nginx-report.md, and verify that the nginx service is running."

  3. Start the task.

While the employee works, you can:

  • watch in real time via Computers → Live View (with target bounding boxes over GUI elements or live terminal output on headless servers),
  • answer questions or approve gated actions in Needs you (/dashboard/roleplay/approvals),
  • pause, switch into Step mode, cancel a single action, or Take over mouse and keyboard at any time.

Alternative: Standalone Mode Without a Hub (CLI)

You can also run the open-source Roleplay Runtime locally on a single machine with no Mycelis account:

# 1. Store your model API key securely in the OS secret store (Keychain / DPAPI / Keyring)
mycelis-roleplay brain-key set ANTHROPIC_API_KEY

# 2. Generate a valid starter role blueprint for the current OS
mycelis-roleplay role init --name standalone --driver anthropic --model claude-sonnet-4-6

# 3. Create a task with deterministic postconditions
mycelis-roleplay mission create \
  --goal "Generate system health report" \
  --step "Write current CPU and disk summary to /tmp/health.txt" \
  --expect "file-exists:/tmp/health.txt"

# 4. Run the Supervisor in the foreground
mycelis-roleplay run

Run mycelis-roleplay --help to inspect all flags. Every standalone scene created via CLI requires at least one --expect postcondition (Invariant I2).


Next steps