@agent-os/llm-transport-http
Purpose
Section titled “Purpose”HTTP provider streaming adapter for OpenAI-compatible, Anthropic Messages, and Gemini-style token deltas.
Invariant
Section titled “Invariant”LLM streaming is non-durable turn progress. Durable run truth remains the
terminal SubmitResult plus ledger events. This package materializes the LLM
protocol surface owned by @agent-os/kernel; there is no separate
provider-neutral @agent-os/llm-transport algebra package.
Minimal Usage
Section titled “Minimal Usage”Use streamLlmTurn to produce TurnStreamFrame values. Supply endpoint and
credential material through RefResolver; missing material fails closed.
import { streamLlmTurn } from "@agent-os/llm-transport-http";Verification
Section titled “Verification”cd packages/providers/llm-transport-httpvp test run