Skip to main content

Module invoke

Module invoke 

Source
Expand description

Platform-native transport for gateway → agent requests.

Most targets are reached over HTTP at an crate::EndpointAddress. Some are not (AWS Lambda: InvokeWithResponseStream, signed with SigV4, at an address like lambda://<function>:<qualifier>). Such providers implement crate::Provider::invoke; the gateway then sends the signed protocol request (POST /internal/v1/runs, …) through it and reads the agent’s response bytes (the SSE stream) from InvokeResponse::body.

Structs§

InvokeRequest
A gateway → agent request, already signed (Graphrt-Sig among headers).
InvokeResponse
The agent’s answer.

Type Aliases§

ByteStream
Response body bytes as they arrive (never buffered whole: SSE).