Expand description
Optional provider adapter helpers for the Agent SDK.
This crate implements provider-facing adapters over agent-sdk-core
contracts. It must not own credentials, live endpoint policy, journals,
events, tool execution, or product routing decisions.
Structs§
- Anthropic
Content Block - Anthropic content block.
- Anthropic
Messages Adapter - Live Anthropic Messages API adapter.
- Anthropic
Messages Config - Configuration for the live Anthropic Messages adapter.
- Anthropic
Messages Response - Minimal Anthropic Messages response shape used by the adapter.
- Anthropic
Usage - Anthropic usage accounting.
- Curl
Json Http Transport - Blocking JSON HTTP transport backed by the system
curlexecutable. - Gemini
Candidate - Gemini response candidate.
- Gemini
Content - Gemini content block.
- Gemini
Function Call - Gemini function-call part.
- Gemini
Generate Content Adapter - Live Gemini generateContent API adapter.
- Gemini
Generate Content Config - Configuration for the live Gemini generateContent adapter.
- Gemini
Generate Content Response - Minimal Gemini generateContent response shape used by the adapter.
- Gemini
Part - Gemini content part.
- Gemini
Usage - Gemini usage accounting.
- Json
Http Request - JSON HTTP request emitted by a live provider adapter.
- Json
Http Response - JSON HTTP response returned by a provider transport.
- Open
AiCompatible Responses Adapter - Provider adapter for OpenAI-compatible Responses-style transports.
- Open
AiContent Part - Minimal Responses content part.
- Open
AiInput Message - Minimal OpenAI-compatible message input.
- Open
AiLive Responses Config - Configuration for the live OpenAI Responses adapter.
- Open
AiResponses Adapter - Live OpenAI Responses API adapter.
- Open
AiResponses Config - Configuration for one OpenAI-compatible Responses adapter route. It is data-only and does not contain credentials or live endpoint handles.
- Open
AiResponses Request - Minimal Responses-style request sent to an injected transport.
- Open
AiResponses Response - Minimal Responses-style response accepted by this adapter.
- Open
AiResponses Usage - Minimal Responses usage shape.
- Open
AiText Format Hint - Structured-output text format hint for Responses-compatible providers.
- Open
AiWire Output Item - Minimal Responses output item shape.
- Provider
ApiKey - Runtime API-key material for a provider adapter.
Traits§
- Json
Http Transport - Transport boundary used by live provider adapters.
- Open
AiResponses Transport - Transport boundary for an OpenAI-compatible Responses request. Implementations may perform network I/O; the adapter itself only maps SDK DTOs to and from the transport contract.
- Open
AiTool Argument Sink - Optional host-owned sink for raw provider tool-call arguments.
The adapter never places raw arguments in the
ProviderToolCallsummary. - Provider
Tool Argument Sink - Optional host-owned sink for raw provider tool-call arguments.