2026-11-26 15:39 UTC

Apple Pie releases an open-source Android coding-agent harness

state: seedheat: mediumuncertainty: mediumrelevance: mediumcoding-agents android-development agent-orchestrationApple Pie

What is this?

Apple Pie is an MIT-licensed, open-source Go terminal UI and CLI from the Apple-Pie-AI GitHub project. Its repository says it is available for macOS and Linux and uses a developer’s existing Claude Code subscription or API key. The project describes workflows for turning tickets into pull requests and handling review comments, with each run isolated in a Git worktree and a dashboard for monitoring agents and approving decisions. Android-specific features include Gradle/build verification, emulator or device coordination, and handoff to Android Studio. The evidence is the project’s own repository and a Show HN post dated November 20, 2026; there is no independent evidence here about adoption or real-world performance.

Why it matters

This packages coding-agent work into repeatable Android development workflows rather than offering a general-purpose new model. If it works as documented, developers can delegate ticket implementation and review-comment fixes while keeping changes isolated and retaining approval over plans, commands, diffs, and PRs. Android build and device coordination address practical gaps in generic agent workflows. Its reach is limited for now: it requires Claude Code, supports macOS and Linux, and the supplied evidence does not establish uptake or effectiveness.

Current assessment

The project’s GitHub repository presents Apple Pie as an available MIT-licensed terminal harness for Android development; the Show HN post announces it as open source. The repository describes parallel ticket workflows in separate Git worktrees, a control pane, configurable models by workflow stage, spend limits, review gates, and PR creation. It says changes must pass fresh verification before a PR is opened, review-comment fixes are previewed, and the tool does not merge PRs. Android-specific functions include discovering and running project build and test commands, coordinating access to one emulator or USB device at a time, and opening worktrees in Android Studio. These are project-described capabilities, not independently validated results. The tool currently depends on Claude Code and its existing subscription or API access; the post also explicitly says it only works with Claude Code. The repository lists macOS and Linux support, not Windows. No independent benchmarks, adoption figures, or user evaluations are supplied, so practical reliability and impact remain uncertain.

Measured heat

