#158158th of 242 in Agent frameworks and SDKs

openai-kotlin

Unofficial Kotlin Multiplatform client for the OpenAI API with coroutines

Stars
1.9k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Kotlin
Stars, last 30 weeks+46
2 May 2026: 1,804 stars9 May 2026: 1,807 stars16 May 2026: 1,808 stars23 May 2026: 1,809 stars30 May 2026: 1,814 stars6 Jun 2026: 1,817 stars13 Jun 2026: 1,817 stars20 Jun 2026: 1,818 stars27 Jun 2026: 1,820 stars4 Jul 2026: 1,820 stars11 Jul 2026: 1,822 stars18 Jul 2026: 1,824 stars25 Jul 2026: 1,825 stars1 Aug 2026: 1,828 stars8 Aug 2026: 1,829 stars15 Aug 2026: 1,829 stars22 Aug 2026: 1,829 stars29 Aug 2026: 1,830 stars5 Sept 2026: 1,831 stars12 Sept 2026: 1,834 stars19 Sept 2026: 1,836 stars26 Sept 2026: 1,839 stars3 Oct 2026: 1,839 stars10 Oct 2026: 1,842 stars17 Oct 2026: 1,844 stars24 Oct 2026: 1,846 stars31 Oct 2026: 1,847 stars7 Nov 2026: 1,848 stars14 Nov 2026: 1,848 stars21 Nov 2026: 1,849 stars28 Nov 2026: 1,850 stars

1,804 on 2 May 20261,850 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Kotlin library that wraps OpenAI's REST API (responses, chat, embeddings, images, audio, realtime, batch, vector stores and more) using coroutines and Ktor. It targets Kotlin Multiplatform, and the JVM artifact also works from Maven projects. It is unofficial and not affiliated with OpenAI.

Who it is for: Kotlin and Android developers calling OpenAI's API from JVM or KMP apps

Strengths

  • Kotlin Multiplatform: shared code in commonMain, with a Ktor engine chosen per target
  • Covers many endpoints: Responses, Realtime, Batch, Vector Stores, Webhooks, Containers, Skills
  • Bundled ProGuard/R8 rules and a BOM artifact for Gradle version alignment
  • MIT license, with guides, sample apps and mocked offline tests that need no API key

Weaknesses

  • Unofficial library; it may lag behind or diverge from OpenAI API changes
  • You must add a Ktor engine dependency yourself; none is bundled
  • Retired APIs (Assistants, Threads, Runs, Fine-tunes) remain in the client but their endpoints are shut down
  • Targets OpenAI's API; the README does not mention other providers

What it needs

  • no GPU
  • Needs OpenAI API key, Ktor client engine, Gradle
  • Models: OpenAI API models

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#156researchstudioAgent skills that take a research direction to idea card, poster, video and blog Live demo ↗ (opens in a new tab)3.9k stars+431 (+13%) in 30 daysMIT56 out of 100
#157deep-chatEmbeddable web component that adds a chat UI to any website Live demo ↗ (opens in a new tab)3.8k starsMIT56 out of 100
#159clawbenchBenchmark for AI browser agents on everyday tasks across live websites Live demo ↗ (opens in a new tab)1.4k starsApache-2.056 out of 100
#160lightagentPython agent framework with tools, memory, swarm routing and DAG workflows1.3k starsApache-2.056 out of 100
#161skillnetSearch, create, evaluate and route reusable agent skills1.5k starsMIT55 out of 100