AI employee commands

Terminal commands for managing AI employees, plus commands employees use during a shift.

Syntax · Options · ExamplesEnglish
There are two groups of commands

Use operator commands (list · get · start · stop · shift-now · instruct · resolve · inbox · journal) in your own terminal. Only an AI employee on a shift can use shift commands (status · request · reply · action · metric). They are rejected if you run them yourself.

A common workflow

list → get → start → instruct → inbox · resolve → journal
Terminal
orke employee list
orke employee get --slug EMPLOYEE_SLUG --json
orke employee start --slug EMPLOYEE_SLUG --json
orke employee instruct --slug EMPLOYEE_SLUG --text "Focus on blog posts this week" --wake true --json
orke employee inbox --slug EMPLOYEE_SLUG --json
orke employee resolve --slug EMPLOYEE_SLUG --id REQUEST_ID --json
orke employee journal --slug EMPLOYEE_SLUG --limit 3 --json

Replace EMPLOYEE_SLUG with the actual slug returned by orke employee list, and REQUEST_ID with an actual id from get or inbox. Use the app to create employees, hold meetings, configure shifts, edit memory, and delete employees. AI employee guide →

Command list

14 commands · Select one to open its details.

Operator commands · 9

Run these in a terminal on the same computer as the running orke app. They follow the same rules as the buttons in the app.

Shift commands · 5

An AI employee uses these commands to report to orke during a shift. Read them to understand what an employee can do.

Common errors

Error codeMeaning and next action
employee_not_foundNo employee has that slug. Check the slug with orke employee list.
employee_start_refusedWork cannot start. Fix the reported reason, such as missing goals, invalid settings, or the working AI’s sign-in, then run start again.
employee_not_runningWork is not enabled. Use shift-now and instruct --wake true after start.
employee_instruction_empty · employee_instruction_too_longThe instruction is empty or exceeds 4,000 characters.
employee_request_not_pendingThe request is already handled or does not exist. Check pending requests with inbox.
employee_state_write_failedWork stopped, but its state could not be saved. Check disk space and folder permissions.
employee_save_failedThe instruction or request resolution could not be saved. Check disk space and folder permissions, then send it again.
employee_binding_requiredA shift command was run outside a shift. Use operator commands yourself.
employee_binding_invalidThe shift credential is invalid. That shift may already have ended. Use shift commands only within their own shift.
instruction_not_foundThe instruction specified in reply’s --to does not exist. Use orke employee status to check unanswered instructions.
request_pendingrequest was rejected because another request is already pending. Only one request can be pending, so the employee continues working, then combines what it needs into a single request after the pending one is handled. Use resolve to handle the pending request.
control_forbiddenAn AI employee on a shift called an operator command or another orke command. Employees may use only shift commands.
control_usageAn option name, format, or range is invalid (for example, --limit 0). The exit code is 2.

Other employee command errors use exit code 4. Output, errors, and common options →

Search documentation

The page could not be displayed. Reload ×