Skip to content
Projects

About

DSH iOS mobile version: run DeepSeek Harness natively on iPhone and iPad with a fully native interface—no computer or server required.

Web & App Development

How these counts are measured

Measured star growth

in 24h
+6
in 7 days
+54
in 15 days
+136
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Fish Pocket mascot: a winking whale girl

Fish Pocket

DSH (DeepSeek Harness) running on your iPhone and iPad, with a fully native interface

Runs on its own, with no computer, no server and no web wrapper. The engine runs inside the app, and every screen is rebuilt in SwiftUI for a native experience on both iPhone and iPad.

It matches the official DSH Web UI feature for feature, and the agent can also use what your iPhone already has: Calendar, Reminders, Health, Photos and Maps.

Four more big features: Phone control, where the agent taps through other apps for you; Your own tools, a little tool for your Home Screen from one sentence; Bot mode, a standing team of Bots with a native interface; and Remote control, for the Codex, Claude Code and DSH sessions on your computers and servers.

Want an agent in your pocket too? Download on the App Store, and a ⭐ helps. To try new versions first, join the TestFlight beta.

Website · 中文

See it work

Finding cc-safety-net in the plugin market, installing and enabling it; back in the chat, the agent tries to run git reset --hard and the plugin blocks it
Plugin market
Install a safety-net plugin on the phone, and a destructive command gets blocked
One sentence makes the agent add a review meeting to the system Calendar and create a reminder; the event then shows in the Calendar app
Device capabilities
Say it once: the meeting is in Calendar and the reminder is set
Going to the Home Screen while a task runs: the widget and the Dynamic Island show the session in progress, and tapping the widget returns to it
Widgets and Dynamic Island
Tasks keep running in the background, with progress on the Home Screen
The agent is asked to open Settings and switch the appearance to Dark; through iCTRL it goes to the Appearance page in Settings and taps Dark, the whole phone turns dark, and it returns to Fish Pocket to report, with a recording of what it did under the message
Phone control
Say it once: it taps through Settings, comes back to tell you, and attaches a recording
The agent is asked to search Bilibili for cats in the built-in browser; a glow and a pointer show on the page while it scrolls and switches to sorting by views, then it lists the three most-watched videos back in the chat
Built-in browser control
It browses sites like Bilibili and Douyin for you and brings the highlights back to the chat

Creating a Bot and picking its look and color; asking it in chat for today's tech news, its avatar moving while it searches, then three stories coming back; finally the connectors page, listing services such as GitHub and Notion
Bot mode
Make a Bot, hand it a task, and it searches the web and reports back; connect the services you use once

Two Fish Pocket windows side by side on iPad, each running its own session: the left adds a leaderboard to a snake game, the right initializes a Git repository and commits
Multiple windows on iPad
Two windows side by side, each with its own session: one edits a game, the other commits code

On a closed iPhone Duo, the agent is asked on the cover screen to print this month's calendar with Python; unfolded, the same session keeps running on the inner screen with the session sidebar beside it, and ends with a calendar that marks the weekends
iPhone Duo
Start a task on the cover screen, unfold, and the same session keeps running with the sidebar beside the chat

A task is sent on iPhone, which then goes back to the Home Screen; on the Apple Watch beside it the mascot first shows it is working, then that it waits on you. The approval is opened and allowed on the watch, the task carries on, and a card pops up on the watch when it is done
Apple Watch
Put the phone down and glance at your wrist: approve from the watch, and get a tap when the work is done

These are recordings of the app running, with waits cut or sped up. They show the Chinese interface; the app also comes in Traditional Chinese, English, Spanish, Japanese and Korean.

