{"repo":"tddworks/openai-kotlin","free":true,"listed":false,"github":"https://github.com/tddworks/openai-kotlin","clone":"git clone https://github.com/tddworks/openai-kotlin.git","description":"OpenAI clients for kotlin multiplatform SDK, supports OpenAI, Anthropic, Azure, Gemini, Ollama with TDD","language":"Kotlin","stars":55,"topics":["chatgpt","kmp","kotlin","openai-api","anthropic-claude","claude","claude-ai","claude-api","openai-kotlin","anthropic-kotlin"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"OpenAI Kotlin A comprehensive Kotlin Multiplatform library providing unified access to multiple AI/LLM providers including OpenAI, Anthropic Claude, Google Gemini, and Ollama. Built with modern Kotlin practices and designed for seamless integration across JVM, Android, iOS, and native platforms. ✨ Features - 🔗 Multi-Provider Support : OpenAI, Anthropic Claude, Google Gemini, Ollama, and custom providers - 🌐 Kotlin Multiplatform : JVM, Android, iOS, macOS, and other Kotlin/Native targets - 🚀 Streaming Support : Real-time chat completions with Flow-based streaming - 🔄 Unified Gateway : Switch between providers seamlessly with a single interface - 📱 Platform-Optimized : Native HTTP clients for each platform (Ktor CIO, NSURLSession) - 🎯 Type-Safe : Fully typed APIs with comprehensive data classes - 📦 Modular Design : Use only what you need with granular dependencies - 🧪 Well-Tested : Comprehensive test coverage with integration tests 🚀 Quick Start Basic OpenAI Client Add the dependency: Multi-Provider Gateway For applications requiring multiple AI providers: 🍎 Swift / iOS / macOS Installation via Swift Package Manager Add the package to your Package.swift or via Xcode: Or add via Xcode: File → Add Package Dependencies → Enter the repository URL. Available Frameworks Framework Description ----------- ------------- OpenAIClient OpenAI API client AnthropicClient Anthropic Claude API client GeminiClient Google Gemini API client OllamaClient Ollama local LLM client OpenAIGat","default_branch":null,"files":null,"tree":[],"storefront":"/r/tddworks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tddworks/openai-kotlin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}