Beta · 1.0.0
PRIVAKU Brain SDK
Compiled SDK only — an iOS .xcframework and an Android .aar, plus these install steps. Source code and source repos are not published. Partners receive binaries under licence.
Download (compiled only):
PrivakuBrainSDK-iOS-1.0.0.zip ·
PrivakuBrainSDK-Android-1.0.0.aar ·
SHA256SUMS.txt
More at dev.privaku.com/brain-sdk/
What it does
- A floating gold button sits above your app. The person says what they want in plain English (or Japanese).
- Brain drives your app’s own screens (UIKit / SwiftUI on iOS; Views / Jetpack Compose on Android). It does not control other apps.
- On-device only. Apple Intelligence when available on iOS; optional local models; rules engine fallback. Prompts stay on the device.
- Asks before deleting or paying. CAPTCHAs are always handed to the person.
Requirements
- iOS: Xcode 16+, deployment target iOS 17+, Apple Silicon Mac recommended for local builds.
- Android: minSdk 26, compileSdk 35, Kotlin 2.0+, Java 17.
iOS — install the XCFramework
Download iOS XCFramework (.zip)
- Unzip
PrivakuBrainSDK-iOS-1.0.0.zipto getBrainSDK.xcframework. - In Xcode: your app target → General → Frameworks, Libraries, and Embedded Content → + → Add Other… → select
BrainSDK.xcframework→ set to Do Not Embed (static). - Ensure the resource bundle inside the framework (
BrainSDK_BrainSDK.bundle) is copied into your app if Xcode does not pick it up automatically (Build Phases → Copy Bundle Resources).
Minimal usage
import BrainSDK
import SwiftUI
@main
struct MyApp: App {
init() {
BrainSDK.shared.configure(
BrainConfiguration(
models: [AppleIntelligenceModel()], // tried in order; rules engine last
approval: .deleteOrPay
)
)
}
var body: some Scene {
WindowGroup { ContentView() }
}
}
// Or start a goal from your own code:
BrainSDK.shared.run("Turn on dark mode and save")
Android — install the AAR
- Put
PrivakuBrainSDK-Android-1.0.0.aarin e.g.app/libs/. - In your app module
build.gradle.kts:
dependencies {
implementation(files("libs/PrivakuBrainSDK-Android-1.0.0.aar"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
// If your app uses Jetpack Compose screens Brain should read:
// implementation("androidx.compose.ui:ui:1.7.5")
}
Minimal usage
class App : Application() {
override fun onCreate() {
super.onCreate()
Brain.install(this, BrainConfig(
models = emptyList() // rules only; optional on-device models under licence
))
}
}
// From an Activity / Compose screen:
Brain.run("Open settings and turn on dark mode")
What’s in the package
- iOS:
BrainSDK.xcframework(ios-arm64 + ios-arm64_x86_64-simulator). No dSYMs, no.swiftsources. - Android: release
.aarforcom.privaku.brain(compiled classes + consumer ProGuard rules). No.kt/.javasources.
Licence
Proprietary. Available under licence for partner apps. Contact hello@privaku.com.