Native SDKs

iOS & Android

Mobile-safe clients without embedded production secrets

Swift and Kotlin clients support native application integration, but a downloadable app is not a safe home for a long-lived production Router key.

Add the package

Use Swift Package Manager or the Kotlin artifact.

https://github.com/octoryn/octoryn-swift.git · v0.2.1
ai.octoryn:octoryn-core:0.2.0

Use a trusted backend

Prefer an application backend that owns the Router service identity. If a product introduces credential exchange, scope it narrowly, expire it quickly and bind it to product authorization.


Respect app lifecycle

Cancel streams when views disappear, resume only application-safe operations and avoid background retries that can create duplicate cost or side effects.


Protect local data

Do not persist prompts, outputs or credentials in analytics, crash logs or unprotected preferences. Apply the product's data classification before the Router request.

NextUI Framework SDKs