u/ferranpons

Llamatik - Kotlin Multiplatform library for local AI (LLMs, speech, images) on Android, iOS, JVM & WASM

Llamatik - Kotlin Multiplatform library for local AI (LLMs, speech, images) on Android, iOS, JVM & WASM

Hi all,

I’ve been working on Llamatik, an open source Kotlin Multiplatform library that brings local AI models (LLMs, speech, and image generation) to multiple platforms using a shared API.

### 🌍 Supported platforms
- Android
- iOS (arm64 + simulator)
- JVM (desktop/server)
- Web (WASM, experimental)

### 🧠 What it supports
- llama.cpp → local LLM inference
- whisper.cpp → speech-to-text
- stable-diffusion.cpp → image generation

### 🔧 What it does
- Provides a Kotlin-first multiplatform API
- Runs models fully on-device / offline
- Lets you share AI logic across mobile, desktop, and web

### 💡 Why I built it
Most local AI tooling is:
- Python-first
- Hard to integrate into mobile apps
- Not designed for shared codebases

I wanted something that:
- Works in real apps (Android + iOS + Desktop + Web)
- Feels natural for Kotlin developers
- Doesn’t require a backend

### ⚙️ Technical highlights
- Kotlin Multiplatform + C++ interop
- Integration with llama.cpp, whisper.cpp, stable-diffusion.cpp
- CMake + Gradle build pipeline
- Static linking for iOS
- Early WASM support

### 📦 Current status
- Core functionality working across platforms
- API and DX still evolving
- Some rough edges in native builds

### 🙌 Looking for
- Feedback on API design
- Ideas for real-world use cases

### 🔗 Repo
https://github.com/ferranpons/Llamatik

Curious to hear how people would use local AI like this in real apps.

github.com
u/ferranpons — 8 days ago
▲ 18 r/Jetbrains+3 crossposts

I built a local AI coding assistant plugin for IntelliJ IDEA (llama.cpp, no cloud)

I built an AI coding assistant plugin for JetBrains IDEs that runs locally (llama.cpp, no cloud required).

I’ve been using IntelliJ daily and wanted something closer to Cursor/Claude-style workflows, but fully inside JetBrains and without sending code externally.

So I ended up building this.

It integrates directly into the IDE and supports:
– project-aware chat (understands your codebase)
– AI agent for applying code changes
– multi-file edits with diff previews
– external docs/web research with citations
– MCP server/tool support
– background code health analysis

Everything can run locally depending on your setup, so it’s privacy-friendly and works offline.

I’m actively improving it and would really appreciate feedback from other JetBrains users — especially around UX and how it fits into your workflow.

Plugin page: https://plugins.jetbrains.com/plugin/31304-llamatik-code/

u/ferranpons — 8 days ago