CliAgentOptions
Parameters and properties
Section titled “Parameters and properties”harnessRequiredCliHarnessCLI preset, such as createCodexHarness(), bound to model when the agent is created.modelOptionalModelSpec | undefinedModel name or { name, reasoning, maxOutputTokens }; the preset rejects unsupported reasoning or maxOutputTokens here. Omitted, the CLI uses its default model, except that Kimi usage authentication and a Codex modelProvider require one.