Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 2.09 KB

File metadata and controls

63 lines (43 loc) · 2.09 KB

LeapSDK Examples

This repository contains example applications demonstrating how to use the LeapSDK for on-device AI inference across multiple platforms.

Platforms

  • LeapSloganExample: Simple SwiftUI app for slogan generation
  • LeapChatExample: Comprehensive chat application with real-time streaming
  • LeapAudioDemo: Audio processing and transcription demo
  • RecipeGenerator: Recipe generation with constrained JSON output

Swift Package Manager integration with XcodeGen project generation.

  • SloganApp: Basic slogan generator using Jetpack Compose
  • LeapChat: Full-featured chat application with modern Android UI
  • LeapAudioDemo: Audio input/output demo with streaming playback and interactive controls
  • ShareAI: Web page summary generator
  • RecipeGenerator: Recipe generation with constrained JSON output
  • VLMExample: Vision language model demo for image understanding
  • LeapKoogAgent: AI agent demo integrating Koog framework with LeapSDK

Gradle-based projects using the LeapSDK Android library.

Quick Start

iOS

cd iOS/LeapSloganExample
make setup && make open

Android

cd Android/SloganApp
./gradlew installDebug

What is LeapSDK?

LeapSDK enables running AI models locally on mobile devices using the Liquid Inference Engine. It provides:

  • On-device inference - No internet required
  • Real-time streaming - Token-by-token response generation
  • Cross-platform - iOS and Android support
  • High performance - Optimized for mobile hardware
  • Easy integration - Simple API for chat and text generation

Documentation

License

See LICENSE for details.