kilolonion/agent-vscreen
An Android virtual display for agents that operate apps without taking over the main screen
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Agent-VScreen is a Kotlin Android execution layer, not a model host. It opens target apps on a separate virtual display and executes taps, swipes, text entry, and key presses there. Shizuku or root supplies the privileges for device control; read-only accessibility and on-device OCR supply observations. A floating preview gives the phone owner visibility into the virtual display without moving the target app onto the main screen.
The agent can run on the handset or elsewhere and connects through the vscreen CLI, MCP, or plain HTTP. This separates model selection from Android execution. The source tree includes the Android app/, element-detector/, and optional tunnel components under tsbridge/ and cloudflared/. Local mode binds the HTTP endpoint to loopback, so off-device control requires a separately configured route.
Key Capabilities & Differentiators
Screen observation combines read-only accessibility with PP-OCRv6 or ML Kit OCR. Agents can inspect changes and transient pop-ups between turns, zoom or replay observations, collect paginated content, and set background watches. Stable v2.0.2 lets callers choose paste, key events, or accessibility for text entry. It also adds import and export for demonstrations, scripts, notes, and habits, with a preview of naming conflicts before import.
The phone owner can hold the floating preview for 0.5 seconds to take over, stop execution in one tap, answer a pointing question via ask, record a demonstration via teach, or handle a password or code on the main screen via handoff. Separate agent tokens and permission profiles support read-only access and app-level blocks. Payments and other high-risk actions require biometric or PIN confirmation on the phone.
Trade-offs & Limitations
The main reason to choose this over main-display ADB or accessibility automation is that an agent and a person can use different displays on the same handset. The cost is privileged setup, more OEM-specific behavior to validate, and an active display and app workload on the phone even though model inference happens outside Agent-VScreen. Some OEM builds can drop virtual-display touches when the main display is off despite reporting that the virtual display is interactive. The v2.0.2 cycle added detection and fallback to accessibility or waking the main display when needed; unattended operation still warrants a test on the exact device and ROM.
Use loopback or a private route when public connectivity is unnecessary. An agent token grants access to real apps, and screen observations can include sensitive content. Since tokens are permanent by default, prefer an expiry for trials and use app restrictions and minimal permissions. If the job is deterministic regression testing rather than supervised use on a shared handset, a dedicated Android UI test harness is a better fit.
Hardware & Deployment Guide
The stable APK targets arm64 phones running Android 11 or later; Android 14 or later is recommended. Verify the signing certificate before installation. Start Shizuku or a compatible provider and authorize it, or approve root instead. Shizuku must be restarted after reboot. Enable overlay, notifications, read-only accessibility, and battery exemption, then check OEM auto-start and background restrictions. Pair locally first, then add a private route if needed. Experimental public MCP uses OAuth 2.1 with on-phone approval, never exposes system, and closes after 24 hours without authenticated requests.
Source builds require JDK 21, Android compileSdk 37, and ./gradlew :app:assembleRelease. To bundle the tunnel components, run ./tsbridge/build.sh and ./cloudflared/build.sh first. Stable v2.0.2 closes the virtual display and its apps roughly 20 seconds after use in on-demand mode, then stops the service. The v2.0.3-beta1 prerelease changes thermal protection to prioritize system thermal signals, require sustained conditions for most thresholds, and resume automatically after cooldown.
handoff to enter credentials on the main screen.127.0.0.1:18765; private remote access includes Tailscale with Headscale support, while public MCP is experimental and off by default.type "text" paste|keys|a11y to select the input method and type+ to append.Supervised Android app automation on a shared handset, with private agent access and a human available to take over or confirm sensitive steps.
You cannot grant Shizuku or root privileges, need proven unattended screen-off input across untested OEM builds, or primarily need a deterministic regression test runner.
Quick Start & Installation
apksigner verify --print-certs downloaded.apkComparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agent-vscreen ★ | 216 | +28 | Kotlin | MIT | An Android virtual display for agents that operate apps without taking over the |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| TrendRadar | 64.1k | +181 | TypeScript | GPL-3.0 | Self-hosted trend monitor for ranked news, RSS, and web search, with MCP and ale |
| gpt-researcher | 31.1k | +92 | Python | Apache-2.0 | Planner–executor agent for cited research across the web and local documents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/kilolonion/agent-vscreen.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agent-vscreen
How do I connect an existing agent, and where does it run?
vscreen CLI, or MCP for an agent running on the phone. For an agent on another machine, pair it over a private route such as Tailscale and issue a separate token with only the permissions it needs. The agent interprets observations and chooses actions; the Android app executes those actions on the virtual display.Does the phone need a GPU or dedicated VRAM?
Can a company self-host or redistribute it?
When is it a better fit than ADB or an Android UI test harness?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy