# Repository Briefing: DIYgod/pinky
> Source: https://repoforai.com/repo/DIYgod/pinky (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/DIYgod/pinky
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Go
- **License**: Apache-2.0
- **Engineering Health**: A+ (93/100 · Maintenance 35/35 · Adoption 18/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2026.1204.4 (2026-12-04) — https://github.com/DIYgod/pinky/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, MCP
- **Momentum**: 3,021 ★ total (+24 24h / +194 7d) · 320 forks
- **Topics**: `ai-agent`, `android`, `claude-code`, `ios`, `iphone`, `mcp`, `mcp-server`, `phone-automation`
- **When to Use**: Best for: Teams or individuals who want an existing MCP agent or Pinky's built-in agent to work on real phones while an operator watches, approves selected actions and takes over as needed. Skip if: You primarily need deterministic regression tests, cannot enable device debugging or install the required iOS tooling, or need offline inference but cannot provide a local model host.

## Overview
```text
### Architecture & Core Mechanics
Pinky separates task planning from device control. Claude Code, Codex or another MCP client can direct a task from the same computer or over HTTP. Pinky handles device actions and enforces approvals at the gateway rather than relying on the agent to follow a prompt. Its built-in agent can also run tasks from the desktop or from the phone app without a computer.

The desktop stack is Go: go.mod lists the Go MCP SDK, MyGo for the GPU-rendered native window, and go-ios for iOS integration. The source tree includes cmd/, internal/, ui/, android/ and ios/. Android control uses adb, either bundled or already installed, with an optional phone companion for faster screen reading and multilingual text entry. iOS control varies with the OS release: older versions use USB WebDriverAgent, while iOS 17.4–26 uses a signed phone app that hosts WebDriverAgent.

### Key Capabilities & Differentiators
Pinky controls real devices running Android 10–17 or iOS 16 and later. Android Studio emulators and Xcode simulators are also options. The desktop shows the run as it happens, lets the operator take over and supports reviewing what happened afterward. Payments require approval by default; another setting also gates messages and deletions. Supported iPhones can switch from USB to Wi-Fi and back, with agent calls waiting briefly through the handoff.

Pinky's built-in agent accepts typed, spoken or shared tasks on the phone. Model choices include DeepSeek, Qwen, Kimi, GLM, Claude, GPT and Gemini, as well as local models served through Ollama or LM Studio. Android can work on a hidden background screen. Desktop and Android support schedules and condition-based notifications, and suggested memory notes are saved only after confirmation.

### Trade-offs & Limitations
Compared with scripting adb or WebDriverAgent directly, Pinky adds cross-platform agent integration, live supervision and a shared approval policy. That's useful for open-ended tasks, but less compelling for a repeatable test suite where explicit selectors and assertions matter more. The gateway can enforce a policy only if it classifies the action correctly; the recent fixes for keyboard visibility and distinguishing search from message composition illustrate where UI interpretation matters.

The desktop is relatively lightweight: downloads are 16–22 MB and idle memory is about 70 MB on a Mac. That does not include model inference. Self-hosting Pinky keeps the control layer on your own system, but choosing a hosted model can still send task or screen context to a provider. Local inference shifts that compute to your own model host, with resource needs determined by the model and concurrency. On a mixed fleet, device provisioning, especially iOS signing and developer-image compatibility, is a separate operational cost.

### Hardware & Deployment Guide
Install the desktop release on macOS 13+ (Apple silicon or Intel), Windows 10/11 x64, or Linux x86-64 with glibc 2.29+ and GTK 3. Packaging includes a DMG or Homebrew cask, a Windows installer or portable ZIP, and a Linux DEB or tarball. Windows installers are unsigned. Android setup requires debugging authorization; USB may also require a vendor driver on Windows or udev rules on Linux.

For iPhone, plan for USB trust, Developer Mode where required, and a compatible Apple developer disk image. Windows needs Apple Devices or iTunes, and Linux needs usbmuxd. For iOS 17.4–26, a Mac with Xcode and an Apple ID is needed to build and sign the companion. For iOS 27+, desktop control needs no companion but still needs a compatible developer image. If Pinky offers a third-party image mirror, downloading is opt-in and files are checksum-checked. Release v2026.1204.4 improved handling of a developer image already mounted by another tool; the two preceding releases refined iPhone keyboard recognition and read-only WeChat search handling.
```

## Key Capabilities
```text
- Approval boundary: Pinky enforces approvals at the device gateway; payment approval is on by default, with an option to also gate messages and deletions.
- Agent integration: The Go MCP SDK supports same-host or HTTP access for clients such as Claude Code, Claude Desktop, Codex and Cursor.
- Desktop footprint: MyGo renders the native UI without Electron or a webview; downloads are 16–22 MB, with roughly 70 MB idle memory observed on a Mac.
- Android connectivity: Pinky ships adb, can use existing platform tools, and checks device identity on Wi-Fi reconnection.
- iOS compatibility: iOS 16–17.3 uses USB WebDriverAgent; iOS 17.4–26 uses a signed companion; iOS 27+ needs no companion for desktop control.
- Standalone execution: The phone app accepts typed, spoken or shared tasks; Android also supports background-screen operation and scheduled tasks.
```

## Quick Start / Clone
```bash
{ "mcpServers": { "pinky": { "command": "pinkyctl", "args": ["mcp"] } } }
```
