ZOYKU火线榜

josssphzhou/poki技术文档

Let AI agents operate a real iPhone. Local MCP server and agent, no jailbreak, no extra hardware.

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/josssphzhou/poki.git

Poki icon

Poki uses your iPhone like you do

Poki website home page animation

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español
poki.bot

License: AGPL-3.0-only GitHub stars GitHub forks GitHub issues Poki App 0.4.0 Beta Platform: iOS, macOS and Windows

Poki is an app that operates your iPhone. It reads the screen, taps, types and scrolls in real apps. You choose how it asks for approval; payments, deletions and actions in Wallet always ask.

The Poki app runs on the iPhone itself. You give it a task in a chat, and it works in your other apps. You install it once from a Mac or a Windows PC, and after that it runs tasks on the iPhone without the computer.

See what changed in each version in CHANGELOG.md.

Install Poki on your iPhone

You need a computer once, to install Poki: a Mac or a Windows PC.

  • On a Mac, tell your agent to install Poki, or download Poki Setup for macOS and click through it.
  • On Windows, download Poki Setup for Windows and follow its window. Install Apple Devices or iTunes first, so the PC can find the iPhone over USB. Your agent can also run Poki Setup's own command line tool.
  • After that, Poki runs tasks on the iPhone without the computer. With a free Apple Account the signature lasts 7 days, and Poki Setup renews it while it stays open on the computer. See Common questions.

Tell your agent, such as Claude Code or Codex:

Install Poki on my iPhone from https://github.com/JosssphZhou/poki

The agent follows the install-poki skill and runs bin/install-iphone.mjs, which does every step it can by itself. You only do what iOS asks of you: type your Apple Account into a Poki Setup window on the Mac, tap Trust and turn on Developer Mode on the iPhone, trust the developer, and open Poki. When Poki first opens it asks for Automation Mode: tap Continue and enter the iPhone passcode. If you cancel, turn Poki on again to be asked again. The agent tells you each step in a sentence when it comes up. A free Apple Account works.

The installer uses the Alpha channel unless you ask your agent for another one, such as Beta. Alpha gets each build first and Beta gets the same build after more testing.

No Node.js 24, or on Windows? The same prompt works once Poki Setup is installed: the agent then uses the command line tool inside Poki Setup. Poki Setup's own menu also copies a prompt for your agent (Poki > Copy Prompt for Your Agent on a Mac, Settings > Use an agent on Windows).

If GitHub answers 403 or 429 while the installer reads Poki's releases, it is usually GitHub's hourly limit on anonymous requests, which everyone on your network shares. Switch to another network or proxy node and run it again, or wait an hour.

With Poki Setup

Prefer clicking through it yourself? Download Poki Setup for macOS (.dmg) or Windows (.exe, contributed by ZhehanZhang) from the Alpha release and follow its window. The Beta release carries the same Poki Setup files. Until you pick a channel in its Settings, Poki Setup installs the newest Stable release, or the Beta while there is no Stable release yet. What Poki Setup does, step by step, is in Poki Setup.

What you need

Requirement
iPhone iOS 18 or later, so iPhone XS, XR, SE (2nd generation) or newer. Poki has been tested on physical iPhones with iOS 27.
Computer A Mac with macOS 14 or later, or a Windows PC (x64) with Apple Devices or iTunes installed. The agent install on a Mac also needs Node.js 24 or later.
Cable and account A USB data cable and an Apple Account. With a free account the signature lasts 7 days, and Poki Setup can renew it for you.
Connection A VPN app on the iPhone that routes 10.7.0.1 back to the iPhone. The free LocalDevVPN from the App Store works, and so do Karing and Shadowrocket set up through Poki's instructions.
Model account Your own. Signing in with a ChatGPT Plus or Pro plan is the easiest start. You can also paste an API key from Anthropic, OpenAI, Gemini, DeepSeek or OpenRouter, or use your own OpenAI-compatible server. A Claude subscription cannot sign in, so use an Anthropic API key instead.

On iOS 27 and later Poki controls the iPhone through its native services. On iOS 18 to 26 it uses an XCTest session instead, which needs UI Automation turned on in the iPhone's Developer settings. The app also installs on iPad with iPadOS 18 or later.

Common questions

Can I install Poki from Windows? Yes. Poki Setup for Windows installs, pairs and renews Poki like the Mac version. Install Apple Devices or iTunes first so the PC can find the iPhone. See Poki Setup.

Do I still need the computer after installing? Not to run tasks: Poki works on the iPhone alone. With a free Apple Account, keep Poki Setup open on the computer so it can renew the signature each week, or sign in to your Apple Account in Poki so the iPhone renews itself (if sign-in fails, use Poki Setup on the computer). See What to keep running.

Does a free Apple Account work, and what is the 7-day limit? A free account works, but Apple signs apps from it for 7 days only. While it is open, Poki Setup renews Poki every 6 hours once 2 days or fewer are left, as long as the computer is awake and the iPhone is reachable. Without a renewal, Poki stops opening when the signature ends, so it warns you in its last 2 days. See No paid developer account.

