Skip to content
Français

CliAgentOptions

  • harnessRequired
    CliHarness
    CLI preset, such as createCodexHarness(), bound to model when the agent is created.
  • modelOptional
    ModelSpec | undefined
    Model 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.
export interface CliAgentOptions {
  readonly harness: CliHarness;
  readonly model?: ModelSpec;
}