Can I use adk-java for Android development?
Just as the title: Can I use adk-java for Android development?
I noticed that Google has the end-side solution called "AI Edge" which contains LiteRT runtime, MediaPipe, etc. to facilitate the development of AI application on the edge like Phone, ...
But can I run agent(s) applications on Android, maybe developed by adk-java? To be more specific:
- Can I write agent code using adk-java in Android Studio?
- Can adk-java use LLM(SLM) provided by end-side runtime like LiteRT? (It seems no? https://google.github.io/adk-docs/agents/models/)
- Can agents application developed by adk-java deployed on edge? (It seems no? https://google.github.io/adk-docs/deploy/)
So, basically I want to run agents applications on Android, maybe process user's personal private data on their phone, maybe create some graphs, automatically decide which app to use, or do some reasoning/reflections, etc. If I cannot do that with adk-java, can anyone suggest other options? Appreciate for any suggestions.
Hi @Th1nK4data, thank you for reaching out, we can not use adk-java for Android development because it is strictly a server-side framework built for cloud environments and relying on heavy JVM dependencies. so it is incompatible with Android's runtime.
if your goal is building an agents on android, we recommend you to use Google AI Edge and Android AICore to help with the built in Gemini Nano model. these tools provide the exact edge capabilities which will help you to build an agents on android.
Closing this issue since it has been stale for more than 14 days.