Compare Codex and OpenCode
agent_compareRun Codex and OpenCode on the same prompt, returning both results verbatim for comparison. Failure of one agent does not block the other.
Instructions
Run Codex and OpenCode against the same prompt in READ-ONLY mode and return both results verbatim. Does not judge which is better; the caller synthesizes the conclusion. One agent failing does not suppress the other.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to an allowed working directory. | |
| prompt | Yes | Prompt for both agents. | |
| parallel | No | Run both agents in parallel (default) or sequentially. | |
| codex_model | No | Codex model override. | |
| opencode_model | No | OpenCode model override. | |
| timeout_seconds | No | Per-agent timeout in seconds (10-3600). |