POCKETHAM
locked server? hand PocketHam the key. once.
http://127.0.0.1:8000. Use the port shown next to Needs an API key.50 seconds: chat, an agent asking first, ComfyUI, the terminal and files, all on a home computer. Get PocketHam on the App Store.
PocketHam finds local AI servers on your computer by itself. When a server is locked with an API key, PocketHam can see that it is there but isn't allowed to list its models, so there is nothing to chat with yet. You will see it in two places:
Adding the key above takes about a minute and you only do it once.
The key is whatever was set when the server was started. PocketHam can't look it up for you, on purpose.
llama-server): the value after --api-key in the start command, a line in the file named by --api-key-file, or the LLAMA_API_KEY environment variable.--api-key, or the VLLM_API_KEY environment variable.LITELLM_MASTER_KEY, or master_key in its config file), or a virtual key you created for PocketHam..env file for one of the names above.No. The key is saved on the computer and stays there. Your iPhone only receives the server's name and its list of models, and your chats travel end to end encrypted between the phone and that computer. Remove the server in the same place any time and the key is gone with it. More on the privacy page.
For PocketHam, no. It talks to your AI server on the computer itself, so a server that only listens on that computer (127.0.0.1) is already closed to everyone else, and your phone reaches it through PocketHam's encrypted connection. A key earns its keep when the server is open to your network, for example so another computer can use it. If that is your setup, keep the key and add it as above.
Add a server by hand is also how you add an AI server PocketHam can't see by itself: one on another computer on your network, or one behind a proxy. Type its address, add a key if it has one, and it joins the list.
More: Ollama and LM Studio on iPhone · Strata on iPhone · ComfyUI on iPhone · Claude Code and agents on iPhone · Your terminal on iPhone · PocketHam vs Tailscale · Local AI in CarPlay · Support