r/tasker • • 15h ago

Tasker 6.8.0-beta: AI Helper Overlay - Who needs UI? 😇

30 Upvotes

I've been working on this ever since I released 6.7 almost a month ago, and not it's finally ready to share publicly.

u/Rich_D_sr once asked me if I could make the Scenes V2 AI helper more conversational, instead of just changing stuff with no feedback, and that inspired me to create this, but for ALL of Tasker! 😁

Note: Google Play might take a while to update. If you don't want to wait for the Google Play update, get it right away here. (Direct purchase version here, App Factory here).

AI Helper Overlay

Demo: https://youtu.be/FSgekUeBXao

The helper on top of the regular Tasker UI

Remember the AI assistant that Tasker had (yes, had, because this new helper will completely replace it)?

It was kinda clunky, super slow, needed a HUGE amount of Tasker related data to work, manually generated XML that you would then import manually... It was a bit cumbersome.

The new overlay is a completely revamped experience: it works on top of the regular UI (it works on the legacy and the new UI) and just sits there as a bubble ready to be pulled up whenever you want.

The AI Helper bubble floating on top of the UI

The bubble is omnipresent, as long as you're inside a Tasker screen. Under the hood. it now asks for data on demand instead of all of it in one go, so it's much faster and cheaper!

Permission System

If you give it permission, the AI Helper can know what projects/profiles/tasks you have configured, can read and edit them and help you out however you need.

Easily Find Your Stuff