What it does

  • Uses what your iPhone already has. The agent checks your calendar, adds reminders, reads health data, looks up contacts and searches maps, each one turned on by you. See Device capabilities.
  • Phone control. With the open-source iCTRL installed, the agent can open other apps and tap, type and read the screen for you, then come back to the conversation with the result, with a recording of what it did in the chat. It works on iPhone and iPad. See Phone control.
  • Make your own tools. Ask the agent in a chat for a little tool or game; when it is done it shows up under Tools, opens with a tap, and can go on your Home Screen. See Make your own tools.
  • Bring over your DeepSeek chats. Export your chat history on the DeepSeek website, tap "Import DeepSeek chats" on the new-session page, and your old conversations, with their reasoning and images, land in the session list, ready to pick up.
  • Bot mode. A standing team of Bots. Each Bot has its own look, memory and working folder; chat with one, put several in a group, or let them start work on a schedule. The backend is the open-source DS Bot, and the interface is rebuilt natively. See Bot mode.
  • Remote control. Manage the Codex, Claude Code and DeepSeek Harness sessions on your computers and servers from the phone, in the same session list as the sessions on the device: follow their progress, keep the conversation going, answer approvals, stop a run. See Remote control.
  • Everything the official Web UI does. Chat, tool calls, file editing, search, plan mode, approvals, subagents, agent teamwork, scheduled tasks and plugins: what the official DSH Web UI can do, this can do. Pick Creator mode for a new session and the agent writes plugins for you.
  • A fully native interface. Chat, approvals, the workbench, plugins and settings are all rebuilt in SwiftUI and designed for iOS, not a web page in a WebView. The home screen is the system tab bar: Sessions, Bots, Tools, Explore and Settings, one tap each. Dark mode is supported: follow the system, or pick light or dark in Settings. The official Web UI is still there in Settings if you want it.
  • A terminal that works. Built-in bash, node, pnpm, python3, pip, git and ffmpeg, plus rg, jq, curl, sed, awk and other everyday commands. Node, Git, Python and FFmpeg run as native code with no emulator in between, so they are far faster than Linux emulators on iOS (iSH, UTM SE).
  • Built-in Python. Python 3.15 is embedded in the app with the full standard library. pip install works for pure-Python packages, and so does venv. Packages with compiled extensions (numpy, pandas and the like) do not install yet.
  • Built-in Git. Statically linked libgit2, no child processes. clone, commit, branch, merge, stash, pull, push and the rest of everyday git work, with output that matches real git so the agent reads it as usual. Private repositories authenticate over HTTPS with a token.
  • Built-in FFmpeg. ffmpeg and ffprobe are compiled into the app. They read nearly every audio and video format (iPhone HEVC video, MKV and WebM included), extract frames and audio, cut and convert, and every built-in FFmpeg filter works. H.264 and HEVC encoding uses the phone's hardware encoder. There is no x264, VP9 or MP3 encoding.
  • DSH plugins. Install and manage DSH plugins on the phone, ready to use, no computer involved. Fish Pocket provides no plugin market: Index Sources lists two third-party sources as examples, which you can turn on after judging them yourself, and you can add sources you trust or install pure JavaScript plugins straight from npm.
  • A workbench. Terminal, file preview, built-in browser and change review in one panel. The built-in browser has tabs, and the agent can work web pages directly: tap, type, take screenshots, make requests with the page's sign-in, and upload and download files.
  • Voice input and read-aloud. Hold to talk and let go to send the transcribed text, recognized by DeepSeek or Volcano Engine; replies can be read aloud with DeepSeek's voices, female or male. Both use your own API key.
  • Made for iOS. Dynamic Island and Lock Screen Live Activities, Home Screen and Lock Screen widgets, a Control Center button, Siri and Shortcuts, sharing from WeChat and other apps into a new conversation, a Bot or a group chat, sharing a few turns of a conversation as one long image (keys masked), and tasks that continue in the background.
  • Made for iPad and iPhone Duo too. The system's adaptive tabs (a top tab bar or a sidebar), the session list beside the chat, a side workbench, multiple windows, file drag and drop, and keyboard shortcuts. On iPhone Duo, use the outer screen when it is closed and the full inner screen when it is open, without the session stopping.
  • More private. Sessions and workspaces stay on your device.

Model calls still need a network connection. Use a DeepSeek account or an API key, or, without either, sign in to a Fish Pocket account with Apple or a phone number and chat on credits bought in the app, charged by usage and never expiring (App Store and TestFlight builds only).

Device capabilities

The engine runs on the phone, so the agent can use what your iPhone already has. Say "dentist at 3 pm tomorrow, put it in my calendar and remind me an hour before", and the event and the reminder show up in Apple's own apps.

Calendar · Reminders · Alarms · Contacts · Health · Photos · Files · Music · Location · Maps · Smart Home · Mail & Messages, plus on-device recognition such as image reading and transcription.

You turn on each one yourself under Explore → Connectors → Device capabilities (in the sidebar on an iPad before iOS 18), and the agent cannot use what is off. Once on, plugins you install can use it too, and there is a record of what was used.

Phone control

