Skip to content

@agent-os/llm-transport-http

HTTP provider streaming adapter for OpenAI-compatible, Anthropic Messages, and Gemini-style token deltas.

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.

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";
Terminal window
cd packages/providers/llm-transport-http
vp test run