Skip to main content

Module protocol

Module protocol 

Source
Expand description

Wire-protocol family for an upstream AI provider.

WireProtocol names the request/response shape a provider speaks, not the vendor. It is the single key that both the gateway’s outbound adapters and the agent-flow provider clients resolve a wire codec from: minimax speaks WireProtocol::Anthropic; moonshot and qwen speak WireProtocol::OpenAiChat. Decoupling the protocol from the provider name is what lets a new vendor reuse an existing codec by declaring its protocol.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Enums§

WireProtocol