AI employee commands
Terminal commands for managing AI employees, plus commands employees use during a shift.
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
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 --jsonReplace 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 createCreate employee files in the chosen --groupId group. Open its meeting separately with meeting.
↗orke employee meetingOpen 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 confirmConfirm 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-settingChange one definition setting using its observed revision. Changes apply to the next shift. Omit value to clear an optional setting.
↗orke employee renameRename an employee using its observed definition revision; its folder name stays the same.
↗orke employee deleteDelete a stopped employee under the same lifecycle lock used by start and stop, after confirming its meeting terminals have ended.
↗orke employee documentRead 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 documentsPage 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-documentSave 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-pagePage 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-pagePage through inbox records from newest to oldest using nextCursor. A source change returns a conflict. The existing inbox reply stays unchanged.
↗orke employee actionsPage through recorded posts, comments, messages, and metrics from newest to oldest.
↗orke employee ledgerPage through the browser action ledger observed by orke for one shift, newest first. Password fields keep their stored masked values.
↗orke employee listReads the AI employees with their state and number of pending requests.
↗orke employee getReads one employee’s state, settings, today’s recorded posts, comments and messages, pending requests and goal.
↗orke employee startStarts work (the first shift runs now). Does nothing if work is already started. Returns the reasons if it cannot start.
↗orke employee stopStops work, ending a shift that is running. Does nothing if work is already stopped.
↗orke employee shift-nowWorks now (“Work now”), skipping the schedule and work hours; during a shift it starts right after that shift. Work must be started.
↗orke employee instructSends an instruction; the next shift reads and answers it. --wake true is “Send and work now” (work must be started).
↗orke employee resolveHandles 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 inboxReads the latest inbox lines (20 by default, up to 200; oldest first).
↗orke employee journalReads the latest shifts and what each one did (20 by default, up to 200; newest first).
↗orke employee group listRead group IDs, names, current member counts and revision, 50 per page by default and at most 100. Continue with nextCursor.
↗orke employee group getRead one group's name, member count and revision without member documents or starting work.
↗orke employee group createCreate 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 renameRename using the observed group catalog revision, preserving group ID and running work.
↗orke employee group deleteDelete an empty group, or atomically move all members to another --moveTo group in the same scope before deletion. Preserve work and folders.
↗orke employee moveMove 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.
orke employee statusInside an AI employee’s shift, reads the pending request and unanswered instructions and opinions.
↗orke employee requestLeaves the person a request for something only a person can do (password, verification, payment). Only one request can wait at a time, so bundle what you need into one request.
↗orke employee replyAnswers the person's instruction or opinion.
↗orke employee actionRecords a published post, comment or message right after it is published. The same --key within one shift is one record.
↗orke employee metricRecords the current value of a number in the goal document.
↗Common errors
| Error code | Meaning and next action |
|---|---|
employee_not_found | No employee has that slug. Check the slug with orke employee list. |
employee_start_refused | Work 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_running | Work is not enabled. Use shift-now and instruct --wake true after start. |
employee_instruction_empty · employee_instruction_too_long | The instruction is empty or exceeds 4,000 characters. |
employee_request_not_pending | The request is already handled or does not exist. Check pending requests with inbox. |
employee_state_write_failed | Work stopped, but its state could not be saved. Check disk space and folder permissions. |
employee_save_failed | The instruction or request resolution could not be saved. Check disk space and folder permissions, then send it again. |
employee_binding_required | A shift command was run outside a shift. Use operator commands yourself. |
employee_binding_invalid | The shift credential is invalid. That shift may already have ended. Use shift commands only within their own shift. |
instruction_not_found | The instruction specified in reply’s --to does not exist. Use orke employee status to check unanswered instructions. |
request_pending | request 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_forbidden | An AI employee on a shift called an operator command or another orke command. Employees may use only shift commands. |
control_usage | An 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 →