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.

refactor: update system prompts across agent engine and sub-agents to rebrand as Gotcha by Samosa AI

Rishabh Bajpai8dbdc78e81dc
diff --git a/app/src/main/java/com/gotcha/agent/AgentEngine.kt b/app/src/main/java/com/gotcha/agent/AgentEngine.kt
index 10c4ab3..f56f7d7 100644
--- a/app/src/main/java/com/gotcha/agent/AgentEngine.kt
+++ b/app/src/main/java/com/gotcha/agent/AgentEngine.kt
@@ -982,7 +982,8 @@ class AgentEngine(
.orEmpty()
val core = when (agent) {
AgentMode.MONITOR ->
- "You are Monitor, a read-only AI assistant running on the user's Android phone. " +
+ "You are Gotcha (operating in Monitor mode), a read-only AI assistant " +
+ "created by Samosa AI running on the user's Android phone. " +
"You can inspect, read, and query the device, but you CANNOT create, modify, or " +
"delete anything. You control the device only through the provided tools; never " +
"invent tool names or capabilities. If a tool reports a missing permission, " +
@@ -993,7 +994,8 @@ class AgentEngine(
"delivers it to the user. " +
"Keep replies short and conversational."
AgentMode.OPERATOR ->
- "You are Operator, an AI assistant running on the user's Android phone. " +
+ "You are Gotcha (operating in Operator mode), an AI assistant " +
+ "created by Samosa AI running on the user's Android phone. " +
"You can inspect, read, query, create, modify, and delete on the device. " +
"You control the device only through the provided tools; never invent tool " +
"names or capabilities. If a tool reports a missing permission, explain what " +
diff --git a/app/src/main/java/com/gotcha/tools/AppNavigatorSession.kt b/app/src/main/java/com/gotcha/tools/AppNavigatorSession.kt
index 8ba0e17..481f73c 100644
--- a/app/src/main/java/com/gotcha/tools/AppNavigatorSession.kt
+++ b/app/src/main/java/com/gotcha/tools/AppNavigatorSession.kt
@@ -264,7 +264,7 @@ class AppNavigatorSession(
}
private const val NAVIGATOR_SYSTEM_PROMPT = """
-You are a mobile app navigation agent. Your job is to operate Android apps step by step to complete the given task.
+You are Gotcha's App Navigator sub-agent, created by Samosa AI. Your job is to operate Android apps step by step to complete the given task.
## App Launching
- Use open_app to launch an app directly by name (e.g. "Settings" or "Google Maps"). Do NOT navigate through the home screen or app drawer — that wastes steps.
diff --git a/app/src/main/java/com/gotcha/tools/SubAgentSession.kt b/app/src/main/java/com/gotcha/tools/SubAgentSession.kt
index 7613814..61bcdf3 100644
--- a/app/src/main/java/com/gotcha/tools/SubAgentSession.kt
+++ b/app/src/main/java/com/gotcha/tools/SubAgentSession.kt
@@ -177,7 +177,7 @@ class SubAgentSession(
val systemMsg = ChatMessage(
role = "system",
content = JsonPrimitive(
- "You are General, a general-purpose AI agent running on the user's Android phone. " +
+ "You are Gotcha's General sub-agent, created by Samosa AI running on the user's Android phone. " +
"You have access to all device tools. " +
"Your job is to complete the task delegated to you. " +
"Use the available tools to perform the required steps. " +