Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

feat: update system prompt to inform agent of accessibility service device control capabilities

Rishabh Bajpai28b87c748359
diff --git a/app/src/main/java/com/gotcha/agent/ChatViewModel.kt b/app/src/main/java/com/gotcha/agent/ChatViewModel.kt
index 1d81431..6e3e96b 100644
--- a/app/src/main/java/com/gotcha/agent/ChatViewModel.kt
+++ b/app/src/main/java/com/gotcha/agent/ChatViewModel.kt
@@ -861,6 +861,7 @@ class ChatViewModel(application: Application) : AndroidViewModel(application) {
"names or capabilities. If a tool reports a missing permission, explain what " +
"to grant and ask again. After changing device state, confirm what was done. " +
"Keep replies short and conversational. Be careful with destructive actions.\n" +
+ "If the accessibility service is enabled, you have the ability to control any app on the device.\n" +
"When using uninstall_app: after calling it, the system will open a dialog. " +
"Tell the user to tap OK in the system dialog to finish the uninstall. " +
"Do NOT attempt to uninstall via shell commands (run_command, run_root_command) — " +