Changelog

All notable changes to this project will be documented in this file.

0.4 β€” 2026-06-02

Breaking changes

Source-breaking for downstream code that constructs these records directly or pattern-matches without ; _. Code that goes through the documented constructors (Core_tool.create, Prompt_builder.resolve_messages, Cache_control.ephemeral / ephemeral_1h) is unaffected.

Anthropic provider (ai_provider_anthropic)

OpenRouter provider (ai_provider_openrouter)

0.5 β€” 2026-07-06

OpenRouter provider (ai_provider_openrouter)

0.3 β€” 2026-04-20

Anthropic provider (ai_provider_anthropic)

Core SDK (ai_core)

Provider abstraction (ai_provider)

Providers (ai_provider_openai, ai_provider_anthropic, ai_provider_openrouter)

Examples

0.2 β€” 2026-04-14

Core SDK (ai_core)

Provider Abstraction Layer (ai_provider)

Examples

Dependencies

0.1 β€” 2026-04-06

Initial release of the OCaml AI SDK β€” a type-safe, provider-agnostic AI model abstraction inspired by the Vercel AI SDK, targeting AI SDK v6 wire compatibility.

Provider Abstraction Layer (ai_provider)

Anthropic Provider (ai_provider_anthropic)

OpenAI Provider (ai_provider_openai)

Core SDK (ai_core)

Melange Bindings (ai-sdk-react)

Examples

Infrastructure