# pocket/grammer — Local AI Agent Coder

> Local AI agent for generating code, websites, and apps on iPhone. (iPhone/iPad app by CHRISTOPHER MICHAEL STAATS.)

- Source: https://appshunter.io/ios/app/pocketgrammer/id6762562983 (this page in markdown: same URL + `.md`)
- Developer: [CHRISTOPHER MICHAEL STAATS](https://appshunter.io/developer/1894688360)
- Category: Developer Tools, Utilities
- Price: Free with in-app purchases
- Rating: 5.00/5 from 1 App Store ratings
- Age rating: 17+
- Requires: iOS 15.1 · 78 MB
- Languages: American English
- Released: 2026-07-08
- Data updated: 2026-09-13
- Monetization: freemium
- User reviews in markdown: https://appshunter.io/ios/app/pocketgrammer/id6762562983/reviews.md

## What is pocket/grammer?

Agent (AI coding)

- Plan mode: conversational clarify phase (capped rounds), then plan generation
- Plan lint gate — plans are validated before code mode; bad plans bounce back
- Deliberate Plan→Code handoff with banner in Agent tab
- Step-by-step plan execution (run remaining / per-step), per-step review cards
- Per-card Undo on agent file writes, backed by a shared step-history ledger (max 50 entries, per project)
- File tools: create, insert, delete, move, copy — with gated tool selection per message
- Image picker + clipboard attachments to chats; streaming responses with haptics
- Role models: separate plan/code models, tiered by device RAM, with user overrides

Models

- Local GGUF inference via llama.cpp (Metal GPU layer probing/splitting, auto thread count, sampling params, grammar-constrained tool calls)
- Model browser: recommended / downloaded / HuggingFace catalog with infinite scroll
- Download manager, custom model entry, per-model JSON sidecars
- BYOK: OpenAI-compatible providers, keys in SecureStore, effort levels, redaction
- IDE-compat server: OpenAI/Ollama-style endpoints (/v1/chat/completions, /api/chat, …) so external IDEs can use the phone's models

Workspace (mobile or desktop editor)

- File tree with open-file tabs (cap, dirty-close prompts), new/rename/copy/delete
- Drag-to-move files/folders (long-press to drag)
- Syntax highlighting for multiple languages, inline autocomplete suggestions
- Project-wide find, diagnostics bar, per-step undo/revert in editor
- JavaScript sandbox runner, HTML/app/image/doc preview via WebView
- Share/export files, error review screen for pasting errors to the model

Projects & connectivity

- Project create/import (document picker, clipboard), GitHub repo import (zip codeload with binary/junk filtering), project export/zip
- On-device HTTP server + WebSocket with per-install auth token
- Desktop client (Vite+React+Monaco) bundled into the app — phone serves the full desktop UI locally; desktop has Monaco editor, terminal panel, search panel, workspace history
- api-server backend: projects/files/run-stop/search/import endpoints, LLM agent chat (streaming), model management, preview route, billing/legal

## Key features

- Local AI code generation
- Website and app creation
- Agentic coding with file creation
- Project import and export
- Code preview
- Model selection from Hugging Face
- Private and secure on-device operation

## Pricing and in-app purchases

Base price: Free.

**One-time purchases**

| Purchase | Price | Type |
| --- | --- | --- |
| Desktop Client Unlock | $19.99 | one-time |



## Frequently asked questions about pocket/grammer

### What can pocket/grammer do?

pocket/grammer uses local AI on your iPhone to generate code, websites, and apps. It can create files and folders, import/export projects, and preview code before deployment, all without cloud servers.

### Is pocket/grammer free to use?

The core functionality of pocket/grammer is free. However, there is a desktop server client available for power users with a 7-day free trial.

### Does pocket/grammer have ads?

pocket/grammer does not contain advertisements, ensuring an uninterrupted coding experience.

### What devices does pocket/grammer support?

pocket/grammer is available for iPhone and iPod devices.

### How is pocket/grammer different from cloud-based AI coders?

pocket/grammer runs entirely on your iPhone, offering enhanced privacy and security as it does not use cloud servers or external databases.

### Can I use my own AI models with pocket/grammer?

Yes, you can use the recommended model or download your preferred model from Hugging Face to use with pocket/grammer.

### What is the age rating for pocket/grammer?

pocket/grammer has an age rating of 17+, indicating it is intended for mature users.

### When was pocket/grammer last updated?

pocket/grammer was last updated on July 8, 2026, with version 1.0.

## Version history (last 4 releases)

### 1.03 — 2026-09-09

- Bring Your Own Key (BYOK): Connect any OpenAI-compatible API key for cloud-powered coding sessions alongside on-device models. Keys are stored securely on your device.
- Supercharged Workspace: Drag-and-drop file moving, rename and copy, project-wide search, and a diagnostics bar to catch issues fast.
- Smarter Plan → Code pipeline: The agent now asks clarifying questions, validates its plan before writing code, and executes step-by-step with per-step review and undo.
- Improved undo & history: Stronger step history across the Agent and Workspace, so every AI edit can be reverted.
- Refreshed desktop experience: Pair your phone with your computer for a full desktop coding UI powered by your device's models.

### 1.02 — 2026-08-14

- Small models struggle with multi step tasks, so we’ve split the work between two modes: Plan and Code
- Two different modes, two different models. Switch between them on the fly
- Plan mode asks questions about what you want to accomplish, writes a plan and hands-off to the coder 
- Coder only needs to worry about implementation

### 1.01 — 2026-07-29

- Refined Agent behavior
- Improved UI
- Improved model loading
- Updated recommended models
- Unlocked more CPU threads
- Offloaded some work to GPU
- New app icon!

### 1.0 — 2026-07-08

No release notes.

---

*Data collected daily from the US App Store and indexed by [AppsHunter](https://appshunter.io/). User reviews are verbatim App Store reviews. Ratings, prices and chart positions refresh continuously; this snapshot is from 2026-09-13.*
