Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

SDK Kotlin

How to build and extend the Kotlin/Android SDK in sdks/kotlin.

Free on GitHubMobile apps

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: sdk-kotlin
description: How to build and extend the Kotlin/Android SDK in sdks/kotlin. Read this before changing stream-agents-android-core, or before adding a Kotlin client for a new endpoint.
---

# Kotlin SDK conventions

The per-language half of [sdk](../sdk/SKILL.md). It records the decisions the modules in
[`sdks/kotlin`](../../../sdks/kotlin) already follow, so a change lands consistently rather than
re-litigating them. It mirrors [sdk-swift](../sdk-swift/SKILL.md): the two SDKs are the same
API in two languages, and a feature added to one belongs in the other.

Assume Kotlin 2.4, JVM 17 bytecode, AGP 9, Gradle with the version catalogue in
`gradle/libs.versions.toml`. Client side only: no folder sync, no dispatch, no config writing.

## The module, and what it is called

```
core  io.getstream:stream-agents-android-core  io.getstream.agents.android.core  Android library: HTTP, socket, state, Stream Chat, Stream Video
```

One module, as Swift is one package (`StreamAgents`). The artifact follows Stream's Android names,
written the way Maven writes names: the group is Stream's `io.getstream`, the artifact is
kebab-case, and the package is the reverse-DNS lower case Kotlin requires. `stream-agents-android-core`
sits beside Stream's own `stream-video-android-*` and `stream-chat-android-*` in a dependency list
and says which product it is.

- `core` is a `com.android.library`. It holds the conversation, `session.chat(context)`,
  `session.channelState(context, scope)` and `VoiceSession`, and depends on
  `stream-chat-android-client` and `stream-video-android-core`.
- It ships no views. Apps compose Stream Chat's AI components
  (`stream-chat-android-ai-compose`), the way Swift apps compose `StreamChatAI`.
- Stream Chat 7.15.0+ comes from `https://stream-io-repo.com`, not Maven Central;
  `settings.gradle.kts` lists it for `io.getstream` only.
- AGP 9 compiles Kotlin itself: apply `com.android.library`, never
  `org.jetbrains.kotlin.android`.
- compileSdk 37 is Stream Video 1.34's floor; minSdk 24 is Stream's.

## HTTP and the socket

...

From GetStream's repository, Apache-2.0 licence.

Related skills

  • Checked

    Android Gradle Plugin upgrade

    Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    CocoaPods to SwiftPM

    Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    Kotlin Native build speed

    Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.

    by Kotlin 1.1k
    7/101 credit
  • Checked

    SwiftUI Liquid Glass

    Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.

    by FloWritesCode 476
    7/101 credit
  • Checked

    Native Mobile App Design

    Designs Expo and React Native screens that feel truly native, with proper navigation, motion and dark mode.

    by Appllama 5.7k
    7/101 credit
  • Checked

    Offline Android LLM apps

    Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.

    by android 11k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added