The first published release of PtcLlmHttp: a bounded BEAM-native HTTP/1 transport and OpenAI-compatible wire-codec library.
Pre-alpha: the public API is usable, but breaking changes are expected throughout the
0.xseries. Consumers should pin an exact version.
Highlights
- One-attempt HTTP/1.1 transport with bounded DNS, TCP/TLS, framing, request, and response handling.
- Synchronous text-delta streaming with natural callback backpressure, early halt, terminal usage, and deterministic cleanup.
- OpenAI-compatible non-streaming text, function tools, tool replay, and strict structured output.
- Fail-stop physical connection admission with bounded concurrency and cleanup across success, timeout, cancellation, callback failure, and caller death.
- Closed typed error contracts and redacted public values.
- Minimal runtime dependency set: Jason only.
Requirements
- Elixir
~> 1.20 - Erlang/OTP 29 or later
{:ptc_llm_http, "== 0.1.0"}