With the open-source app iCTRL installed, the agent can work other apps for you: add up a bill in Calculator, find a switch in Settings, put a dish in the cart of a food delivery app. It reads the screen before it acts and checks that the screen changed after every tap; anything device capabilities can do, it does without touching the interface.

  • It asks before what matters. It always asks before paying, deleting or sending a message for you, and leaves passwords, verification codes and human checks to you. When it is done or needs you, it switches back to Fish Pocket first.
  • Stop it anytime. While it works, iOS shows "Automation Running" at the top of the screen; press both volume buttons together to stop it.
  • Only on this phone. iCTRL's service listens on the device only; keep its built-in remote access off. What the agent sees in other apps goes with the conversation to the model provider you chose.
  • See what it did. While the agent works other apps, it records the screen and puts the video in the chat, played back at 2× by default; sharing it makes a video in a Fish Pocket frame.

It is an optional advanced feature, on iPhone and iPad. iCTRL is a third-party open-source app, not provided by Fish Pocket, and needs iOS 17.4 or later, Developer Mode and sideloading; a free Apple ID is enough, and the first setup takes a computer once. When Phone Control under Explore (in the sidebar on an iPad before iOS 18) shows Running, it is ready. For every step, see the setup guide on the website.

Make your own tools

Say "make a countdown to New Year" in a chat, and the agent writes the page; it shows up under Tools, opens with a tap, and can go on your Home Screen. Little tools, little games, a simple ledger: if it is not quite right, ask for changes in the same chat.

  • Opens instantly. You open the finished version, with no compiling and no engine to start; while the agent is halfway through a change, you still get the last finished one.
  • Kept apart. Each tool has its own storage, deleted along with it; it can go online but cannot reach other data on the phone or the device capabilities.
  • Many ways in. The Tools tab, cards in the chat, the Tools widget and Shortcuts all open it.

Start with the built-in countdown, Pomodoro timer and fruit memory game.

Phone control is built on iCTRL; thanks to OpenMinis for open-sourcing it.

Bot mode

A standing team of Bots in your pocket. Each Bot has its own look, memory and working folder: chat with one to hand it a task, put several in a group to talk things over, or give one a schedule and let it start work on time. Its avatar moves with what it is doing, so you can see at a glance whether it is thinking, searching or waiting on you.

Connect services such as GitHub and Notion once under Connectors, and both ordinary conversations and Bots can use them. Tap Share in WeChat, Photos or Safari, and the content can go straight to a Bot or a group chat.

The backend is the open-source DS Bot. Fish Pocket only talks to its API: creating Bots, chats, group chats, scheduled tasks and connectors are all rebuilt natively in SwiftUI, with no need to open its web version.

Remote control

The agents on your computers and servers are in reach too. Sign in to Agents Anywhere and the Codex, Claude Code and DeepSeek Harness sessions on those machines appear in the same session list as the sessions on the device: follow their progress, keep the conversation going, answer approvals, stop a run, or start a new session on that machine. The Lock Screen, Dynamic Island and widgets treat remote sessions the same as local ones.

On a personal computer, install the Agents Anywhere desktop app and sign in from Fish Pocket with a QR code; no public IP needed. A cloud server without a desktop runs its Connector instead. The phone and the machine talk through an Agents Anywhere server, either its cloud service or one you host. It is optional: nothing happens until you sign in, and sessions on the device stay on the device. For the steps, see the remote control guide (in Chinese).

Compared with the official DSH Web UI

The features match the official DSH Web UI: what it can do, this can do, with the interface rebuilt from scratch in SwiftUI and adapted separately for iPhone and iPad. On top of that come things the official client does not have: device capabilities, tools you make yourself, the Dynamic Island and Lock Screen Live Activities, widgets, Siri and Shortcuts, tasks that continue in the background, multiple windows on iPad, phone control, Bot mode with a native interface, and remote control.

Quick start

To install it, you need iOS 17 or later:

  • App Store (recommended): download on the App Store. Every App Store version has to wait for Apple's review, so it lags behind TestFlight and this repository.
  • TestFlight (new versions first): open the TestFlight beta link on your iPhone or iPad. New versions land here first and stay in step with this repository.

To build it yourself, you need macOS, Xcode 27 or later, Node 24 and xcodegen, plus cmake or uv to build libgit2. Filling the screen on iPhone Duo takes Xcode 27.1 or later: a build from an earlier Xcode runs there at the size of an ordinary iPhone.

git clone https://github.com/imsai-sh/fish-pocket.git
cd fish-pocket && scripts/run-sim.sh

The script downloads nodejs-mobile and Python, builds libgit2 and FFmpeg, assembles the engine, then installs and runs the app on a simulator. The default device is iPhone 17 Pro; set SIM_DEVICE to choose another.

