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.

merge: resolve README conflict with origin/main (move Termux section after Highlights)

Gotcha Contributorf88c4e3489d3
diff --cc README.md
index b9cd788,8b963dd..bbddeae
--- a/README.md
+++ b/README.md
@@@ -72,37 -44,40 +44,56 @@@ Building from source instead? �
./gradlew installDebug
```
- Then open the app — it lands on Settings, because no model is configured yet.
- Fill in **API key**, **Base URL** (including `/v1/`), and **Model name**, and
- grant the permissions the app prompts for.
-
- Full setup, permission-by-permission notes, on-disk layout, and troubleshooting
- live in [`RUNNING.md`](RUNNING.md). For the test suite, see
- [`docs/RUNNING_TESTS.md`](docs/RUNNING_TESTS.md).
+ The app opens on Settings — fill in **API key**, **Base URL** (including `/v1/`), and **Model name**, grant the prompted permissions, and you're live. Full setup notes live in [`RUNNING.md`](docs/RUNNING.md).
- ## Safety
+ ## 🌟 Highlights
- Gotcha drives a real device through the accessibility service and, in Operator
- mode, can send messages, place calls, delete data, and run shell commands. An
- LLM planning those actions will sometimes get them wrong.
+ * **🧰 100+ device-control tools** — calls, SMS, contacts, calendar, alarms, files, terminal, location, apps, clipboard, camera, screen automation, notifications, device admin, and root. → [Tool Catalog](https://samosa-ai.com/gotcha/docs/tool-catalog)
+ * **🎭 Two copilot modes** — read-only **Monitor** (*inspect & plan*, 30 tools) and full-access **Operator** (*execute & automate*). Switch any time, even mid-conversation. → [Copilot Modes](https://samosa-ai.com/gotcha/docs/agent-modes)
+ * **🔮 The Assistive Ball** — a floating bubble that rides over every app, hosting push-to-talk voice calls with the full copilot. → [Assistive Ball](https://samosa-ai.com/gotcha/docs/assistive-ball)
+ * **🔍 Screen Lens & Companion** — circle anything on screen to copy, translate, or ask about it; get one-tap offers when an address, price, or date appears. Text extraction runs on-device.
+ * **🛡️ Safety by design** — capability tiers, up-front permissions, a hard confirmation gate on sensitive actions, a command deny-list, and an append-only audit log. → [Safety & Permissions](https://samosa-ai.com/gotcha/docs/safety-permissions)
+ * **🏠 Local & cloud AI** — any OpenAI-compatible `/chat/completions` endpoint with tool calling, or Samosa AI for free starter credits.
+ * **⚡ Skills** — bundled operational guidance for specific apps, injected automatically when that app is in front. → [Skill Hub](https://samosa-ai.com/gotcha/hub)
+ * **🎙️ Voice & vision** — selectable TTS/STT providers, plus screenshot understanding for multimodal models.
- - Start in **Monitor** mode.
- - Prefer a spare device or an emulator while evaluating.
- - API keys are stored in `EncryptedSharedPreferences` and are never logged, but
- screen contents are sent to whichever model provider you configure.
++## 🐧 Termux (Linux shell)
+
- ## Development
-
- ```bash
- ./gradlew testDebugUnitTest # JVM unit tests
- ./gradlew detekt lintDebug # static analysis — no baselines, everything must pass
- ./gradlew assembleDebug
- ```
-
- The unit tests shell out to a POSIX `sh`, so run them from Linux, macOS, or Git
- Bash. CI (`.github/workflows/ci.yml`) is disabled by default to conserve Actions
- budget and can be run manually from the Actions tab.
-
- ## License
++Termux (the F-Droid or GitHub build) gives Gotcha a real Linux user-space
++on Android and is reached through the `run_termux_command` tool, which
++runs headlessly under Termux's user id. It is genuinely useful for
++package installs, scripts, compilers, Python, git, and the rest of the
++long Unix tail — but it is not a server. There is no root, no systemd,
++no kernel access, and no persistence between shell calls. Long-running
++processes must be backgrounded explicitly; large packages may need a
++mirror change on slow networks. The bundled `termux_*` skills
++(`termux_operations`, `termux_repositories`, `termux_filesystem`,
++`termux_background`, `termux_proot`) enumerate the realistic limits; ask
++the assistant to `search_skills` for `termux_operations` if anything is
++unclear. See [`docs/termux-setup.md`](docs/termux-setup.md) for the
++one-time setup walkthrough.
+
- [GNU Affero General Public License v3.0](LICENSE) — Copyright © 2026 Samosa AI.
+ ## 📚 Documentation
+
+ * 🚀 [**Getting Started**](https://samosa-ai.com/gotcha/docs/getting-started) — install, configure a model, grant permissions.
+ * 🎭 [**Copilot Modes**](https://samosa-ai.com/gotcha/docs/agent-modes) — Monitor vs Operator, and what each can touch.
+ * 🧰 [**Tool Catalog**](https://samosa-ai.com/gotcha/docs/tool-catalog) — every tool, grouped by capability.
+ * 🏗️ [**Architecture**](https://samosa-ai.com/gotcha/docs/architecture) — how the copilot loop, tools, and services fit together.
+ * 🛡️ [**Safety & Permissions**](https://samosa-ai.com/gotcha/docs/safety-permissions) — capability tiers, confirmation gates, audit log.
+ * ❓ [**FAQ & Known Limitations**](https://samosa-ai.com/gotcha/docs/faq) — backend compatibility and rough edges.
+ * ✅ [**Feature Test Coverage**](docs/FEATURE_TEST_COVERAGE.md) — every tool and how it's verified.
+
+ ## 🤝 Project & Community
+
+ * 💬 [**Discord**](https://discord.com/invite/rsgXSpcWNq) — chat with the team and other users, share skills, and get help in real time.
+ * 🗣️ [**GitHub Discussions**](https://github.com/orgs/samosa-ai-com/discussions) — feature ideas, Q&A, and longer-form conversations that outlive a chat message.
+ * 💡 [**Contributing**](CONTRIBUTING.md) — branching strategy, how to add a tool, and the checks to run before a PR:
+ ```bash
+ ./gradlew testDebugUnitTest # JVM unit tests (needs a POSIX sh)
+ ./gradlew detekt lintDebug # static analysis — no baselines, everything must pass
+ ```
+ * 🛡️ [**Security Policy**](SECURITY.md) — how we handle vulnerabilities and where to report them privately.
+ * ⚖️ [**License**](LICENSE) — released under AGPL-3.0. Copyright © 2026 Samosa AI.
+
+ > [!WARNING]
+ > **Use Gotcha responsibly and at your own risk.** It is driven by LLMs acting autonomously across powerful Android APIs. Models can hallucinate, misread instructions, or fire unexpected tool calls — which can mean data loss or unwanted configuration changes. Start in **Monitor** mode, prefer a spare device or emulator while evaluating, grant permissions carefully, and keep backups. We assume no liability for any loss or damage incurred through use of Gotcha.