Skip to main content

Module envelope

Module envelope 

Source
Expand description

The request/response envelope: the normalized LlmRequest/LlmResponse paired with the original provider payload and correlation Metadata.

Structs§

Context
Cross-cutting request context passed through algorithms and LLM clients.
Request
A request an algorithm routes: the normalized LlmRequest plus optional host-owned raw data and correlation Metadata.
Response
A response an algorithm returns: the LlmResponse (streamed or aggregate) plus optional correlation Metadata.
Signals
Agentic-stack events fed to an algorithm out of band (e.g. tool results, budget updates) — in libsy, via Algorithm::process_signals.