Zig library to communicate with different LLM providers
- Zig 99%
- Nix 1%
| .github/workflows | ||
| lib | ||
| .envrc | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| treefmt.nix | ||
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.