baikai: Unified Haskell interface for multiple AI providers
baikai provides a unified, provider-agnostic Haskell interface for working
with multiple AI providers. It abstracts chat and streaming completions, tool
use, model catalogs, cost accounting, and tracing behind a single API, with
concrete provider implementations supplied by companion packages such as
baikai-claude and baikai-openai.
Modules
[Index] [Quick Jump]
- Baikai
- Baikai.AgentAssets
- Baikai.Api
- Baikai.Auth
- Baikai.CacheRetention
- Baikai.Compat
- Baikai.Content
- Baikai.Context
- Baikai.Cost
- Baikai.Embedding
- Baikai.Error
- Baikai.Interactive
- Baikai.Message
- Baikai.Model
- Models
- Baikai.Options
- Baikai.Prelude
- Baikai.Provider
- Baikai.Response
- Baikai.ResponseFormat
- Baikai.StopReason
- Baikai.Stream
- Baikai.ThinkingLevel
- Baikai.Tool
- Baikai.Trace
- Baikai.Usage
Downloads
- baikai-0.3.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.3.1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.2 && <2.3), baikai, base (>=4.20 && <5), base64-bytestring (>=1.2 && <1.3), bytestring (>=0.12 && <0.13), containers (>=0.7 && <0.8), directory (>=1.3 && <1.4), filepath (>=1.5 && <1.6), generic-lens (>=2.3 && <2.4), http-client (>=0.7 && <0.8), http-client-tls (>=0.3 && <0.4), lens (>=5.3 && <5.4), openai (>=2.5 && <2.6), scientific (>=0.3 && <0.4), streamly (>=0.11 && <0.13), streamly-core (>=0.3 && <0.5), text (>=2.1 && <2.2), time (>=1.14 && <1.15), unliftio-core (>=0.2 && <0.3), vector (>=0.13 && <0.14) [details] |
| License | BSD-3-Clause |
| Copyright | (c) 2026 Nadeem Bitar |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| Uploaded | by shinzui at 2026-07-15T14:13:07Z |
| Category | AI |
| Distributions | |
| Reverse Dependencies | 12 direct, 7 indirect [details] |
| Executables | baikai-fetch-models, baikai-gen-models |
| Downloads | 29 total (22 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user [build log] All reported builds failed as of 2026-07-15 [all 1 reports] |