Which iPhone and iOS do I need? iOS 18 or later, so iPhone XS, XR, SE (2nd generation) or newer, and iPad with iPadOS 18 or later. Physical testing so far has been on iOS 27; iOS 18 to 26 use a different control path that has not been tested on a physical iPhone yet. See Verification and known limits.

Do I need my own model account? Yes. Sign in with a ChatGPT Plus or Pro plan, or paste an API key from Anthropic, OpenAI, Gemini, DeepSeek or OpenRouter, or use your own OpenAI-compatible server. Talking with Poki also needs a voice model key. See What you need.

No update shows up, for example on a network in mainland China. What now? Poki looks for updates on GitHub, and some networks cannot reach it or hit GitHub's 403 and 429 limits. Try another network or proxy node, or update from the computer with Renew in Poki Setup. See Update Poki.

Will Poki change things on my iPhone, and does it ask first? Poki works in your real apps and does what you ask, including sending messages, and the screen contents go to the model service you set up. Payments, deletions and actions in Wallet always need your confirmation. For other sensitive steps, such as sending a message or typing a password, you choose in Settings > Approvals how Poki asks, or whether it asks. See Known issues.

Update Poki

  • On the iPhone. Open Poki's signing and updates page: Settings > Connection > Signing & Updates in 0.4.0. When a newer build is out, the page offers to download and install it. If it asks you to sign in first, Poki was installed from a computer and the iPhone does not have your Apple Account yet. Sign in with the account you installed with, or update from the computer instead.
  • From the computer. Renew in Poki Setup installs the newest build on its channel over the installed app. On a Mac you can also tell your agent "Update Poki on my iPhone"; the install-poki skill has a separate update path that checks the installed version and signing identity first.
  • If an update stops at "Finishing the update", swipe Poki away in the app switcher and open it again, then check the version in Settings. If the version did not change, update from Poki Setup on the computer. Do not delete Poki to fix an update: deleting it deletes its conversations.

The release channels and how a build moves from Alpha to Beta are in Release channels.

Known issues

  • Poki operates your real iPhone. If you ask it to send messages or make payments, it will. Screen contents are sent to the model service you set up.
  • If you cannot sign in to your Apple Account on the iPhone, renew and update from Poki Setup on the computer.
  • Physical iPhone support has been verified only on iPhones using the Chinese interface, in portrait orientation. Landscape is not supported.
  • This release has not been tested on a physical iPhone below iOS 27, or on an iPad. On older and smaller iPhones, the three-dimensional bear and the home page animations may run warmer or slower. Low Power Mode and Reduce Motion show a still picture of the bear instead.
  • With a free Apple Account the signature lasts 7 days. Keep Poki Setup on the computer able to reach the iPhone, or renew by hand before it expires.
  • Reading Poki's releases from GitHub can fail with 403 or 429, usually because many people share one network. Switch network or proxy node and try again, or wait an hour.

More limits, with test results, are in Verification and known limits.

Try a task

Open Poki and type a task in the message field, such as "Check tomorrow's weather and tell me if I need an umbrella", or tap one of the apps on the home page to start a task in it. Poki works in the app on your screen, shows each step in the Dynamic Island and on the Lock Screen, and asks for approval according to your settings.

You can also call Poki without opening it: press and hold the Action Button to talk to it, or use Talk to Poki and Send Task to Poki from Shortcuts and Siri. A task sent that way replies with a notification.

Note: Poki controls your real iPhone. If you ask it to send messages or make payments, it will.

Roadmap

This lists directions, not dates. Released features are documented in CHANGELOG.md.

Released in 0.4.0 Beta

  • The iPhone app runs tasks without the computer after setup, with approvals on the Lock Screen and in the Dynamic Island.
  • Install with your agent or Poki Setup on a Mac or Windows PC, using a free Apple Account.
  • Native control on iOS 27 and later, plus web tasks in Poki's built-in browser.
  • A new home page with the three-dimensional bear, voice conversations, the Action Button, archived conversations and dark mode.

In progress

  • A more reliable download source for updates, with GitHub as a backup.
  • One update channel in place of several.
  • The interface in more languages.

Planned

  • More iPhones, iOS versions and screen languages verified on real devices.
  • More model providers.

Docs

Topic Read
What changed in each version CHANGELOG.md
Installing the iPhone app with an agent install-poki skill
Poki Setup for Mac and Windows Poki Setup
Release channels and how builds are promoted Release channels
Test results, known limits, and disclaimers Verification
Roadmap Roadmap

Star History

Star History chart

Co-creator

ZhehanZhang
ZhehanZhang

The great co-creator of Poki.

Core contributors

makirqi-alt
makirqi-alt

Filed Poki's first issue, #1, on iOS 18.6.2: screenshots worked, accessibility and touch did not, and the clear split made it easy to follow.
edge369
edge369

Made Poki run on a router in #14, so Telegram can drive the iPhone with the Mac powered off; #15, #17 and #19 followed.
mawenhao1028
mawenhao1028

Reported in #6 that usbmuxd listed no iPhone on macOS 27.2; Poki now says so plainly and why a helper stops early (#59).
igc110
igc110