To run on a device, replace com.wsw.dsh-ios in app/project.yml and scripts/run-device.sh with your own bundle ID, then run:

DEVELOPMENT_TEAM=<your team id> scripts/run-device.sh

How it works

iOS does not let apps create child processes or run downloaded binaries. Instead of emulating a Linux machine, this project embeds runtimes such as Node and Python in the app as native code and swaps DSH's "execution world" through the engine's own service seams. Not a single engine file is modified.

What is embedded natively:

Component How it is embedded What the agent gets
Node 24 (nodejs-mobile) A prebuilt dynamic framework the engine runs on; node and pnpm each get a worker thread The engine itself, node, pnpm, pnpx
Python 3.15 (the official python.org iOS build) A dynamic framework; each Python process is a subinterpreter on a thread of its own python3, pip, venv
libgit2 1.9 Statically linked, called through N-API git
FFmpeg 9.0 Built from the official source as a dynamic framework (LGPL); each run is a thread, one at a time ffmpeg, ffprobe
System frameworks (ImageIO, Vision, EventKit, HealthKit and more) Bridged through N-API Image handling and device capabilities

iOS allows no child processes, so these runtimes' "processes" are threads in the app, each with its own pipes, working directory and exit handling. They share one view of the filesystem (native/root), so they see exactly the files the engine sees.

Fish Pocket layers: the SwiftUI app on top talks to the DSH engine and its plugins in the middle over local HTTP; at the bottom the iOS compatibility layer runs commands in embedded runtimes, and its native bridge hands calls to iOS frameworks, or back to the app when they need its interface

See all architecture diagrams (in Chinese) →

Plugin compatibility

We took the 50 most-downloaded community DSH plugins as a sample and ran each one through install, enable, cold start and removal on the iOS engine. This is only a sample, not a list of what's supported: other plugins can be installed too.

Result Plugins
Work right away 42
Work after allowing or skipping an install script, pinning a version, or restarting the app 6
Not working yet 2

"Work" means the engine loads the plugin. We did not try each plugin's features. See #18 for per-plugin results.

FAQ

What is Fish Pocket?

Fish Pocket is an open-source iOS app that puts the whole DeepSeek Harness (DSH) agent engine on your iPhone and iPad and runs it on the device. There is no computer to connect and no server to rent, and the interface is rebuilt natively in SwiftUI.

How is Fish Pocket different from the official DSH Web UI?

The features match: what the official Web UI can do, Fish Pocket can do. The differences are that the engine runs on the phone or tablet itself, with no computer left on; the interface is rebuilt in SwiftUI for a native experience on iPhone and iPad; and it adds device capabilities, the Dynamic Island, widgets, Siri and multiple windows on iPad, none of which the official client has.

Do I need to keep a computer running?

No. Remote clients need a computer that stays on and online. Fish Pocket runs the engine inside the app, so your phone is enough. Only model calls need a network connection.

Is Fish Pocket free?

Yes. The app is free and the code is open source under the MIT license; commercial use needs authorization first, see License. Model calls can use your own DeepSeek account or API key, and the model provider bills you directly, not Fish Pocket. Optionally, in App Store and TestFlight builds, you can sign in to a Fish Pocket account and buy credits.

Where is it available?

Fish Pocket is on the App Store. If you want new versions first, the TestFlight beta is also available.

Are my conversations and code uploaded?

Not to us unless you sign in to a Fish Pocket account. Sessions and workspaces stay on your device, and model requests go straight to the provider you choose. See the privacy policy.

When you chat on Fish Pocket credits, requests pass through the Fish Pocket servers to the provider of the DeepSeek models; to comply with the government's security assessment rules, the servers have to keep the text of the messages you send and access logs for six months, but not the model's replies, and the message text is also sent to Tencent Cloud for a content safety review; see the privacy policy.

Remote control is the exception, and only once you sign in to it: sessions on your computers travel through an Agents Anywhere server (its cloud service or one you host). Sessions on the device are not affected. For connecting a computer or a cloud server, see the remote control guide (in Chinese).

Can the agent see my calendar, health data and photos?

Only after you turn on that capability under Device capabilities. What is off it cannot use. When a capability is used, what it reads is sent with the conversation to the model provider you chose. Health, Contacts and Photos are read-only.

Does it only work with DeepSeek models?

It uses DeepSeek by default, with either a DeepSeek account or an API key, and you can configure other model providers or use Fish Pocket credits.

Is Fish Pocket made by DeepSeek?

