Skip to main content

Module server

Module server 

Source
Expand description

Protocol server โ€” adapts AgentRuntime to the bridge protocol.

Tool calls use a single-slot pattern: the serve loop pushes a receiver before each tool call, and ProxyTool pops it. This handles sequential tool calls cleanly; parallel calls can be added later via a FIFO queue.

Structsยง

ProtocolServer