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 README for clarity and improved structure

Durganshu Mishraf422fd775d40
diff --git a/README.md b/README.md
index 388d64f..8d728cd 100644
--- a/README.md
+++ b/README.md
@@ -1,92 +1,69 @@
-# Gotcha
+<div align="center">
-An Android assistant that actually operates the phone. You describe a task in
-chat; an LLM plans it and carries it out through a catalog of on-device tools —
-reading the screen via the accessibility service, tapping and typing, opening
-apps and settings, managing files, alarms, media, mail and calendar.
+# 📱 Gotcha
-Gotcha talks to **any OpenAI-compatible `/chat/completions` endpoint**, so it
-runs against OpenAI, OpenRouter, Groq, or a model served locally by
-llama.cpp / LM Studio / Ollama.
+### Say it. Gotcha does it.
-> **Status:** early (`versionName 1.0.0`). Expect rough edges, and read the
-> safety notes below before pointing it at a phone you care about.
+**A fully on-device AI agent for Android that turns natural language into real device actions.**
-## What it can do
+[![Website](https://img.shields.io/badge/Website-samosa--ai.com%2Fgotcha-6E56CF?style=for-the-badge)](https://samosa-ai.com/gotcha)
+[![Docs](https://img.shields.io/badge/Docs-Read%20the%20guide-0EA5E9?style=for-the-badge)](https://samosa-ai.com/gotcha/docs)
+[![Release](https://img.shields.io/github/v/release/samosa-ai-com/Gotcha?style=for-the-badge&color=22C55E)](https://github.com/samosa-ai-com/Gotcha/releases/latest)
+[![License](https://img.shields.io/badge/License-AGPL--3.0-F59E0B?style=for-the-badge)](LICENSE)
-101 tools are catalogued and classified. A sample:
+`Android 11+` · `Bring your own model` · `No PC, no server, no ADB tether`
-| Area | Tools |
-|---|---|
-| Screen control | `read_screen`, `tap`, `swipe`, `input_text`, `press_key`, `global_action`, `navigate_app` |
-| Apps & settings | `open_app`, `open_setting` |
-| Files | `read_file`, `write_file`, `edit`, `list_files`, `glob`, `grep`, `run_command` |
-| Communication | `send_email`, `compose_email`, `send_sms`, `dial_number`, `call_number` |
-| Calendar & tasks | `create_calendar_event`, `edit_calendar_event`, `create_task`, `complete_task` |
-| Device | alarms, timers, media control, camera and audio capture, screenshots |
-| Connectors | Google, Microsoft Graph, Notion, generic IMAP |
+</div>
-The full table — every tool, its test tier, and how it is verified — is
-generated from a manifest into [`docs/FEATURE_TEST_COVERAGE.md`](docs/FEATURE_TEST_COVERAGE.md).
+---
-### Monitor vs Operator
+Most AI projects talk — **Gotcha acts**. 🤖
-Two agent modes, switchable mid-conversation:
+Say *"text mom I'm running late"*, *"free up some space"*, or *"what's on my screen?"*. An LLM reads your request plus live device context, picks from **100+ purpose-built Android tools**, executes real actions, and reports back — by text or by voice. 🗣️
-- **Monitor** — read-only. Inspects, lists, and reads; cannot create, modify, or
- delete. Safe for exploration.
-- **Operator** — full permissions, including accessibility automation, SMS,
- calls, deletion, and root commands.
+Everything runs in **one self-contained app on your phone**. Bring your own API key (OpenAI, OpenRouter, Groq, or a local llama.cpp / LM Studio / Ollama server) — it's encrypted on-device and never synced — or sign in to Samosa AI and skip the key entirely. 🔑
-Sensitive actions — dialling, writing files, running commands, and similar —
-additionally pop an Allow/Deny prompt before they run. That gate can be turned
-off in Settings.
+## 🏁 Getting Started
-## Requirements
+Grab the latest `.apk` from [**GitHub Releases**](https://github.com/samosa-ai-com/Gotcha/releases/latest), then follow the **[Getting Started Guide](https://samosa-ai.com/gotcha/docs/getting-started)**. 🛠️
-| | |
-|---|---|
-| Device | Android 11 (API 30) or newer — phone or emulator |
-| Build | Android Studio Hedgehog+, JDK 17, Android SDK Platform 34 |
-| LLM | An API key for any OpenAI-compatible endpoint |
-
-## Quick start
+Building from source instead? 👇
```bash
./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).
-
-## Safety
+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`](RUNNING.md).
-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.
+## 🌟 Highlights
-- 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.
+* **🧰 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 agent modes** — read-only **Monitor** (*inspect & plan*, 30 tools) and full-access **Operator** (*execute & automate*). Switch any time, even mid-conversation. → [Agent 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 agent. → [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.
-## Development
+## 📚 Documentation
-```bash
-./gradlew testDebugUnitTest # JVM unit tests
-./gradlew detekt lintDebug # static analysis — no baselines, everything must pass
-./gradlew assembleDebug
-```
+* 🚀 [**Getting Started**](https://samosa-ai.com/gotcha/docs/getting-started) — install, configure a model, grant permissions.
+* 🎭 [**Agent 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 agent 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.
-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.
+## 🤝 Project & Community
-## License
+* 💡 **Contributing** — [open an issue](https://github.com/samosa-ai-com/Gotcha/issues) or send a PR. Dev commands:
+ ```bash
+ ./gradlew testDebugUnitTest # JVM unit tests (needs a POSIX sh)
+ ./gradlew detekt lintDebug # static analysis — no baselines, everything must pass
+ ```
+* ⚖️ [**License**](LICENSE) — released under AGPL-3.0. Copyright © 2026 Samosa AI.
-[GNU Affero General Public License v3.0](LICENSE) — 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.