No. It is an independent open-source community project, not affiliated with, authorized by or endorsed by DeepSeek.

More answers on the website.

Roadmap

  • Sample-test compatibility of popular community plugins
  • English for the native UI, on a framework ready for more languages
  • Spanish UI (#24), with the UI language switchable in Settings
  • Japanese and Korean UI (#120)
  • Traditional Chinese UI, worded for Taiwan
  • Define plugin compatibility tiers and an adaptation guide (#4)
  • Bundle a third-party plugin store (#5)
  • Let the agent use the iPhone's device capabilities: Calendar, Reminders, Health, Photos, Maps and more
  • Built-in Python 3.15, with pip and venv
  • Built-in FFmpeg: ffmpeg and ffprobe
  • Remote control: manage the Codex, Claude Code and DSH sessions on your computers and servers from the phone, with the same Lock Screen, Dynamic Island and widgets as sessions on the device (through Agents Anywhere)
  • Move the bash interpreter off the engine thread
  • Bot mode: hand tasks to the agent in your pocket from a chat
  • Phone control: the agent taps through other apps for you, through iCTRL
  • Your own tools: make little tools and games in a chat and put them on the Home Screen
  • Voice: hold to talk, and have replies read aloud
  • Share sheet: tap Share in WeChat, Photos or Safari to send text, links, photos and files to a new conversation, a Bot or a group chat (#57)

Community

Join us on Discord.

Contributing

Issues and PRs are welcome. Have your agent read CONTRIBUTING.md.

Credits

Special thanks to DSH Go, which inspired us to build this iOS version.

Fish Pocket also stands on the shoulders of these projects.

Used directly:

  • DeepSeek Harness: the engine, and the reason any of this exists
  • DS Bot: the backend of the Bot feature (the standing team of Bots, group chats, memory and scheduled tasks). Thanks to Fei2411 and the community contributors
  • nodejs-mobile and its digidem fork: Node 24 on iOS
  • CPython: the official python.org iOS build, Python inside the app
  • just-bash: a bash interpreter written in TypeScript
  • libgit2: git inside the app
  • FFmpeg: audio and video inside the app, used as a dynamic framework under the LGPL
  • SwiftTerm: the terminal view
  • Agents Anywhere: the open-source workbench remote control talks to; the desktop side and the server are its own

Ideas we learned from:

  • a-Shell: proof that iOS can have a genuinely useful local terminal
  • iCTRL: the open-source app phone control talks to, which taps, types and reads the screen for the agent; phone control would not exist without it
  • page-agent: its page controller is how the agent reads, clicks and types in the built-in browser, and the glow, pointer and status panel on the page while it works come from it too
  • OpenMinis: an AI agent that runs on the phone; our device capability categories and permission levels follow its design

Thanks also to the DSH community, whose fan works gave us the "big fat fish" nickname. The whale girl mascot comes from the original character by 上善无形 and the maid redesign by ZipZipPipe. Third-party licenses are in THIRD_PARTY_NOTICES.md.

Author

Built by sai. More at imsai.cc.

Other open source projects:

License

Use it yourself however you like, with no restrictions. Download, build, read and modify the code for your own use without telling anyone. The same goes for pull requests to this repository.

The code is MIT. Three additional terms apply only when you use it commercially or publicly release a modified version:

  1. Get authorization before commercial use. Selling Fish Pocket or a modified version of it, charging for copies, adding in-app purchases or advertising, or including it in a paid product or service needs written authorization from the author first. Open an issue to ask. Doing your own work with the app is not commercial use.
  2. Open an issue before publishing a modified version. Open an issue saying what you changed, what it is for and how you plan to distribute it.
  3. Say where it came from, and use your own name. A modified version must state that it is based on Fish Pocket and link to this repository, use its own name and icon, and not be released as the official version.

The exact wording is at the end of LICENSE.

The mascot images (app icon, launch image and README header) are not covered by MIT. They are based on other people's work and used under CC BY-NC-SA 4.0, so commercial use is not allowed. Even with commercial authorization, replace those images first. See THIRD_PARTY_NOTICES.md.


This is an independent community project. It is not affiliated with, authorized by, or endorsed by DeepSeek. The name nods to "big fat fish" (大肥鱼), a community nickname for DeepSeek. The mascot is based on the community's fan-made whale girl, with a new expression generated by AI. The original character's copyright belongs to its creators, 上善无形 and ZipZipPipe. It does not use the DeepSeek logo.

Explore related projects

Loading…