leap-edge-sdk
π―Skillfrom glody007/leapsdk-skills
Provides comprehensive guidance and code examples for integrating Liquid AI's small language models into Android and iOS mobile applications using the LEAP Edge SDK.
Installation
npx skills add https://github.com/glody007/leapsdk-skills --skill leap-edge-sdkSkill Details
Overview
# LEAP Edge SDK Skill
An [Agent Skill](https://github.com/anthropics/agent-skills) for building mobile apps with [Liquid AI's LEAP Edge SDK](https://docs.liquid.ai/leap/edge-sdk/overview) - enabling on-device AI inference on Android and iOS.
Overview
This skill provides comprehensive guidance for integrating Liquid AI's small language models (SLMs) into mobile applications. It covers:
- Android (Kotlin):
LeapClient,LeapDownloader, streaming responses with Kotlin Flow - iOS (Swift):
Leap.load(),LeapModelDownloader, AsyncStream responses, SwiftUI integration - Models: LFM2 variants (350M, 700M, 1.2B) with quantization options
- Examples: Complete ViewModel implementations for both platforms
Installation
This skill follows the [Agent Skills](https://github.com/anthropics/agent-skills) open standard and works with any compatible AI coding assistant.
Clone this repo into your agent's skills directory:
```bash
# Example for project-level installation
git clone https://github.com/liquid-ai/leap-edge-sdk-skill.git .skills/leap-edge-sdk
# Or add as a git submodule
git submodule add https://github.com/liquid-ai/leap-edge-sdk-skill.git .skills/leap-edge-sdk
```
Refer to your AI assistant's documentation for the specific skills directory path.
Usage
Once installed, the skill activates automatically when the agent detects relevant tasks involving:
- On-device AI inference
- Mobile LLM integration
- LeapSDK, LeapClient, or ModelRunner
- Android/iOS AI chat implementations
Skill Contents
| File | Description |
|------|-------------|
| SKILL.md | Agent instructions with code examples |
| metadata.json | Skill metadata and references |
| README.md | This file |
Resources
- [LEAP Documentation](https://docs.liquid.ai/leap/edge-sdk/overview)
- [Android Quick Start](https://docs.liquid.ai/leap/edge-sdk/android/android-quick-start-guide)
- [iOS Quick Start](https://docs.liquid.ai/leap/edge-sdk/ios/ios-quick-start-guide)
- [LeapSDK iOS GitHub](https://github.com/Liquid4All/leap-ios)
- [LeapSDK Examples](https://github.com/Liquid4All/LeapSDK-Examples)
- [Cookbook & Tutorials](https://github.com/Liquid4All/cookbook)
License
MIT