gallery
A gallery that showcases on-device ML/GenAI use cases and allows people to try and use models locally.
Extend Mobile Actions with custom native functionality. Learn how to annotate Kotlin methods, define Action subclasses, and implement Android logic step-by-step. Enhance your mobile app development now.
Build System Used for the Android App in AI Edge Gallery: Gradle with Kotlin DSLDiscover the Gradle Kotlin DSL build system powering the Google AI Edge Gallery Android app. Learn about its centralized configuration, version catalog, and SDK 35 Jetpack Compose setup.
Minimum Android and iOS Versions Required for the Google AI Edge Gallery AppDiscover the minimum Android 12+ and iOS 17+ OS versions needed for the Google AI Edge Gallery app. Learn why these requirements ensure access to the latest ML APIs.
How Google AI Edge Gallery Maintains Privacy and Security During On-Device InferenceDiscover how Google AI Edge Gallery secures on-device inference. Learn about LiteRT-LM runtime, private app directories, and local tensor processing for complete user privacy.
How to Add Tool Definitions for Mobile Actions in AndroidLearn how to add tool definitions for Mobile Actions in Android by annotating Kotlin functions and implementing execution logic. Follow our guide for seamless integration.
How to Define New Action Types for Mobile Actions in Google AI Edge GalleryLearn how to define new action types for Mobile Actions in the Google AI Edge Gallery. Extend ActionType, expose a matching Tool method, and implement runtime logic.
How to Use the 'Ask Image' Feature for Visual Analysis with the Device Camera in Google AI Edge GalleryUnlock visual analysis with the 'Ask Image' feature in Google AI Edge Gallery. Use your device camera to query on-device LLMs for insights without cloud data. Learn more today.
Google AI Edge Gallery Multimodal Capabilities: On-Device Image and Audio ProcessingExplore multimodal capabilities in the Google AI Edge Gallery. Process images and audio on-device with Ask Image and Audio Scribe tasks for LLMs.
How to Load Agent Skills from URLs or Community Contributions in AI Edge GalleryLearn to load Agent Skills from URLs or community contributions in the AI Edge Gallery. Easily add new skills using SkillManagerViewModel and SkillAllowlist.
How to Embed JavaScript and HTML in Google AI Edge Gallery Agent SkillsLearn to embed JavaScript and HTML in Google AI Edge Gallery Agent Skills. Build interactive web interfaces for LLM tool calls using native webviews.
How Agent Skills Extend LLMs with External Integrations in Google AI Edge GalleryLearn how Agent Skills extend LLMs with external integrations securely on device. Inject metadata and route tool calls to JavaScript or Android for powerful, cloud-free assistants. Explore Google AI Edge Gallery.
How to Perform Benchmark Testing of Models on Different Hardware in the Gallery AppBenchmark test AI models on various hardware using the Gallery app. Measure init latency, prefill throughput, and decode speed. Compare results efficiently.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →