Run Ennodia
ennodia_runStarts a high-level orchestration to route tasks to local AI harnesses, plans routing, runs one or more tasks, optionally compares outputs, and returns a run ID.
Instructions
Start a high-level Ennodia orchestration. Set pragmatic for evidence-focused investigation or patch proposals with one or more independent workers. Use Plan Advisor for tailored model and skill assignments. Use this as the default entrypoint: it plans routing, starts one or more local harness tasks, optionally compares successful outputs, and returns a run ID. Runs usually take minutes; use ennodia_get_run with waitMs: 30000 and includeEvents: false until terminal, then consume and verify its answer. A wait timeout does not cancel or finish the run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for child harness commands. | |
| mode | No | auto follows the planner; single runs one selected harness; parallel runs all candidate harnesses. | auto |
| model | No | Optional model override passed to the selected task harnesses. | |
| budget | No | Optional preflight budget limits for an Ennodia operation. | |
| prompt | Yes | The user task to route to local AI harnesses. For native media, first read ennodia_list_harnesses inputGuidance, specify local paths and a harness/model, then verify one small sample with mode single and compare false. Ennodia sends text, not media attachments. | |
| compare | No | Whether to run the Judge + Result Advisor after tasks finish. auto compares when the planner sees value and at least two tasks produce output. | auto |
| refresh | No | Re-scan harnesses before planning the run. | |
| category | No | Optional caller-provided route category. Pass this when you know the task category; Ennodia then skips keyword classification. | |
| skillIds | No | Installed native skill IDs to request from child harnesses. Returned metadata does not prove that an agent loaded the skill. | |
| harnessId | No | Force one harness by ID, such as codex or claude-code. Omit to let Ennodia plan. | |
| pragmatic | No | Experimental evidence contract for one or more independent workers. Preserves routing and comparison choices. Use Plan Advisor for tailored model and skill assignments. This is workflow guidance, not a permission sandbox or a savings guarantee. | |
| timeoutMs | No | Per-task timeout in milliseconds. Defaults to the task manager timeout and is capped at one hour. | |
| isolateCwd | No | Run each selected harness against an ephemeral isolated copy of cwd instead of cwd itself. Use this in parallel mode or whenever comparing skills/harnesses against the same cwd, so concurrent file writes cannot clobber each other. Isolation fails before task spawn if the copied tree contains a symbolic link. The reported task cwd is an execution trace; its temporary directory is deleted when the task becomes terminal. | |
| judgeModel | No | Optional model override for the comparison Judge. | |
| advisorModel | No | Optional model override for the Result Advisor. | |
| nativeSandbox | No | Codex worker native sandbox. Defaults to read-only on every turn, including continuation. Request workspace-write only for authorized edits. Other harnesses reject this setting; Judge/Advisor settings are unchanged. | |
| continueTaskId | No | Continue the latest settled persistent task owned by this server. Use its Ennodia task ID. The working directory and harness stay the same. Each follow-up gets a new task and execution allowance. | |
| judgeHarnessId | No | Harness to use as the comparison Judge. Omit to use the default priority: claude-code, codex, antigravity, opencode, kilo, kiro, cline, then hermes-agent. | |
| maxOutputChars | No | Maximum characters from each successful task output to pass into the Judge + Result Advisor workflow. Use 0 to suppress candidate text. | |
| persistSession | No | Opt in to native Codex session persistence. Requires one explicit harness and a persistent cwd. Default tasks remain ephemeral. | |
| nativeSubagents | No | Disable Codex built-in subagent tools for workers. Other harnesses reject this setting. Does not block external commands or affect Judge/Advisor tasks. | |
| reasoningEffort | No | Optional reasoning effort for a Codex worker. Other harnesses reject explicit effort settings; omit to preserve native defaults. | |
| advisorHarnessId | No | Harness that runs the Result Advisor after the Judge. Defaults to the judge harness selection. | |
| synthesizerModel | No | Deprecated alias for advisorModel. Do not send both fields with different values. | |
| synthesizerHarnessId | No | Deprecated alias for advisorHarnessId. Do not send both fields with different values. |