Zig library to communicate with different LLM providers
  • Zig 99%
  • Nix 1%
Find a file
2026-10-31 20:12:04 -07:00
.github/workflows feat: init 2026-10-31 20:12:04 -07:00
lib feat: init 2026-10-31 20:12:04 -07:00
.envrc feat: init 2026-10-31 20:12:04 -07:00
.gitignore Initial commit 2026-11-01 02:50:21 +00:00
build.zig feat: init 2026-10-31 20:12:04 -07:00
build.zig.zon feat: init 2026-10-31 20:12:04 -07:00
flake.lock feat: init 2026-10-31 20:12:04 -07:00
flake.nix feat: init 2026-10-31 20:12:04 -07:00
LICENSE Initial commit 2026-11-01 02:50:21 +00:00
README.md feat: init 2026-10-31 20:12:04 -07:00
treefmt.nix feat: init 2026-10-31 20:12:04 -07:00

llm-provider.zig

A Zig library for communicating with LLM providers through a neutral message model. It includes adapters for OpenAI-compatible chat completions, OpenAI's Responses API, and Anthropic's Messages API, plus SSE parsing, retries, and a streaming HTTP client.