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. Creation, meetings, settings, documents, and deletion are also available through the operator commands below. AI employee guide →

Command list

33 commands · Select one to open its details.

Operator commands · 28

Manage through a same-OS-user operator connection. Employee shift bindings cannot call these commands.

orke employee create

Create employee files in the chosen --groupId group. Open its meeting separately with meeting.

↗
orke employee meeting

Open a meeting, reuse the live conversation, or resume the latest conversation in this employee folder. A new employee's first meeting is always fresh. End another provider's meeting first. Use --fresh true for a new conversation.

↗
orke employee confirm

Confirm the goal draft using its observed revision and the employee definition revision, then end the meeting. Preserve partial save and termination outcomes.

↗
orke employee set-setting

Change one definition setting using its observed revision. Changes apply to the next shift. Omit value to clear an optional setting.

↗
orke employee rename

Rename an employee using its observed definition revision; its folder name stays the same.

↗
orke employee delete

Delete a stopped employee under the same lifecycle lock used by start and stop, after confirming its meeting terminals have ended.

↗
orke employee document

Read the full goal, draft, definition, or memory document. journal requires --date YYYY-MM-DD. Documents above 1 MiB are marked truncated and cannot be saved using that read.

↗
orke employee documents

Page through standard documents and dated memory journals using metadata only. Does not return content or unrelated files. Pass a journal date to document/save-document --date.

↗
orke employee save-document

Save a goal, draft, or memory document using its observed revision. Edit definitions with setting and rename commands. Changed files are rejected. Accepts raw UTF-8 through --stdin.

↗
orke employee journal-page

Page through shifts from newest to oldest. Continue with nextCursor; restart the scan if the source changes. Answers are limited to 64 KiB per shift.

↗
orke employee inbox-page

Page through inbox records from newest to oldest using nextCursor. A source change returns a conflict. The existing inbox reply stays unchanged.

↗
orke employee actions

Page through recorded posts, comments, messages, and metrics from newest to oldest.

↗
orke employee ledger

Page through the browser action ledger observed by orke for one shift, newest first. Password fields keep their stored masked values.

↗
orke employee list

Reads the AI employees with their state and number of pending requests.

↗
orke employee get

Reads one employee’s state, settings, today’s recorded posts, comments and messages, pending requests and goal.

↗
orke employee start

Starts work (the first shift runs now). Does nothing if work is already started. Returns the reasons if it cannot start.

↗
orke employee stop

Stops work, ending a shift that is running. Does nothing if work is already stopped.

↗
orke employee shift-now

Works now (“Work now”), skipping the schedule and work hours; during a shift it starts right after that shift. Work must be started.

↗
orke employee instruct

Sends an instruction; the next shift reads and answers it. --wake true is “Send and work now” (work must be started).

↗
orke employee resolve

Handles a pending request: “Done”. --decline true is “Won’t do” — the employee will not ask for it again and takes another way. --text <opinion> is “Give my opinion” — the employee reads it, decides what to do and answers in one line.

↗
orke employee inbox

Reads the latest inbox lines (20 by default, up to 200; oldest first).

↗
orke employee journal

Reads the latest shifts and what each one did (20 by default, up to 200; newest first).

↗
orke employee group list

Read group IDs, names, current member counts and revision, 50 per page by default and at most 100. Continue with nextCursor.

↗
orke employee group get

Read one group's name, member count and revision without member documents or starting work.

↗
orke employee group create

Create an empty group in this scope. Trimmed names require 1..80 UTF-16 characters, no controls, and no duplicate name in this scope.

↗
orke employee group rename

Rename using the observed group catalog revision, preserving group ID and running work.

↗
orke employee group delete

Delete an empty group, or atomically move all members to another --moveTo group in the same scope before deletion. Preserve work and folders.

↗
orke employee move

Move an item using the observed group catalog revision, including while running. Preserve definitions, state, and working folders.

↗

Employee shift commands · 5

Require the binding issued to the employee shift.

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 ×