Back
BY
Nathan Tarbert
and
November 4, 2025

Mark Fogle’s recent contribution of the Kotlin SDK to AG-UI is a big step forward: developers can now integrate AG-UI directly into Android, iOS, and JVM environments through a single, unified SDK.

This means users can now connect to agents directly from mobile with no custom bridges, wrappers, or per-platform workarounds.

What it looks like in practice:

User → UI (Compose KMP / Swift / MDC) → Kotlin SDK → AG-UI → Agent → Android / IOS / JVM

This flow enables real-time agent interactions from native apps, instead of relying on browser-based clients or webviews. AG-UI now lives natively inside your mobile stack, powered by Kotlin’s multiplatform capabilities.

Why It Matters

Until now, AG-UI integrations were primarily web-first. That left mobile developers with either:

  • Building custom wrappers, or
  • Waiting for mobile SDK parity.

The Kotlin SDK eliminates both problems. You can now embed AG-UI agents in native mobile apps with full feature parity, minimal setup, and consistent behavior across all platforms.

Check out Mark's SDK walkthrough 👇

Technical Benefits

  1. Unified API surface → Same AG-UI methods across Android, iOS, and JVM.
  2. Native performance → No JavaScript bridge or runtime overhead.
  3. Consistent agent UX → Whether on mobile or desktop, the agent context and message flow remain identical.

What This Enables

  • On-device AI copilots that interact with app context in real time.
  • Cross-platform assistants that maintain session state between web, Android, and iOS.
  • Seamless integration into existing mobile UIs (Jetpack Compose, SwiftUI, etc.) through the AG-UI abstraction layer.

The Bigger Picture

This Kotlin SDK moves AG-UI closer to its goal: being the universal interface layer for agentic systems.

Developers can now connect users and agents anywhere-from a mobile app, web app, or JVM service-through a single, consistent pipeline.

Try It Out

Start building with the Kotlin SDK:

If you’ve been waiting to bring AG-UI agents to mobile, the time has arrived.

Don’t miss what’s next! Follow CopilotKit on Twitter for real-time updates and join our Discord to collaborate with fellow agent builders.

Happy building!

Subscribe to the newsletter

Get notified of the latest news and updates.

Top posts

See All