Hi, does Koog work on android ?
# koog-agentic-framework
u
Hi, does Koog work on android ?
d
Hello! I don't see any reason it should not! 😊 Did you try?
u
I haven't tried it, but since Android compatibility isn't mentioned on klibs, I wondered.
d
@אליהו הדס I believe the JVM version will work on Android. Though I did not try it either! 😛 Would you mind reporting whether it does, or if you encountered complications?
j
Related to that.....if you were able to run it on Android, can you also run a local MCP server there as well? (using for example the Kotlin MCP SDK)?
🙂 1
v
Koog works for Android with JVM target. Also we are working on adding a separate android target and local LLMs for Android. It’s planned to become available in 0.3.0 in ~2 weeks
👍 3
❤️ 2
p
I tested it on Android yesterday and worked 100% fine.
🎉 3
a
Hi, there’s also a simple demo android app in
examples
that demonstrates how Koog can be used in the Android app. https://github.com/JetBrains/koog/tree/main/examples/demo-android-app
🤩 1
🙏 1
true 1
u
Thanks JB, your work is awesome !
❤️ 2
j
@Andrey Bragin I’m getting build errors for that project for some reason (using latest AS stable fwiw).....getting for example
Unresolved reference 'local'
for following in
CalculatorAgentProvider
. Is there some other initial setup needed?
Copy code
import ai.koog.agents.local.features.eventHandler.feature.handleEvents
a
Looks like it has to be updated properly to use the latest Koog version. I’ll take a look
I’ve fixed it and created a PR https://github.com/JetBrains/koog/pull/336 It should be merged in the
develop
soon, but you can already try the fixed version from this branch (
eugenethedev/fix-demo-app
)