# PsycheSDK for Android

Kotlin SDK for integrating Psyche AI virtual assistants into Android
applications.

## Requirements

- Android SDK 26+ (Android 8.0 Oreo)
- Kotlin 1.9+
- Gradle 8.2+

## Installation

### Gradle

```kotlin
dependencies {
    implementation("ai.oshun.psyche:psyche-android-sdk:0.1.0")
}
```

## Quick Start

```kotlin
import ai.oshun.psyche.sdk.PsycheClient

val psyche = PsycheClient(apiKey = "psk_your_api_key_here_32chars_min")
psyche.initialize()

// Create an avatar session
val session = psyche.createSession(avatarId = "avatar-001")

// Send a message
val response = psyche.sendMessage(
    sessionId = session.id,
    message = "Hello, can you help me?"
)
println(response.content)
```

## Architecture

```
src/main/kotlin/ai/oshun/psyche/sdk/
├── PsycheConfiguration.kt  # Config, errors, logging
├── Types.kt                 # Core types (avatar, message, WebRTC, etc.)
└── PsycheClient.kt          # Main entry point with OkHttp
```

## License

Proprietary — Oshun Ecosystem