now 0 pts/hpeak 3 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 170h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-19 13:00⭐ origin echo-reconstructedThe repository is the original launch artifact; its README describes Apple Pie as “A harness for Android Development” and says it runs every
Apple-Pie-AI on github (echo) · attributed from hn.story.50562696
—
11-19 16:58first on hacker news · published · +4.0hShow HN: An open-source harness for Android devs in the terminal
gerardosuarez
—
11-19 16:58amplified on hacker news 👑hn.story.50562696
gerardosuarez
peak 1 · 0 comments · 103% of case engagement
11-19 17:21our radar first saw it · +4.3hdiscovery anchor: hn.story.50562696—
pace: p13 vs 2096 stories at the 168h mark (now 170h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: An open-source harness for Android devs in the terminal
Retrieved article excerpt

Open article · Retrieved 2026-11-19T17:22:47.758465+00:00

[Apple Pie](https://github.com/Apple-Pie-AI/pie-tui/blob/main/docs/assets/apple_pie_logo.png)

**A harness for Android Development**  
*Run everyday Android dev workflows with coding agents, each in its own git worktree, and tracking them all from one control pane.*

[Latest release](https://github.com/Apple-Pie-AI/pie-tui/releases/latest) [Downloads](https://github.com/Apple-Pie-AI/pie-tui/releases) [Platform: macOS and Linux](https://camo.githubusercontent.com/8c943a2b23f9957e8ef4b4167dd3c8be9e5a543212d2d819206a58ea1f52234f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d6d61634f532532302537432532304c696e75782d626c7565) [License: MIT](https://github.com/Apple-Pie-AI/pie-tui/blob/main/LICENSE)

New here? Start with [First steps](https://github.com/Apple-Pie-AI/pie-tui#first-steps).

Apple Pie is a lightweight TUI built in Go that uses your existing Claude Code subscription to run the workflows Android developers repeat every day, like turning a ticket into a pull request, addressing review comments, and reworking a change. Each workflow runs in its own Git worktree, so multiple workflows can run side by side without touching your main checkout. A single control panel shows what each agent is doing and pulls you in only when developer input is needed.

## Start now

macOS and Linux.

```
curl -fsSL https://raw.githubusercontent.com/Apple-Pie-AI/pie-tui/main/install.sh | bash
```

[apple-pie-review-mobile](https://private-user-images.githubusercontent.com/6794360/664340553-8c55bba6-e774-4d1f-8b27-d34b6423e788.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxMDkyNjcsIm5iZiI6MTc5NTEwODk2NywicGF0aCI6Ii82Nzk0MzYwLzY2NDM0MDU1My04YzU1YmJhNi1lNzc0LTRkMWYtOGIyNy1kMzRiNjQyM2U3ODguZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTlUMTcyMjQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTA2N2M0ZDEzYzY1YjU1ZGI2NjBjYjg1Y2ZkYTgwMDVkMzc1YzEzMjA5NWQ5ZmRlOGQ2Yzk2ZmY0NWY4ZWVkNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGZ2lmIn0.RYZuJBseGf5Jl-bwQQNUhaEb_Qntjtlbw6QKnkD7ksM)

## Everything in one control pane

From the apple pie dashboard you:

- **From ticket to PR:** Give Apple Pie a ticket, review and iterate on the plan, then approve it to implement, verify, and open a PR following your branch and workflow conventions.
- **Handle review comments** Review and resolve GitHub comments without leaving Apple Pie. See each comment alongside its diff, choose which ones to address, and approve the fixes and replies before they're posted.
- **Review the diff** Review every changed file before anything is committed. Ask for changes directly in chat, right next to the code you're reviewing.
- **Take over when you want to** Open any worktree in Android Studio or jump directly into the agent's Claude Code session whenever you want to take control.
- **Choose the right model for each stage** Configure different models for planning, implementation, verification, self-review, and review-comment fixes, without manually switching between them.

The agents are in different stages in the dashboard:

- **NEEDS YOU** — a plan to approve, questions to answer, changes to review, comment fixes to preview, or a run that got stuck.
- **RUNNING** — agents planning, implementing, or verifying.
- **PR READY FOR REVIEW** — open pull requests. Moved to **NEEDS YOU** when the Pull Request has open comments.
- **CLOSED** — when a Pull Request is merged or closed, it appears here. The worktree is cleaned up.
- **STOPPED** — when you decide to stop an agent from the TUI or CLI. The worktree is cleaned up.

Agents keep moving until they hit a decision that actually needs a developer; then the row moves to NEEDS YOU. Everything is `↑``↓` to move, `enter` to act, `esc` to back out; `enter` on a row opens its menu.

See it in action solving PR comments:

[apple-pie-review-mobile](https://private-user-images.githubusercontent.com/6794360/664361427-1e985616-3179-40a1-b797-8779d789fc35.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxMDkyNjcsIm5iZiI6MTc5NTEwODk2NywicGF0aCI6Ii82Nzk0MzYwLzY2NDM2MTQyNy0xZTk4NTYxNi0zMTc5LTQwYTEtYjc5Ny04Nzc5ZDc4OWZjMzUuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTlUMTcyMjQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjRkNTY2NTFkZDU1ODE0NWQ2ZjJkZDQ0ZWFkOWIzNjU0YmY4MTYyZWM0NGU3OTU2ODllMGM0NjhmMWMxNjAxNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGZ2lmIn0.LAclqNPmocsrqhUfP5u-4b3u95wx_QqnmRioUQNB2wk)

## You stay in control

- **Isolated worktrees.** Every agent works in `~/.pie/worktrees/<ticket>`. Your main checkout isn't modified.
- **Plans can require approval.** Turn on the plan gate and nothing is written until you approve the plan.
- **Changes require approval.** By default, before anything is committed or pushed, you see every changed file and its diff.
- **Commands can require approval.** Anything outside your allowlist pauses the agent and asks you on the dashboard. Your Claude Code `ask`/`deny` rules still apply.
- **Builds must actually pass.** No fresh, successful verification, no PR. The one way around it is `--ship`, a human override for a fix you've checked yourself.
- **Review-comment fixes are previewed.** You see each fix's diff and the reply before anything is pushed or posted.
- **Nothing merges itself.** There is no auto-merge, no merge flag, and no code path that merges a pull request.
- **Apple Pie's own files never reach your PRs.** Plans, reports, and logs live under `~/.pie`; the agent's scratch directory is git-excluded and scrubbed before every commit.

How each workflow runs, every gate, and the full state machine are in [docs/workflows.md](https://github.com/Apple-Pie-AI/pie-tui/blob/main/docs/workflows.md).

## Built for Android

General coding agents don't know what verifying an Android change means. Apple Pie's stages do:

- **Your build, not a guess.** The agent discovers how *your* project builds and tests — Gradle tasks, multi-module and KMP projects, company build scripts — runs them for real, and self-certifies the result in a report Apple Pie checks for freshness, so a crashed run can't leave a stale "it passed" behind.
- **Unit vs. instrumented tests.** Decided at plan time, enforced at verify time.
- **One device, one agent at a time.** The dashboard's DEVICE section shows the emulator (always windowed) or USB phone Apple Pie uses, and which ticket's agent is on it right now: ticket, branch and worktree, plus who's next in line. Start it, switch it, or take it back from an agent from there or with `pie devices`. See [docs/devices.md](https://github.com/Apple-Pie-AI/pie-tui/blob/main/docs/devices.md).
- **Run app.** Build, install and launch the main checkout or any ticket on that device, the way Android Studio's ▶ does: deterministic Gradle and adb, the old app removed first, with an agent called once only to repair a step that failed, and what it learned replayed after that (`pie run-app`).
- **Android Studio handoff.** Open any agent's worktree in the IDE, and your hand-edits there count: the change is re-verified before it ships.

## Install

macOS and Linux. Windows is not supported.

```
curl -fsSL https://raw.githubusercontent.com/Apple-Pie-AI/pie-tui/main/install.sh | bash
```

Then `pie init` to configure your repo.

| Prerequisite | Why | Check with |
| --- | --- | --- |
| [Claude Code](https://claude.ai/download), authenticated | Every stage runs through `claude -p` | `claude --version` |
| `git` | Worktrees, branches, commits | `git --version` |
| [`gh`](https://cli.github.com), authenticated | Opens and tracks pull requests | `gh auth status` |
| [Android Studio](https://developer.android.com/studio) | Only for tickets that need an emulator | `pie doctor` |
| [Jira](https://github.com/Apple-Pie-AI/pie-tui/blob/main/docs/jira.md) | Optional — local `.md` tickets work without it | `pie doctor` |


Manual install

Download the binary for your platform:

```
# macOS (Apple Silicon)
curl -fsSL -o pie https://github.com/Apple-Pie-AI/pie-tui/releases/latest/download/pie_darwin_arm64
# macOS (Intel)
curl -fsSL -o pie https://github.com/Apple-Pie-AI/pie-tui/releases/latest/download/pie_darwin_amd64
# Linux (x86-64)
curl -fsSL -o pie https://github.com/Apple-Pie-AI/pie-tui/releases/latest/download/pie_linux_amd64
# Linux (arm64)
curl -fsSL -o pie https://github.com/Apple-Pie-AI/pie-tui/releases/latest/download/pie_linux_arm64
```

Then install it to your user bin (creates the folder, no `sudo`):

```
mkdir -p ~/.local/bin && mv pie ~/.local/bin/
```

If `~/.local/bin` isn't on your `PATH` yet:

```
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
```

On macOS, if the first run is blocked with `zsh: killed` or a Gatekeeper warning,
clear the download quarantine flag:

```
xattr -d com.apple.quarantine ~/.local/bin/pie 2>/dev/null
```

Versioned archives (`.zip` for macOS, `.tar.gz` for Linux) and a SHA-256 `checksums.txt` are attached to every release.

Prefer to build it yourself? See [Build from source](https://github.com/Apple-Pie-AI/pie-tui#build-from-source).

## First steps

Never run this before? Do these eight steps in order. Nothing here touches your repo or opens a PR until step 8.

**1. Check your prerequisites.**

```
claude --version && gh auth status && git --version
```

Claude Code has to have been launched and signed in at least once. `gh` should say *Logged in*. Android Studio only matters for tickets that need an emulator, so skip it for now.

**2. Install, then confirm the binary is on your PATH.**

```
curl -fsSL https://raw.githubusercontent.com/Apple-Pie-AI/pie-tui/main/install.sh | bash
pie --help
```

**Check:** `pie --help` prints the command list. If you get `command not found`, `~/.local/bin` isn't on your PATH — the installer prints the exact line to add for your shell.

**3. Configure it against your Android repo.**

```
cd ~/path/to/your/android-repo
pie init
```

The wizard asks, in order: **repo path** (pre-filled with your current directory — accept it), **branch pattern** (accept `{ticket}-{slug}`), **plan review gate** (say **yes** for your first few runs — it's the single best beginner default), **three optional models** (leave all blank to use Claude Code's defaults), **Anthropic API key** (optional — leave blank to use your logged-in `claude` session; if you do enter one it goes to the OS keychain, never the config file), and **telemetry consent**.

**Check:** `ls -l ~/.pie/config.toml` shows a `0600` file.

**4. Run the connectivity check.**

```
pie doctor
```

**Check:** the three required checks — git origin, `claude`, `gh` — pass. The optional ones (`adb`, `emulator`, AVD name) can fail for now; they only matter once a ticket needs instrumented tests.

**5. Write your first ticket as a markdown file.**

```
cat > ~/first-ticket.md <<'EOF'
# Add a TODO comment to the main Activity

Add a single `// TODO: hello from Apple Pie` comment at the top of the
app's main Activity class. Nothing else.
EOF
```

The ticket id comes from the **filename**: uppercased, with every run of non-alphanumeric characters collapsed to a dash. So `first-ticket.md` becomes `FIRST-TICKET`, and that id names the worktree, the log file, and the branch.

**6. Run it — safely.**

```
pie run ~/first-ticket.md --dry-run --review-plan
```

Five things make this safe to try: no Jira account is involved; `--dry-run` skips push and PR entirely, so nothing reaches GitHub; `--review-plan` stops the run *before a single line of code is written*; all work happens in `~/.pie/worktre
gerardosuarez10
🟧 echo.github ⭐The repository is the original launch artifact; its README describes Apple Pie as “A harness for Android Development” and says it runs everyApple-Pie-AI——

Interpretation history

Decision trace