Found why taps on a physical iPhone were slow in #10; the fix that followed made them about a third faster.
carrotciallo
carrotciallo

Ported Poki to Linux and tested it on a physical iPhone over USB, LAN and Tailscale in #16; the README now points to it.
guangtouge82
guangtouge82

Traced failing touches on a physical iPhone to a missing display service in #18; Poki now says nothing was sent and points to prepare-device.
Dreaminmaster
Dreaminmaster

Fixed a corrupt cached route that aborted unrelated Agent tasks (#21, #22), then let the Agent reuse its post-action screen read in #37.
PeterKingXu1s
PeterKingXu1s

Reported in #25 that a natural-language stop request did not interrupt an iMessage task; Poki now replies to mid-task messages and points to /stop.
ScottH1122
ScottH1122

Reproduced two Agent bugs in #27 and #28, then merged seven fixes and test repairs, from cancelled input locks (#102) to invalid touch coordinates (#136).
jiahuipaung
jiahuipaung

Fixed in #34 a RemotePairing connection that died when the iPhone's LAN address changed (#30); a real iPhone reconnected in 768 ms.
Zeno6898
Zeno6898

Field-tested the iPhone app over cellular and from Windows in #35 and #40, which led to the Wi-Fi setup note (#138); reported #162.
scy7796
scy7796

Fixed taps that failed every time over RemotePairing from a Windows host in #39; 5 of 5 taps then worked.
foshanfm
foshanfm

Ran an insurance-terms check on a real iPhone over Tailscale in #42; the report shaped clearer USB errors and a per-session transport switch.
xiaweiyi713
xiaweiyi713

Recorded demo videos of Poki driving a real iPhone, so new visitors can see what it does before installing anything.
f*******
f*******

Added OpenCode Go as a model account in the iPhone app in #68, with its own Keychain credential and independent model choice.
owensn951954688
owensn951954688

Posted a full timeline of Runner pairing failing after 25 idle minutes in #69; Setup now points to Loopback and Pairing (#70).
kira-ariaki
kira-ariaki

Made batch calls report an ambiguous device instead of crashing (#74), added POKI_MCP_DEVICE (#75) and an optional per-task approval gate (#77).
Purelite
Purelite

Fixed pairing setup sending people to the wrong Settings page, so the Developer Mode and UI Automation steps now open the right one (#137).
heyallencao
heyallencao

Fixed screen reads that ran past their call deadline in #139, with a regression test for consistently slow runner responses.
whiteluw
whiteluw

Contributed #326 to avoid a 3D bear startup crash on iPhone.

Special contributors

yulunRyanw
yulunRyanw

Sent a full set of interface designs for the 0.4.0 redesign, from the chat and Live Activity to Settings and a first run (#250, #256 to #268); they shaped the direction of the new interface.

Thanks

Thanks to everyone who opened an issue or pull request. Your feedback and fixes make Poki better.

ZhehanZhang
ZhehanZhang
carrotciallo
carrotciallo
Dreaminmaster
Dreaminmaster
edge369
edge369
foshanfm
foshanfm
f*******
f*******
guangtouge82
guangtouge82
heyallencao
heyallencao
htx996
htx996
igc110
igc110
iTry
iTry
jiahuipaung
jiahuipaung
kilingzhang
kilingzhang
kira-ariaki
kira-ariaki
lunar-me
lunar-me
makirqi-alt
makirqi-alt
mawenhao1028
mawenhao1028
oasis979559-alt
oasis979559-alt
owensn951954688
owensn951954688
PeterKingXu1s
PeterKingXu1s
Purelite
Purelite
ScottH1122
ScottH1122
scy7796
scy7796
wanghao-SunSky
wanghao-SunSky
whiteluw
whiteluw
windywendyday
windywendyday
xiaweiyi713
xiaweiyi713
yulunRyanw
yulunRyanw
zcyoung2000
zcyoung2000
Zeno6898
Zeno6898
zqy5608
zqy5608

Other tools

Poki MCP connects a computer's agent to an iPhone or the iOS Simulator; this earlier tool is no longer updated.

Poki Agent is the terminal agent with iMessage and Telegram channels; setup and usage remain in the linked guide.

Disclaimer

Poki is an independent open source project. It is not affiliated with, or endorsed by, Apple, OpenAI, or the makers of any app or website it operates. iPhone is a trademark of Apple Inc.

Automating third-party apps and websites may violate their terms of service. Decide for yourself whether to use Poki with a given service. You are responsible for what it does on your device and accounts, including messages it sends, changes it makes, and any account restrictions that result.

Poki is provided "as is", without warranty, as set out in the AGPL-3.0 license.

License

Poki's code is open source under the AGPL-3.0-only license.

The Poki bear, the app icon and Poki's other artwork are not covered by that license. You can use screenshots to write about Poki; a fork needs its own name and artwork. See BRAND.md.

Copyright (c) 2026 Joseph Zhou (周瑟夫) and contributors. Open-source dependencies and third-party assets retain their respective licenses; see THIRD_PARTY_NOTICES.md. To contribute, see CONTRIBUTING.md.

Acknowledgments

See third-party notices for the open source dependencies and assets used by Poki.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-14