Tool-call compatibility matrix
Every cell states what is proven, for which client version, on which caller-to-upstream path, with the evidence that proves it. A combination that is not proven is listed as not covered with its reason, never omitted. Last matrix update: 2026-11-17.
A mock cell is a deterministic scripted upstream; a unit cell is a local conversion check with no endpoint call; a live cell ran against a real provider and carries its date, commit, cost and cost source. Mock and live evidence are never merged into one result. The underlying per-suite evidence lives in bounded tool-call proof and live API compatibility.
Clients
| Client | Version | Pinned by | Caller surfaces |
|---|---|---|---|
| pi | 1.4.0 | tests/agent_compat/package-lock.json | openai-chat |
| LangGraph | 1.2.18 | tests/agent_compat/uv.lock | openai-chat |
| OpenAI Agents SDK | 0.24.0 | tests/agent_compat/uv.lock | openai-chat |
| Claude Code | 2.1.296 | tests/agent_compat/package-lock.json | anthropic-messages |
| Codex CLI | 0.162.0 | tests/agent_compat/package-lock.json | openai-responses |
| OpenAI SDK compatibility tester | 5935805 | scripts/compat_mock.py | openai-chat, openai-responses |
| Anthropic SDK compatibility tester | 799b0bc | scripts/compat_mock.py | anthropic-messages |
| Parallel tool-call gate (HTTP probe) | scripts/parallel_tool_live.py | scripts/parallel_tool_live.py | openai-chat, anthropic-messages |
| OpenAI Python SDK | 3.46.0 | tests/api_compat/uv.lock | openai-chat, openai-responses |
| Anthropic Python SDK | 2.6.0 | tests/api_compat/uv.lock | anthropic-messages |
Clients with no cell yet, and why:
| Client | Version | Why no cell |
|---|---|---|
| opencode | fixtures in scripts/coding_agent_matrix.py | Only a workload fixture verifier exists; no cell runs the real client through a tool loop, so no compatibility is claimed. |
| aider | fixtures in scripts/coding_agent_matrix.py | Only a workload fixture verifier exists; no cell runs the real client through a tool loop, so no compatibility is claimed. |
Coverage by client and path
| Client | same-dialect | chat_to_responses | chat_to_messages | responses_to_chat | messages_to_chat |
|---|---|---|---|---|---|
| pi 1.4.0 | pass (mock) | pass (mock) | fail (live) | — | — |
| LangGraph 1.2.18 | pass (mock) | pass (mock) | not covered | — | — |
| OpenAI Agents SDK 0.24.0 | pass (mock) | pass (mock) | not covered | — | — |
| Claude Code 2.1.296 | not covered pass (mock) | — | — | — | pass (mock) |
| Codex CLI 0.162.0 | pass (mock) unsupported | — | — | not covered | — |
| OpenAI SDK compatibility tester 5935805 | pass (mock) | not covered | not covered | not covered | — |
| Anthropic SDK compatibility tester 799b0bc | pass (mock) | — | — | — | not covered |
| Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | pass (live) | not covered | pass (live) | — | pass (live) |
| OpenAI Python SDK 3.46.0 | not covered | not covered | not covered | not covered | — |
| Anthropic Python SDK 2.6.0 | not covered | — | — | — | not covered |
— means the client is not declared on that caller path. A cell label is a result, not a count: several feature cells can share a client and path.
Cells
| Cell | Client | Caller → upstream | Features | Depths | Result | Evidence |
|---|---|---|---|---|---|---|
openai-sdk-chat-tool-loop | OpenAI Python SDK 3.46.0 | openai-chat → openai-chat | tool_call | — | not covered | issue 769 |
openai-sdk-responses-tool-loop | OpenAI Python SDK 3.46.0 | openai-responses → openai-responses | tool_call | — | not covered | issue 769 |
anthropic-sdk-messages-tool-loop | Anthropic Python SDK 2.6.0 | anthropic-messages → anthropic-messages | tool_call | — | not covered | issue 769 |
pi-chat-same-dialect-stream | pi 1.4.0 | openai-chat → openai-chat | streaming, tool_call | 0, 1, 2, 3, 5 | pass (mock) | current coverage and limits |
pi-chat-same-dialect-parallel | pi 1.4.0 | openai-chat → openai-chat | streaming, parallel_calls | 1 | pass (mock) | current coverage and limits |
pi-chat-to-responses-stream | pi 1.4.0 | openai-chat → openai-responses | streaming, tool_call | 0 | pass (mock) | current coverage and limits |
pi-chat-to-messages-stream | pi 1.4.0 | openai-chat → anthropic-messages | streaming, tool_call | 0 | fail (live) | issue 627 |
langgraph-chat-same-dialect-stream | LangGraph 1.2.18 | openai-chat → openai-chat | streaming, tool_call | 0, 1, 2, 3, 5 | pass (mock) | current coverage and limits |
langgraph-chat-same-dialect-parallel | LangGraph 1.2.18 | openai-chat → openai-chat | streaming, parallel_calls | 1 | pass (mock) | current coverage and limits |
langgraph-chat-to-responses-stream | LangGraph 1.2.18 | openai-chat → openai-responses | streaming, tool_call | 0 | pass (mock) | current coverage and limits |
langgraph-chat-to-messages-stream | LangGraph 1.2.18 | openai-chat → anthropic-messages | streaming, tool_call | — | not covered | current coverage and limits |
openai-agents-chat-same-dialect-stream | OpenAI Agents SDK 0.24.0 | openai-chat → openai-chat | streaming, tool_call | 0, 1, 2, 3, 5 | pass (mock) | current coverage and limits |
openai-agents-chat-same-dialect-parallel | OpenAI Agents SDK 0.24.0 | openai-chat → openai-chat | streaming, parallel_calls | 1 | pass (mock) | current coverage and limits |
openai-agents-chat-same-dialect-strict-json | OpenAI Agents SDK 0.24.0 | openai-chat → openai-chat | streaming, strict_json, tool_call | 0, 1, 3 | pass (mock) | current coverage and limits |
openai-agents-chat-to-responses-strict-json | OpenAI Agents SDK 0.24.0 | openai-chat → openai-responses | streaming, strict_json, tool_call | 0 | pass (mock) | current coverage and limits |
openai-agents-chat-to-messages-stream | OpenAI Agents SDK 0.24.0 | openai-chat → anthropic-messages | streaming, tool_call | — | not covered | scope and evidence |
claude-code-messages-same-dialect-stream | Claude Code 2.1.296 | anthropic-messages → anthropic-messages | streaming, tool_call | 0 | pass (mock) | current coverage and limits |
claude-code-messages-same-dialect-thinking-cache | Claude Code 2.1.296 | anthropic-messages → anthropic-messages | streaming, tool_call, thinking, cache_control | 0, 1, 2, 3 | pass (mock) | current coverage and limits |
claude-code-messages-to-chat-stream | Claude Code 2.1.296 | anthropic-messages → openai-chat | streaming, tool_call | 1, 2, 3, 5 | pass (mock) | current coverage and limits |
claude-code-messages-same-dialect-thinking-live | Claude Code 2.1.296 | anthropic-messages → anthropic-messages | streaming, thinking, cache_control, tool_call | — | not covered | limits |
codex-responses-same-dialect-stream | Codex CLI 0.162.0 | openai-responses → openai-responses | streaming, tool_call | 0, 1, 2, 3, 5 | pass (mock) | .github/workflows/agent-tool-compat.yml |
codex-responses-to-chat-stream | Codex CLI 0.162.0 | openai-responses → openai-chat | streaming, tool_call | — | not covered | production smoke matrix |
codex-responses-provider-hosted-tools | Codex CLI 0.162.0 | openai-responses → openai-responses | provider_hosted_tools | — | unsupported | current coverage and limits |
openai-sdk-chat-same-dialect-tools | OpenAI SDK compatibility tester 5935805 | openai-chat → openai-chat | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
openai-sdk-chat-same-dialect-tools-stream | OpenAI SDK compatibility tester 5935805 | openai-chat → openai-chat | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
openai-sdk-chat-to-responses-tools | OpenAI SDK compatibility tester 5935805 | openai-chat → openai-responses | streaming, tool_call | — | not covered | scripts/compat_mock.py |
openai-sdk-chat-to-messages-tools | OpenAI SDK compatibility tester 5935805 | openai-chat → anthropic-messages | streaming, tool_call | — | not covered | latest final sha live gate |
openai-sdk-responses-same-dialect-tools | OpenAI SDK compatibility tester 5935805 | openai-responses → openai-responses | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
openai-sdk-responses-same-dialect-tools-stream | OpenAI SDK compatibility tester 5935805 | openai-responses → openai-responses | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
openai-sdk-responses-to-chat-tools | OpenAI SDK compatibility tester 5935805 | openai-responses → openai-chat | streaming, tool_call | — | not covered | scope and evidence |
anthropic-sdk-messages-same-dialect-tools | Anthropic SDK compatibility tester 799b0bc | anthropic-messages → anthropic-messages | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
anthropic-sdk-messages-same-dialect-tools-stream | Anthropic SDK compatibility tester 799b0bc | anthropic-messages → anthropic-messages | streaming, tool_call | — | pass (mock) | scripts/compat_mock.py |
anthropic-sdk-messages-same-dialect-thinking | Anthropic SDK compatibility tester 799b0bc | anthropic-messages → anthropic-messages | streaming, thinking | — | pass (mock) | scripts/compat_mock.py |
anthropic-sdk-messages-same-dialect-cache | Anthropic SDK compatibility tester 799b0bc | anthropic-messages → anthropic-messages | cache_control | — | pass (mock) | scripts/compat_mock.py |
anthropic-sdk-messages-to-chat-tools | Anthropic SDK compatibility tester 799b0bc | anthropic-messages → openai-chat | streaming, tool_call, thinking | — | not covered | cross dialect reasoning limits |
parallel-gate-chat-direct | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | openai-chat → openai-chat | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
parallel-gate-chat-through-router | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | openai-chat → openai-chat | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
parallel-gate-chat-to-messages | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | openai-chat → anthropic-messages | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
parallel-gate-chat-to-responses | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | openai-chat → openai-responses | streaming, parallel_calls, tool_call | — | not covered | results 2026 11 02 |
parallel-gate-messages-direct | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | anthropic-messages → anthropic-messages | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
parallel-gate-messages-through-router | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | anthropic-messages → anthropic-messages | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
parallel-gate-messages-to-chat | Parallel tool-call gate (HTTP probe) scripts/parallel_tool_live.py | anthropic-messages → openai-chat | streaming, parallel_calls, tool_call | — | pass (live) | run 41924232175 |
openai-python-sdk-chat-responses-not-covered | OpenAI Python SDK 3.46.0 | openai-chat → openai-responses | tool_call | — | not covered | issue 769 |
openai-python-sdk-chat-messages-not-covered | OpenAI Python SDK 3.46.0 | openai-chat → anthropic-messages | tool_call | — | not covered | issue 769 |
openai-python-sdk-responses-chat-not-covered | OpenAI Python SDK 3.46.0 | openai-responses → openai-chat | tool_call | — | not covered | issue 769 |
anthropic-python-sdk-messages-chat-not-covered | Anthropic Python SDK 2.6.0 | anthropic-messages → openai-chat | tool_call | — | not covered | issue 769 |
Router-level cells
| Cell | Area | Features | Result | Evidence |
|---|---|---|---|---|
router-bedrock-media-in-tool-result | Bedrock Converse tool-result translation | media_in_tool_result, tool_call | fail (unit) | issue 694 |
router-reasoning-with-tools-chat | eligibility: reasoning with tools per dialect | thinking, tool_call | unsupported | issue 703 |
Failing cells
| Cell | Client | Features | Issue | Observed |
|---|---|---|---|---|
pi-chat-to-messages-stream | pi | streaming, tool_call | #627 | One routed run answered from the stream as if the file could not be read although the tool result carried the marker; the translated continuation body was exact and the cause is not established. |
Live results
| Cell | Date | Commit | Result | Cost | Cost source |
|---|---|---|---|---|---|
pi-chat-to-messages-stream | 2026-11-02 | 5be713f6d5c3 | fail | not recorded | not_recorded (run total) |
parallel-gate-chat-direct | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
parallel-gate-chat-through-router | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
parallel-gate-chat-to-messages | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
parallel-gate-messages-direct | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
parallel-gate-messages-through-router | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
parallel-gate-messages-to-chat | 2026-11-04 | dbde5d598f72 | pass | $0.0048473 | estimate (run total) |
Cost sources: usage_rows is the router's own request_usage for routed cells; provider_invoiced is billed by the provider outside the router and is not in those rows; estimate is list-rate arithmetic with the invoice pending; not_recorded means the evidence carries no cost and none is claimed.
Not covered
| Cell | Client | Features | Why not |
|---|---|---|---|
openai-sdk-chat-tool-loop | OpenAI Python SDK | tool_call | Real SDK tool-loop run is awaiting its first live result. |
openai-sdk-responses-tool-loop | OpenAI Python SDK | tool_call | Real SDK tool-loop run is awaiting its first live result. |
anthropic-sdk-messages-tool-loop | Anthropic Python SDK | tool_call | Real SDK tool-loop run is awaiting its first live result. |
langgraph-chat-to-messages-stream | LangGraph | streaming, tool_call | No LangGraph Chat -> Anthropic Messages cell exists. The only such client evidence is the Pi live observation tracked in #627, and it covers a different client. |
openai-agents-chat-to-messages-stream | OpenAI Agents SDK | streaming, tool_call | No OpenAI Agents SDK Chat -> Anthropic Messages cell exists; the #539 translation gaps are closed but no client cell was added for this direction. |
claude-code-messages-same-dialect-thinking-live | Claude Code | streaming, thinking, cache_control, tool_call | The thinking and cache cells use synthetic blocks. Live provider signatures, cache behaviour and thinking continuity for Claude Code were not run on a recorded commit with a recorded cost. |
codex-responses-to-chat-stream | Codex CLI | streaming, tool_call | No Codex cell runs through a Responses-to-Chat bridged target; bridge tool shapes are only covered by router unit and HTTP tests. |
openai-sdk-chat-to-responses-tools | OpenAI SDK compatibility tester | streaming, tool_call | The pinned OpenAI SDK tester is run per dialect; no SDK-tester cell sends Chat tool calls to a Responses upstream. Client-level bridge evidence exists only for the agent clients. |
openai-sdk-chat-to-messages-tools | OpenAI SDK compatibility tester | streaming, tool_call | No recorded per-suite tools classification exists for this lane on a pinned commit; the full-capability live lanes publish supported-suite pass counts, not per-suite tool results. |
openai-sdk-responses-to-chat-tools | OpenAI SDK compatibility tester | streaming, tool_call | The pinned OpenAI SDK tester is not run through a Responses-to-Chat bridge target; that direction is covered only by router HTTP tests. |
anthropic-sdk-messages-to-chat-tools | Anthropic SDK compatibility tester | streaming, tool_call, thinking | Anthropic thinking is not translated across dialects and the historical limited config rejected these shapes before dispatch; no pinned per-suite tools cell exists for this lane. |
parallel-gate-chat-to-responses | Parallel tool-call gate (HTTP probe) | streaming, parallel_calls, tool_call | The parallel gate ran same-dialect and the two cross-dialect directions to and from Messages; Chat to Responses parallel calls are not part of it. |
openai-python-sdk-chat-responses-not-covered | OpenAI Python SDK | tool_call | Cross-dialect live SDK coverage is outside the v5.0.0 client-level cell set. |
openai-python-sdk-chat-messages-not-covered | OpenAI Python SDK | tool_call | Cross-dialect live SDK coverage is outside the v5.0.0 client-level cell set. |
openai-python-sdk-responses-chat-not-covered | OpenAI Python SDK | tool_call | Cross-dialect live SDK coverage is outside the v5.0.0 client-level cell set. |
anthropic-python-sdk-messages-chat-not-covered | Anthropic Python SDK | tool_call | Cross-dialect live SDK coverage is outside the v5.0.0 client-level cell set. |
Unsupported by contract
| Cell | Client | Features | Declared by |
|---|---|---|---|
codex-responses-provider-hosted-tools | Codex CLI | provider_hosted_tools | tool calls |
Rerun
Mock, unit and path cells:
make agent-tool-mock # pinned clients against a scripted upstream
make agent-chain-mock # depth matrix, writes tests/agent_compat/.out/chain-matrix.json
make compat-mock # pinned OpenAI and Anthropic SDK suites
python3 scripts/tool_compat_matrix.py --check
Live rows come from the nightly workflow .github/workflows/agent-tool-compat-live.yml (main only, protected evaluation environment, $1 per-run cap plus a monthly ceiling) or from an authorized manual run ingested with --ingest. Every live cell names its date and commit; a cell that regresses from the recorded baseline fails the nightly run, and a failing cell needs a triage issue before a release rather than blocking one by itself. The nightly cell set runs the HTTP gate; release adds the pinned OpenAI Chat, OpenAI Responses, and Anthropic Messages SDK tool loops. Dispatch with cell_set=release on main to attach the report.
Limits
- A mock cell proves a client and the router exchange the expected shapes against a scripted upstream; it does not prove live provider behaviour for the same request.
- A live row is one recorded run on the named commit, not a pass rate; the parallel gate is a two-turn HTTP probe, not a named client library run.
- Combinations and depth values that are not listed are untested, never passing.
- Provider-hosted tools are rejected before dispatch with 400 provider-hosted-tools-forbidden by contract; no cell claims them as supported.
- Costs come from the router's usage rows at configured list prices or from the provider's own bill; they are not invoices unless the row says so, and a run-scoped cost is not a per-cell attribution.
- opencode and aider have no cell; their fixtures verify a workload, not a real client tool loop.
- Nightly live automation is not enabled yet because the required Actions secrets do not exist (issue #572), so no cell is updated on a schedule.