ai_abstracted
Provider-agnostic generative AI: one set of contracts for text, image, video, speech, sound-effect, and music generation across many providers.
What this package is like to depend on
Last release 18 days ago
05 Aug 2026
Too new to tell
only 2 dated releases
Nearly every release is documented
notes for 2 of 2 stable releases
Nothing withdrawn
no release was ever pulled
1 months old
2 releases · first in 2026
2 releases in the last 12 months
see the full history below
Release timeline
2 releases · Jul 2026 to Aug 2026Releases
latest 2-
0.3.005 Aug 2026Release notes
Open source →OllamaTextClientandMistralTextClientnow forwardTextRequest.image, so vision works on every text provider rather than only Claude and Gemini. Ollama sends bare base64 in its per-messageimagesarray; Mistral sends an OpenAI-styleimage_urlcontent part with adata:URI. Pick a multimodal model — a text-only one rejects the request withAiInvalidRequestException.- Behavior change
OllamaTextClientnow mapsTextRequest.maxTokensontooptions.num_predict. Ollama previously ran unbounded regardless of the field; generations are now capped at the requested budget (default 4096). RaisemaxTokensif you relied on the old unbounded behavior. - A Mistral request without an image keeps its content a plain string rather than a single-element parts array, so text-only models are unaffected.
-
0.1.006 Jul 2026Release notes
Open source →First public release.
- Provider-agnostic contracts for text, image, video, speech, sound-effect, and
music generation, each a single async method that takes a typed request and
returns a
GenerationResult(bytes plus normalized metadata). - A shared HTTP transport with exponential backoff, jittered retries, and async-job polling for the providers that run long jobs.
- Typed error hierarchy (
AiExceptionand friends) that maps HTTP status codes to auth, rate-limit, invalid-request, transient, and timeout failures. - Clients for Google Gemini (text and image), Google Veo (video, with Veo 3 audio), OpenAI (image), Black Forest Labs FLUX (image), ElevenLabs (speech and sound effects), Suno (music), Anthropic Claude (text), Mistral (text), and Ollama (local text).
- Multi-turn conversations (
TextRequest.history) and an optional image on the current turn (TextRequest.image) for vision-capable text models. - An environment credential loader, a provider registry, and an in-memory fake for every capability so downstream code stays testable without a network.
- Provider-agnostic contracts for text, image, video, speech, sound-effect, and
music generation, each a single async method that takes a typed request and
returns a