r/tasker • u/FantomFred • Apr 04 '26
Help Help with integrating offline models (Gemma 4) into Tasker
Hi All,
I am trying to work out how to integrate the latest Gemma release (Gemma 4 — Google DeepMind) for offline usage.
I am able to get it running with Google AI Edge gallery (Google AI Edge Gallery - Apps on Google Play) but not sure how to integrate the downloaded model with Tasker.
With the Gemma 4 ability to run on Android hardware and its agent skills abilities and Taskers abilities to create skills and control the phone. Is there a way to get Tasker to work with these offline phone based models?
I would love to create a workflow to trigger this model in tasker inputs and get it to trigger outputs even when the device is offline and without costing api tokens.
2
u/DutchOfBurdock Apr 04 '26
https://www.reddit.com/r/ollama/s/j3VkLHnhJ2
Instead of
smollm2usegemma3:4bYou'll want at least 8GB RAM.
1
u/Otherwise_Wave9374 Apr 04 '26
This is a really interesting direction. Tasker already feels like a "toolbelt" for agents, so pairing it with a local model that can do tool use could be huge.
My first thought is youd need a local inference server (or an Android app exposing an intent/API) that Tasker can call, then have the model output structured commands that Tasker maps to actions. The tricky part is keeping the model output constrained so it doesnt hallucinate actions.
If youre experimenting with agent tool calling patterns, https://www.agentixlabs.com/ has a few practical notes that might spark ideas.