SDK · Kotlin

BeaconsSDK Kotlin — Android, JVM, KMP.

The Kotlin SDK powers the Android client and is also used in shared KMP modules across iOS and JVM backends. Coroutines and Flow throughout. Compatible with Android 7+ and any JVM 17+ runtime.

Install

// Gradle (Kotlin DSL)
dependencies {
    implementation("ai.l1fe.beacons:sdk:0.1.0")
}

// Maven
<dependency>
  <groupId>ai.l1fe.beacons</groupId>
  <artifactId>sdk</artifactId>
  <version>0.1.0</version>
</dependency>

What you get

  • Coroutines + Flow throughout
  • KMP-compatible — same code on Android, JVM, iOS
  • JNI binding to the Rust crypto core
  • Android VpnService helpers + lifecycle integration

Platforms: Android 7+ · JVM 17+ · iOS via KMP · macOS via KMP

kotlin — enroll a peer
import ai.l1fe.beacons.*

suspend fun enroll(): Unit = coroutineScope {
    val client = Client.fromEnv()

    val fleet = Fleet("did:oas:acme:fleet:prod")
    val me    = Did("did:oas:acme:agent:scribe-7")

    val peer = client.fleet(fleet).enroll(me)
    println("admitted in ${peer.compositeVerdictMs} ms")
}

Parity

Identical surface in every language.

Every Beacons SDK targets the same set of operations. Cryptographic primitives (Ed25519, HKDF-SHA256, Blake3) come from a shared Rust WASM module so signatures produced in one language verify identically in another. The conformance suite at beacons-conformance exercises cross-language vectors on every release.

Open a fleet

The mesh that fits agents and humans.

A `did:oas`-rooted private mesh that ships peer configurations to any device, anywhere, by policy — not by hand.

Open consoleRead the quickstart