For example (and I hadn't even thought of this before today, when I needed it) you can quickly ask it something like open the project where the X task is. You can also ask it to show profile Y or open Task Z etc.

Ask It About Your Stuff And Ask It To Change It

When inside a task you can ask it like what does this do? or can you find the bug for me or stop the task if α ends in error, etc. Basically, it can read and edit your tasks!

Profiles too by the way! It knows about all events, states and other contexts like App, Location, Time, etc, so it can use them freely.

It also knows about Global Variables, Profile and Task Settings, it can open tasks and projects to show you while it's working on them, and much more!

Oh, and it also integrates the Java Code AI helper, so you can simply ask it tp create Java actions and it knows how to do it!

Scenes V2

It even knows how to build Scenes V2! And the best part is, since it knows about both Tasks and Scenes V2 you can now very easily build tasks that drive the scenes! For example, you can build a task that creates an array that then creates a scene with a list based on that array! That wasn't possible at all with the previous Scenes V2 AI Helper!

Input Picker

And when it needs a piece of context from you, it'll ask you! For example, if you say When I'm on my home wifi, set media volume to 1 it will ask you to pick the Wifi network from a list!

Asking for your Home Wifi network

Undo/Redo

If the AI Helper messes something up, you have a totally new Undo/Redo system that can take back any changes so you're sure you never lose anything.

AI Providers

The AI Helper supports 3 built-in providers for now:

  • Claude
  • ChatGPT
  • Gemini

You can also add a Custom Provider if it uses the same protocol as one of these 3, so you can basically use any provider you want.

Important Note: everything the AI Helper reads will be sent to the providers' servers, so be aware of that.

Great for Everyone

In my opinion the AI Helper can be of great value for both beginners and pros:

  • for beginners it can help you learn how to do stuff and allows people to get started without knowing the ins and outs of Tasker. After the AI builds something, beginners can see what was done and learn from it
  • for pros that know exactly what they want, they can simply describe their specs in detail and don't have to go through the harduous process of clicking, dragging, moving, the UI around. You still can get it working exactly the way you want it, but it's much easier to navigate!

Next Steps

There's still a few things the AI can't do like select icons or use project/profile/task variables, but I'll work on that next 🙂

Also, I now have a good foundation for how the AI can interact with Tasker, know about your stuff, etc, so now it should be fairly simple (ish) to build an MCP server on top of this so that you can build stuff from your PC for example!

Remember, this is a beta, and I'm the only one that ever tested it, so be ready for some stuff to not work right away.

Let me know what you think about this new AI helper. Enjoy! 😎

Full Changelog

  • Major - Added the AI Helper: a floating bubble available from Tasker's screens that knows which screen you're on and what's selected (including in the Scenes V2 editor), and can read and change your Tasker setup for you
  • Medium - Scenes V2: Added gradient option for button color
  • Medium - Scenes V2: removed the AI tab (replaced by the omnipresent AI Helper) and added an "AI Helper" item in the FAB
  • Fix Scenes V2: fix issues related to non ASCII characters in some situations
  • Fix Scenes V2: fixed an issue with Global Variable sync in some situations
  • Fix Scenes V2: fixed empty scenes not showing actually empty but still showing the last frame before they were empty
  • Fix Scenes V2: fixed global variables not correctly syncing from states
  • Fix Scenes V2: fixed only running auto focus on an input if it's not hidden
  • Fix Scenes V2: fixed showing the keyboard making some parts of the Scenes being hidden in some situations
  • Fix Scenes V2: prevent crash if setting max line number to 0
  • Medium - Allow Java variables to be tested with "Is Set" and "Is Not Set" in if conditions
  • Medium - Java Code: allow easily getting Material Symbols and built in Tasker res icons
  • Minor - Java Code: changed it so getMaterialSymbol returns a Drawable that adjusts to its container size so you don't have to specify a width or height
  • Minor - Java Code: updated instructions to handle final fields correctly
  • Fix Java Code: fixed memory leak issue that happened in rare situations
  • Medium - Added many types to Pick Input Dialog action. These types correspond to the helpers that many Tasker actions use to pick their values
  • Medium - Device Admin/Owner action: Permission field now accepts several permissions separated by commas
  • Medium - Made Wifi Changed event's State picker allow picking several states at once
  • Medium - Task names now follow the same rule everywhere (case matters, names with variables are refused), and more places are checked before removing a task's name or deleting it
  • Medium - Tried to make Wifi Connect work with Shizuku if possible
  • Minor - "Notification Click" event no longer asks for the Accessibility Service when the Owner Application is only Tasker
  • Minor - App Factory: check if Tasker is the correct version by build time, not by version name
  • Minor - Made Help viewer able to use dynamic Tasker colors in its help files
  • Minor - New UI Task Editor: use Material You Theme
  • Minor - When using GetCurrentAppAndActivity() Tasker function, ignore Tasker's activities
  • Fix Made pickers with an "Other" option (HTTP Response, GD Upload, HTTP Request event) not show an error when cancelled
  • Fix Make notifications show the icon on the left correctly like it happened before Android 17
  • Fix out of memory error caused by user's huge calendar entry list in some situations
  • Fix Tried to fix issue where "Get Assistant Info" action would sometimes not revert to the original assistant
  • Fix Tried to fix issue where Tasker could get overwhelmed with tasks after the system kills it and then brings it back
  • Fix Try to fix Wifi Tethering not turning off in some situations
  • Fixed "Sound Mode" so that it falls back to non-Shizuku if Shizuku is not available at the moment
  • Fixed a crash when leaving Tasker while a dialog with a very large amount of text was open (for example, a Text Dialog showing a big variable or a pasted Base64 image)
  • Fixed crash related to Google Play License checking
  • Fixed Edit Calendar Reminder method picker showing the wrong title
  • Fixed issue in German and Vietnamese where Material Symbols couldn't be used
  • Fixed issue where sometimes Tasker would report that it needs authorization when in reality it was only network issues
  • Fixed issue with the Restart Tasker action
  • Fixed memory issues that resulted from pushing and popping many array elements at once and that resulting in many events having to be processed by Tasker. Now it all happens in bulk, uses less memory and is much faster.
  • Fixed memory leak where recently finished tasks could stay in memory and add to out of memory crashes
  • Fixed memory leak where when a task calls itself recursively it could crash Tasker
  • Fixed Perform Task stopping the calling task with an error when the called task was rejected (for example, it was already running with Abort New collision handling), even with Continue Task After Error enabled
  • Fixed Pick Input Dialog sometimes picking a type that isn't a dialog type when added from a search
  • Fixed Tasker sometimes triggering the Location access dot on some devices unnecessarily
  • Fixed using material symbols in app factory apps
  • Fixed Wifi Changed event sometimes not triggering

r/tasker • • 4h ago

License IS valid...

Post image
2 Upvotes

...so why is Location locking me out? Help


r/tasker • • 22h ago

Is it possible to create a custom UI in a Samsung Watch 9 that allows for subtle background app usage without any windows showing up?

2 Upvotes

I am looking for solutions or suggestions.